Create Order API
POST
/api/create-orderhttps://paygati.in/api/create-order
Order Timeout 30 Minutes. Order will automatically fail after 30 minutes if unpaid.
Parameters
| Field | Required | Description |
|---|---|---|
customer_mobile | Yes | Customer mobile (10–12 digits) |
user_token | Yes | Your API token |
amount | Yes | INR amount |
order_id | Yes | Unique order reference |
redirect_url | Yes | e.g., https://panfind.sbs/callback.php |
remark1 | No | Optional |
remark2 | No | Optional |
Form Payload (x-www-form-urlencoded)
{
"customer_mobile": "9144055151",
"user_token": "YOUR_TOKEN",
"amount": "1",
"order_id": "8787772321800",
"redirect_url": "https://panfind.sbs/callback.php",
"remark1": "testremark",
"remark2": "testremark2"
}
cURL
curl -X POST https://paygati.in/api/create-order \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "customer_mobile=9144055151&user_token=YOUR_TOKEN&amount=1&order_id=8787772321800&redirect_url=https%3A%2F%2Fpanfind.sbs%2Fcallback.php&remark1=testremark&remark2=testremark2"
Success Response
{
"status": true,
"message": "Order Created Successfully",
"result": {
"orderId": "1234561705047510",
"payment_url": "https://paygati.in/payment/pay.php?data=MTIzNDU2MTcwNTA0NzUxMkyNTIy"
}
}
Failed Response
{
"status": false,
"message": "Order_id Already Exist"
}
Check Order Status API
POST
/api/check-order-statushttps://paygati.in/api/check-order-status
Parameters
| Field | Required | Description |
|---|---|---|
user_token | Yes | Your API token |
order_id | Yes | Order ID created earlier |
Form Payload
{
"user_token": "YOUR_TOKEN",
"order_id": "8052313697"
}
cURL
curl -X POST https://paygati.in/api/check-order-status \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "user_token=YOUR_TOKEN&order_id=8052313697"
Success Response
{
"status": "COMPLETED",
"message": "Transaction Successfully",
"result": {
"txnStatus": "COMPLETED",
"resultInfo": "Transaction Success",
"orderId": "784525sdD",
"status": "SUCCESS",
"amount": "1",
"date": "2024-01-12 13:22:08",
"utr": "454525454245"
}
}
Failed Response
{
"status": "ERROR",
"message": "Error Massege"
}