Create a new payment. Supports PIX, direct credit card charges for headless single-method CARD flows, hosted card checkout, and boleto. Requires an idempotency key.
API access token obtained from POST /oauth/token. Include as Authorization: Bearer {token}.
A unique string to ensure the request is processed only once. Must be unique per request. Valid for 24 hours.
100Link this payment to an existing product. If set, amount is optional and defaults to the product price.
Link this payment to an existing customer. For CARD and BOLETO, the linked customer must have name and CPF/CNPJ.
Payment amount. Required unless productId is provided.
0.01 <= x <= 1000000Accepted payment methods. Headless payments must use exactly one method.
1Available public payment methods.
PIX, CARD, BOLETO Supported currencies.
BRL hosted redirects the payer to a YuvexPay checkout page. headless returns method data directly for a single payment method. Headless CARD requires the card payload for direct credit card capture. Hosted or multi-method CARD flows continue through checkout/provider invoice URLs, where debit remains available.
hosted, headless URL to redirect the payer after payment (hosted mode).
URL to redirect the payer after successful payment completion.
Payment description shown to the payer.
500Your own reference ID (e.g., order number).
100Minutes until the payment expires (5-1440).
5 <= x <= 1440Inline customer data. For CARD and BOLETO, include at least name and CPF/CNPJ unless you use customerId.
Arbitrary key-value pairs attached to the payment.
Direct credit card charge payload. Allowed only for headless single-method CARD payments and required in that flow.
Payment created.