post
https://api.payyez.com/api/GOrders/generateorder
Creating an order in a payment gateway is a straightforward process that allows businesses to seamlessly accept payments online. To initiate this, merchants input essential transaction details such as the product or service being purchased, the amount to be charged, and customer information.
Request Parameter
| Description | Name | Type | Mandatory(Y-yes)/Optional(O) |
|---|---|---|---|
| Token is provided by API panel | Token | String | Y |
| Merchant Name | Name | String | Y |
| Mobile Number of the merchant | Mobile no. | String | Y |
| Merchant Email ID | Email id | String | Y |
| Transaction Amount | Amount | String | Y |
| Your order id | Order info | String | Y |
Sample Request
{
"token": "05aa4f76-XXXX-4b71-a673-XXXXXX",
"name": "test",
"mobileNo": "11XXXXXXXX",
"emailID": "[email protected]",
"amount": "1",
"orderInfo": "Order75246XXX"
}
Response Parameters
| Key | Type | Description |
|---|---|---|
| OrderID | String | Unique Client Transaction Reference Number |
| Message | String | Transaction message |
| Code | String | Success: Ok, Failed: Bad Request & Pending: other |
