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