payment_method.detail.card.capture attribute as true, so the payment is captured automatically.
To test all possible transaction outcomes within Yuno in Sandbox, please refer to the following documentation for test data.
payment_method.detail.card.capture attribute as false. Please follow the steps below to implement a two-step flow:
X-Idempotency-Key. Check the Authentication page for more information.Your public API key from the Yuno Dashboard
Your private secret key (server-side only)
Your account identifier. The alias X-Account-Code is also accepted.
The checkout session ID from the create session response
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
{ "currency": "BRL", "value": 100 }ISO 3166-1 alpha-2 country code
^[A-Z]{2}$"BR"
Payment description
"Premium subscription - March 2026"
Number of installments (for card payments)
x >= 11
3DS authentication preferences
Your unique order reference. If not provided, inherits from the checkout session.
"order-12345"
Custom key-value pairs for storing additional information. Keys and values must be strings. Maximum 50 keys, each key max 40 characters, each value max 500 characters.
{
"order_source": "web",
"campaign": "spring-2026"
}Payment created successfully
Unique payment identifier
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Current payment status
SUCCEEDED, PENDING, DECLINED, REJECTED, CANCELLED, REFUNDED, PARTIALLY_REFUNDED, AUTHORIZED "SUCCEEDED"
{ "currency": "BRL", "value": 100 }"BR"
"order-20260301-001"
"2026-03-01T14:31:00.000Z"
"2026-03-01T14:31:02.000Z"
Individual processing attempts for this payment
Refund records associated with this payment
3DS authentication details, present for card payments
Custom key-value pairs set by the merchant
Decline details when status is DECLINED or REJECTED
ID of the associated customer record
Installment details if payment was split into installments