Skip to main content
After your buyer selects their method of payment in the previous step, you’re ready to create a transaction.

Create a Transaction

The transaction should be populated with the selected method, your redirect_url, and any other relevant transaction information.
  • payment_method.method - This will be the method selected by the customer at checkout. This will be one of the values retrieved from the payment options endpoint in the previous step.
  • payment_method.redirect_url - This should be provided to redirect the buyer back to your application after they have authenticated the payment. This is also required for card in order to support 3-D Secure.
See the POST /transactions API endpoint for more details.
The response of this transaction will include a status, which will tell you how to handle the next step.
Requests that require a redirect will return a status of buyer_approval_pending with a payment_method.approval_url. In the next step we will show you how to handle this situation.

Summary

In this step you:
  • Called the transactions endpoint
  • Handled the transaction response