create_payment_link
Create a payment link in CRC for Costa Rica via ONVO Pay. Buyer pays with cards, SINPE Movil — via ONVO Pay. Returns a hosted checkout URL the buyer opens to pay — payment completes automatically, no confirm step. Bring your own credentials via HTTP header (x-onvo-secret-key; free test credentials from dashboard.onvopay.com never move real money). Money always flows buyer→ONVO Pay→merchant; this service never touches funds.
Parameters4
| amount_crc | integer | required | Amount in CRC (integer), e.g. 5000. Minimum 500. |
| description | string | required | What this payment is for (shown to the buyer, ≤200 chars) |
| customer_email | string | optional | Optional buyer email. |
| success_url | string | optional | Optional https URL to send the buyer to after payment. |
Raw schema
{
"type": "object",
"properties": {
"amount_crc": {
"type": "integer",
"minimum": 500,
"maximum": 100000000,
"description": "Amount in CRC (integer), e.g. 5000. Minimum 500."
},
"description": {
"type": "string",
"description": "What this payment is for (shown to the buyer, ≤200 chars)"
},
"customer_email": {
"type": "string",
"description": "Optional buyer email."
},
"success_url": {
"type": "string",
"description": "Optional https URL to send the buyer to after payment."
}
},
"required": [
"amount_crc",
"description"
]
}