Payin Docs (Create Order)

POST
Endpoint URL
https://merchant.gameopay.com/v1/api/create-order
Content-Type
application/x-www-form-urlencoded
Payload (x-www-form-urlencoded)
customer_mobile=5252525256 user_token= amount=10 order_id=ihfnbwieboriskkkkioddd334 redirect_url=https://example.com/payment-redirect
Success Response
{ "status": true, "message": "Order Created Successfully", "result": { "orderId": "ihfnbwieboriskkkkioddd334", "payment_url": "https://merchant.gameopay.com/payment.....", "deeplinks": { "upi": "upi://pay?pa=....", "gpay": "tez://upi/pay?pa=....", "phonepe": "phonepe://pay?pa=....", "paytm": "paytmmp://pay?pa=...." } } }
Failed Response
{ "status": false, "message": "Order_id Already Exist" }
Important Notes
  • customer_mobile must be 10 digits
  • order_id must be unique
  • redirect_url should be your success page URL
  • You can open payment_url OR use deeplinks for UPI intent

Payin Webhook Docs

POST
Method
POST
Content-Type
application/json
Sample Webhook Payload
{ "txn_id": "27307855579", "order_id": "ihfnbwieboriskkkkioddd334", "status": "SUCCESS", "amount": "10", "pg_charge": 0, "net_amount": 10, "utr": "520003750049", "message": "Payment received successfully" }
Webhook Rules
  • Your server must respond with HTTP 200 OK
  • Update your database using order_id
  • Never mark payment success only from redirect URL