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 capture attribute as true, so the payment is captured automatically.

To test all possible outcomes of a transaction 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 this 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.

Response object description

Access the recipe to get the response description.

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