After the buyer selects their method of payment in the previous step, the transaction is ready to be created.Documentation Index
Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt
Use this file to discover all available pages before exploring further.
Create a transaction
The transaction should be populated with the selectedmethod, your redirect_url, and
any other relevant transaction information.
-
payment_method.method- This is the method selected by the customer at checkout. This is 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 the app after they have authenticated the payment. This is also required for card to support 3-D Secure.
POST /transactions API endpoint for more details.
status, which tells you how to handle the
next step.
Summary
In this step you:- Called the transactions endpoint
- Handled the transaction response