Guest user checkout
One-off or single payments help you to complete your checkout process when the Buyer is present and active in your web shop. In this scenario the Buyer will provide his card details as well as all the ancillary information required.
- Create a payment intent on your server with currency and amount you want to charge from your buyer using
POST/api/v1/pa/payment_intents/create
. You will receive the payment methods available as well as the next action to be performed.
Request:
Shell
Response:
JSON
- Use
POST/api/v1/pa/payment_intents/{id}/confirm
endpoint to submit the outstanding payment method details and request the authorization for a given payment.
Request:
Shell
Response:
JSON
If you received the status AUTHORIZED or SUCCEEDED (only if you are auto capturing) your payment is completed and you can release the goods to your Buyer.
Note
You must follow the Capture use case detailed later to complete your transaction. If you forget to capture you will not receive any funds