Create an order
An order is created when a payer wants to make a payment using Wagent. You can create an order by calling the following endpoint:
POST /orders
Request Body:
Headers:
Successful Response:
If everything goes well, the API will return the following response:
Status: 200
Response Body:
This response confirms that the order has been successfully created, providing the order ID and a URL for payment.
Now, you can redirect the payer to the response.result.url
Last updated