Returns payment_url for UPI checkout. Call from your server.
Endpoint
POST https://upibridge.com/api/create-order
Content-Type: application/jsonRequest 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_idmust be unique.redirect_urlis 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.