create_payment_link
Create a payment link in UYU for Uruguay via Mercado Pago. Buyer pays with cards, Abitab / Redpagos cash, Mercado Pago wallet. Returns a hosted checkout URL the buyer opens to pay — payment completes automatically, no confirm step. Bring your own credentials via HTTP header (x-mercadopago-access-token; free test credentials from mercadopago.com developers never move real money). Money always flows buyer→Mercado Pago→merchant; this service never touches funds.
Parameters5
| amount_uyu | number | required | Amount in UYU (decimals allowed), e.g. 500. Minimum 50. |
| description | string | required | What this payment is for (shown to the buyer, ≤200 chars) |
| customer_email | string | optional | Optional buyer email. |
| reference_id | string | optional | Your unique order reference (≤40 chars). Auto-generated if omitted. |
| success_url | string | optional | Optional https URL to send the buyer to after payment. |
Raw schema
{
"type": "object",
"properties": {
"amount_uyu": {
"type": "number",
"minimum": 50,
"maximum": 10000000,
"description": "Amount in UYU (decimals allowed), e.g. 500. Minimum 50."
},
"description": {
"type": "string",
"description": "What this payment is for (shown to the buyer, ≤200 chars)"
},
"customer_email": {
"type": "string",
"description": "Optional buyer email."
},
"reference_id": {
"type": "string",
"description": "Your unique order reference (≤40 chars). Auto-generated if omitted."
},
"success_url": {
"type": "string",
"description": "Optional https URL to send the buyer to after payment."
}
},
"required": [
"amount_uyu",
"description"
]
}