Create Payment
Create a payment with Yuno. Supports various payment methods, card vaulting, and 3DS configurations.
capture: false inside the payment method detail, under the object that matches the payment method type: payment_method.detail.card.capture for cards and payment_method.detail.wallet.capture for wallets that support authorization (for example PayPal with a vaulted billing agreement). Yuno only reads the flag under the object that matches the payment method type, so capture: false under card is ignored on a wallet payment and the payment is captured right away.
If you want to process payments in a Single Step (Authorization and Capture simultaneously), send capture as true under that same object.
To test all possible transaction outcomes within Yuno in Sandbox, refer to the test data documentation.
capture as false as described above, then use the Capture Authorization endpoint.
This request requires an X-Idempotency-Key. See Authentication for details.Authorizations
Headers
Unique identifier used in HTTP headers to ensure that a request is processed only once, even if it is retried due to network issues or timeouts.
Body
The unique identifier of the account. You find this information on the Yuno dashboard (UUID, 36 chars).
The unique identifier of the customer's order (MAX 255; MIN 3).
The description of the payment (MAX 255; MIN 3).
Specifies the payment amount object, with the value and currency.
Specifies the checkout object. This object is not mandatory for back to back payments. Required when workflow is defined as SDK_CHECKOUT or is not sent. not required for DIRECT or REDIRECT payments.
Country where the transaction must be processed (MAX 2; MIN 2; ISO 3166-1).
AR, BO, BR, CL, CO, CR, EC, SV, GT, HN, MX, NI, PA, PY, PE, US, UY The payment method object.
Specifies the order's tax object.
Specifies the additional_data object. This object is not mandatory. However, if you send this information, the payment experience will be enhanced for your user.
Identification of the payment transaction defined by the merchant (MAX 255; MIN 3). Optional to complement the merchant_order_id.
Controls additional data returned in the payment response and in the payment webhooks.
Specifies customer object for payments.
The payment workflow. Indicates whether the integration will use Yuno´s SDK or will be a back to back connection. Guides
SDK_CHECKOUT: [Recommended] - Use Yuno's SDK.DIRECT: Back to back integration with provider info for custom payment experience.REDIRECT: Back to back integration with provider redirection.
SDK_CHECKOUT, CHECKOUT, REDIRECT, DIRECT, SDK_SEAMLESS Links this payment to a subscription managed in an external billing platform. When present on an approved payment with a vaulted card, Yuno takes over the subscription's recurring charges. Cannot be sent together with the subscription object (returns INVALID_REQUEST). The object is returned in the payment response, in Retrieve Payment and in payment webhooks.
Specifies the subscription object. Send exactly one of three shapes: inline terms (frequency, availability and amount) to create a subscription, plan_id to create one from a plan, or id to charge an existing subscription. See Start a subscription with the first payment.
The URL where to redirect the customer after the payment. Only required for DIRECT integrations that have a redirection (MAX 526; MIN 3).
Fraud screening object.
Split marketplace array of objects
Custom key–value tags to track this payment or add context (e.g., order_id, invoice, campaign). Up to 120 items.
Response
201
- Payment
- Card - With card details
- Card - With airline data
- Card - With customer, billing, and shipping details
- Card - With customer, billing, shipping and order items
- Card - With installments
- Card - With authorization
- Card - With merchant advice code (MAC)
- Card - With device fingerprint
- Card - With vault on success
- Card - With vaulted token
- Alternative payment method
- Card - With shipping, fee and tip amount
- Card - With NT
- Wallet - Direct
- Split Marketplace
"6c44ed29-cc51-4479-a5eb-108afdaadd50"
"493e9374-510a-4201-9e09-de669d75f256"
"Test Payment"
"US"
"SUCCEEDED"
"APPROVED"
"1744403449"
"2025-04-11T20:30:49.825637Z"
"2025-04-11T20:30:51.953868Z"
"http://www.google.com/?checkoutSession=7fb7093e-dc67-4c7a-80c5-d25cf5e6ff27"
"SDK_CHECKOUT"
""
Identifier of the subscription created or charged by this payment. Null when the payment carries no subscription.
The subscription's plan when this payment was created. Present only on payments created with subscription.plan_id and on their renewals; absent otherwise.
When the plan was assigned to the subscription (UTC, ISO 8601). Present only on payments that carry plan_id.
false