Developers
API Docs
Comprehensive API reference for integrating UPI Gateway.dev UPI payments into your application.
Create Order
Initialize a new UPI payment order for your customer.
POST
/api/create-order.php
Request Body
{
"api_key": "your_api_key_here",
"amount": "100.00",
"order_id": "ORD123456",
"customer_name": "John Doe",
"customer_email": "john@example.com",
"redirect_url": "https://yoursite.com/callback",
"webhook_url": "https://yoursite.com/webhook"
}Response (200 OK)
{
"status": "success",
"payment_url": "https://free.upigateway.dev/pay/abc123",
"order_id": "ORD123456",
"amount": "100.00"
}Check Order Status
Verify the current status of a payment order.
GET
/api/check-order-status.php
Query Parameters
// GET request with query params /api/check-order-status.php?api_key=YOUR_KEY&order_id=ORD123456
Response (200 OK)
{
"status": "success",
"order_id": "ORD123456",
"payment_status": "SUCCESS",
"amount": "100.00",
"utr": "123456789012"
}Start Building
Ready to Integrate?
Get your API key and start accepting UPI payments in minutes.
Register Now