Submit payment details for a checkout
Submits card, Google Pay or Apple Pay payment details to process a previously created checkout. This initiates the payment flow which may include 3D Secure authentication.
id*stringThe unique identifier of the checkout
uuid"550e8400-e29b-41d4-a716-446655440000"Card, Google Pay or Apple Pay payment details
application/json- body
paymentMethod?"card"Pay with card details entered by the customer. Defaults to card when omitted.
"card""card"cardNumber*stringCredit/debit card number without spaces or dashes
"4111111111111111"expiration*stringCard expiration date in YYYYMM format
6 <= length <= 6"202812"CVC*stringCard verification code (3 or 4 digits)
"123"cardHolderName?stringCard holder name as the customer entered it, forwarded to Azul for dispute evidence
1 <= length"Juan Perez"cardHolderEmail?stringCard holder email as the customer entered it, forwarded to Azul for dispute evidence
email"juan.perez@example.com"browser?Display and runtime facts the checkout page reads from the cardholder browser, forwarded to Azul as part of BrowserInfo for 3D Secure risk analysis
Payment details received. The outcome comes from GET /checkout/{id}, also when the outcome of the sale is not yet known.
application/json- response
success*trueIndicates the payment details were received. The payment outcome comes from GET /checkout/{id}.
truecurl -X POST 'https://api.rapidopagos.com/checkout/550e8400-e29b-41d4-a716-446655440000' \ -H 'Content-Type: application/json' \ -d '{ "paymentMethod": "card", "cardNumber": "4111111111111111", "expiration": "202812", "CVC": "123", "cardHolderName": "Juan Perez", "cardHolderEmail": "juan.perez@example.com"}'{ "success": true}