Paygati API Integration

Base URL: https://paygati.in
Create Order API
POST /api/create-order
https://paygati.in/api/create-order
Order Timeout 30 Minutes. Order will automatically fail after 30 minutes if unpaid.
Parameters
FieldRequiredDescription
customer_mobileYesCustomer mobile (10–12 digits)
user_tokenYesYour API token
amountYesINR amount
order_idYesUnique order reference
redirect_urlYese.g., https://panfind.sbs/callback.php
remark1NoOptional
remark2NoOptional
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-status
https://paygati.in/api/check-order-status
Parameters
FieldRequiredDescription
user_tokenYesYour API token
order_idYesOrder 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"
}