cURL
Orders
Initiate Transaction for an Order
Initiates a transaction for order processing. This endpoint collects order details, calculates the total amount, and generates a payment link for the client to complete payment.
POST
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The transaction details, including order information and payment method.
The payment method selected by the client (e.g., "Card").
Example:
"Card"
The ID of the employee's resident country.
Example:
"b9bbd993-6556-4186-a00b-61346f9f66be"
The URL to redirect the user after payment completion.
Example:
"http://localhost:3000/dashboard/transactions"