POST
Submit payment details for a checkout

Path Parameters

id
string<uuid>
required

The unique identifier of the checkout

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json

Card, Google Pay or Apple Pay payment details

cardNumber
string
required

Credit/debit card number without spaces or dashes

Example:

"4111111111111111"

expiration
string
required

Card expiration date in MMYYYY format

Required string length: 6
Example:

"122025"

CVC
string
required

Card verification code (3 or 4 digits)

Example:

"123"

paymentMethod
enum<string>
default:card

Pay with card details entered by the customer. Defaults to card when omitted.

Available options:
card
cardHolderName
string

Card holder name as the customer entered it, forwarded to Azul for dispute evidence

Minimum string length: 1
Example:

"Juan Perez"

cardHolderEmail
string<email>

Card holder email as the customer entered it, forwarded to Azul for dispute evidence

Example:

"juan.perez@example.com"

browser
object

Display and runtime facts the checkout page reads from the cardholder browser, forwarded to Azul as part of BrowserInfo for 3D Secure risk analysis

Response

Payment details received. The outcome comes from GET /checkout/{id}, also when the outcome of the sale is not yet known.

success
enum<boolean>
required

Indicates the payment details were received. The payment outcome comes from GET /checkout/{id}.

Available options:
true