Request body for creating a payment method. The customer will be directed to the checkout URL to securely save their card. A small verification charge is placed and then voided to validate the card.
Billing information for the payment method
Optional external ID to track the payment method in your system.
"customer_12345"
Amount in MXN used for the verification charge. This charge is placed and then voided. Defaults to $1 MXN.
x >= 0.011
How the checkout is displayed. LINK redirects the customer to a full-page checkout. EMBEDDED allows embedding in an iframe.
LINK, EMBEDDED Custom text for the checkout button (EMBEDDED mode only).
Custom hex color for the checkout button (EMBEDDED mode only).
URL where the customer is redirected after successfully saving their card. Compago appends id and externalId as query parameters.
"https://yourstore.com/cards/saved"
Time-to-live in minutes for the checkout link. Defaults to 2,880 minutes (48 hours).
x >= 12880