Create Deposit Order (Nepal)
API for creating Nepalese Rupee (NPR) deposit orders.
Request Information
- Request URL:
/gateway/api/v2/payments - Method:
POST - Content-Type:
application/json;charset=utf-8
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| platform_id | Yes | String(6) | Merchant ID |
| service_id | Yes | String(7) | Service ID, fixed value SVC0124 |
| payment_cl_id | Yes | String(64) | Merchant Order ID |
| amount | Yes | Integer(10) | Amount (in paisa) |
| notify_url | Yes | String(256) | Callback URL for transaction results |
| name | No | String(64) | Payer name (recommended, see Remarks) |
| phone_number | No | String(11) | Payer mobile number, 10 digits starting with 9, e.g. 9801234567 (recommended, see Remarks) |
| bank_name | No | String(16) | Payer bank / e-wallet code, Bank List (recommended, see Remarks) |
| last_number | No | String(32) | Payer bank account number, 12-20 digits (recommended, see Remarks) |
| request_time | Yes | Integer(10) | Request time (seconds) |
| sign_type | No | String(16) | Signature type, fixed value HMAC-SHA256 |
| sign | Yes | String(32|64) | Order Signature |
Service ID
SVC0124E-payment (Nepal Channel)
Response Example
Successful Response
{
"error_code": "0000",
"data": {
"link": "https://pay.example.com/cashier/DEMOPM0123456",
"payment_id": "DEMOPM0123456",
"payment_cl_id": "order_20260112001",
"amount": 50000
}
}
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, see Global Error Codes |
| error_msg | String | Error message (returned when error_code is not "0000") |
| link | String | Cashier page URL |
| payment_id | String | Platform Order ID |
| payment_cl_id | String | Merchant Order ID |
| amount | Int | Order amount |
Remarks
- Transaction amount is in Nepalese Rupee (paisa), please multiply by 100 before sending, e.g. pass
50000for 500.00 NPR - This service requires complete payer details (name, mobile number, bank / e-wallet, bank account number). We recommend passing
name,phone_number,bank_nameandlast_numberwhen creating the order. If any is missing,bank_nameis not in the Bank List, orphone_number/last_numberis malformed, the payer will first be redirected to a transit page to fill in the details before the original payment flow continues. Direct the payer tolink phone_numbermust be a 10-digit Nepal mobile number starting with 9 (without country code);last_numbermust be digits only (spaces or-separators are allowed and will be stripped), 12-20 digits long- After obtaining
link, direct the payer to the cashier page to complete the payment - Request time uses Unix timestamp, in seconds
- Transaction results will be sent to
notify_url; the URL must be publicly reachable (http/https only), see Deposit Notification for parameter details - For the final order status, rely on Query Deposit Order or the transaction result notification