EverSafePay Payment Gateway
Accept payments, UPI QR transactions, and process secure payouts using a unified API platform.
Base URL: https://eversafepay.com/v1
Create Order API
POST /create_order
| Parameter | Description |
|---|---|
| client_id | Merchant Client ID |
| secret_key | Merchant Secret Key |
| amount | Transaction Amount |
| company | Merchant Name |
| description | Order Description |
| first_name | Customer First Name |
| last_name | Customer Last Name |
| Customer Email | |
| phone | Customer Phone |
{
"isError": false,
"data": {
"order_id": "ORD123",
"payment_url": "https://gateway.com/pay"
}
}
UPI Intent / QR Payment
POST /create_upi
| Parameter | Description |
|---|---|
| client_id | Merchant Client ID |
| secret_key | Merchant Secret Key |
| amount | Transaction Amount |
| first_name | Customer First Name |
| last_name | Customer Last Name |
| Customer Email | |
| phone | Customer Phone |
| company | Merchant Name |
| description | Order Description |
{
"status": "success",
"order_id": "ORD456",
"qr_code": "data:image/png;base64,...",
"payment_url": "upi://pay?pa=merchant@upi"
}
Display the QR code on your custom payment page and poll the status API.
Order Status API
POST /status
{
"status": "success",
"data": {
"order_id": "ORD456",
"amount": "100",
"status": "success"
}
}
- success – Payment completed
- failed – Payment failed
- others – Pending
Payout API
POST /payout
{
"success": true,
"data": {
"order_id": "PO123",
"status": "QUEUED"
}
}
Callbacks (Common)
{
"order_id": "ORD123",
"amount": 100,
"status": "SUCCESS"
}
Security Best Practices
- Never expose secret keys on frontend
- Validate all callbacks
- Use HTTPS only
- IP whitelist callback endpoints
- Maintain transaction logs
Support
Email: [email protected]