Create Payment

This request creates a payment after you created a checkout session.

Important

There are certain objects that are not mandatory when creating a "Payment". However, if you provide this information, the user’s payment experience will be enhanced. Be aware of the mandatory fields if you wish to provide this information.

3DS Payments

To understand how 3D Secure payments work, check the 3D Secure page or the Direct Workflow guide to learn how to create payments using 3DS on Yuno.

If you want to process payments in a Single Step (Authorization and Capture simultaneously), you need to send the 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.

On the other hand, if you wish to process the payment in Two Steps (First Authorization and then Capture), you need to send payment_method.detail.card.capture attribute as false. Please follow the steps below to implement a two-step flow:

  1. Create an authorization using the Authorize Payment request.
  2. Capture the created authorization using the Capture Authorization request.

Note that this request requires an X-Idempotency-Key. Check the Authentication page for more information.

Language
Credentials
Click Try It! to start a request and see the response here!