Create Checkout Router
The Authorization needs to be in the following format:
Authorization: Token <YOUR_API_KEY>
Body
Contains information related to the payment card used in the transaction.
The first name of the client.
The last name of the client.
The email address of the client.
The phone number of the client.
The URL to which the user will be redirected after completing the transaction.
The identifier for the product.
The quantity of the product in the transaction.
The identifier for the shipping information.
The instance identifier for the shipping information.
The total monetary value of the transaction.
The title or type of shipping.
A description of the transaction.
The identifier for the device session.
A token identifier associated with the transaction.
An identifier or reference number for the order.
The identifier for the business.
The identifier for the payment.
The source of the transaction.
Response
The HTTP status code indicating the success or failure of the response.
A message providing additional information about the success or failure of the response.
The response from the payment service provider (PSP) containing detailed information about the payment transaction.
The status of the transaction, e.g., 'Success'.
The unique identifier for the transaction.
The unique identifier for the payment associated with the transaction.
The payment provider used for the transaction, e.g., 'stripe'.
Details about the next action required for the transaction. If not applicable, an empty object is provided.
An array of actions that can be performed for the transaction, each represented by an object with 'name', 'url', and 'method' properties.