Request body for creating a one-time payment link. You can redirect the user to the resulting URL to complete the payment, the payment will be processed by the Compago platform, and then the user will be redirected back to the homepage URL provided.
The amount to be charged for the one-time payment. Must be a positive number.
100
MXN, USD "MXN"
Optional external ID to track the payment in your system. Must be unique for each payment.
"tracking-id-from-your-system"
A description of the payment. This will be displayed to the user during the payment process.
"Lorem ipsum dolor sit amet"
The homepage URL of your application to link the user back to your application in case they cancel the payment or want to go back. This should be a valid URL that your application can handle.
"https://app.compago.com/"
The URL of your application to redirect the user back to after the payment is completed. This should be a valid URL that your application can handle.
"https://app.compago.com/"
Billing information for the one-time payment
Optional time-to-live in minutes for the payment link. Minimum 10 minutes, maximum 2,880 minutes (48 hours). Defaults to 48 hours if not specified.
10 <= x <= 28801440
Link successfully created