This request creates a payment after you created a checkout session.
ImportantAlthough certain objects are not mandatory when creating a Payment, the user’s payment experience can be enhanced if you provide this information.
3DS PaymentsCheck the 3D Secure page 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:
- Create an authorization using the Authorize Payment request.
- 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.