Your Brand Name

Create order (HTTP API)

Returns payment_url for UPI checkout. Call from your server.

Endpoint

POST https://upibridge.com/api/create-order
Content-Type: application/json

Request body example

{
  "customer_mobile": "9876543210",
  "user_token": "YOUR_MERCHANT_USER_TOKEN",
  "amount": "199.00",
  "order_id": "INV-10021",
  "redirect_url": "https://your-site.com/thank-you",
  "remark1": "cart",
  "remark2": "optional"
}
  • order_id must be unique.
  • redirect_url is post-checkout UX—still confirm via webhook.

Success response

{
  "status": true,
  "message": "Order Created Successfully",
  "result": {
    "orderId": "...",
    "payment_url": "https://upibridge.com/gateway/pay/<token>"
  }
}

Examples

PHP, JavaScript SDK, Python on check status.

Frequently asked questions

Expose user_token in mobile apps?
No—proxy through your backend.