CreateLinkRequest
Order details, idempotency key, price, and payment methods.
objectProperties
descriptionstringRequiredShown to the payer. Trimmed.
length 1 to 200externalReferencestringRequiredYour own reference, such as an order number. Returned with every settlement. Trimmed.
length 1 to 120requestIdstringOptionalA UUID v4 you choose; it becomes the link's
uuid. Reuse it to retry the same create.pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$localMethodsarray of stringOptionalCash methods the link should also accept, such as
whish. The ones your account may not offer are left out and listed inrefusedLocalMethods. Absent: crypto only.items at most 5no duplicateseach: pattern ^[a-z0-9_-]{2,40}$amountUsdstringOptionalThe price in dollars, from 0.50 to 1000000, as a decimal string (
"100","99.5"), never a JSON number. The Gateway Fee is yours: it comes out of what is counted and the payer never sees it. Absent: the payer chooses what to send.pattern ^\d{1,7}(\.\d{1,2})?$
JSON schema
{
"type": "object",
"additionalProperties": false,
"required": [
"description",
"externalReference"
],
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Shown to the payer. Trimmed."
},
"externalReference": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Your own reference, such as an order number. Returned with every settlement. Trimmed."
},
"requestId": {
"$ref": "#/components/schemas/Uuid",
"description": "A UUID v4 you choose; it becomes the link's `uuid`. Reuse it to retry the same create."
},
"localMethods": {
"type": "array",
"maxItems": 5,
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^[a-z0-9_-]{2,40}$"
},
"description": "Cash methods the link should also accept, such as `whish`. The ones your account may not offer are left out and listed in `refusedLocalMethods`. Absent: crypto only."
},
"amountUsd": {
"type": "string",
"pattern": "^\\d{1,7}(\\.\\d{1,2})?$",
"description": "The price in dollars, from 0.50 to 1000000, as a decimal string (`\"100\"`, `\"99.5\"`), never a JSON number. The Gateway Fee is yours: it comes out of what is counted and the payer never sees it. Absent: the payer chooses what to send."
}
}
}