Request Headers
Header Name | Header Value |
---|---|
| application/json |
| SHA256(base64 encoded payload + "/v4/debit" + |
| Dynamic redirect URI for UI callback |
| HTTP mode to be used for UI callback |
| Dynamic callback URI for server to server callback |
| HTTP mode to be used for server to server callback |
| Used for the cases where the merchant has multiple merchant IDs |
{
"merchantId":"UATMERCHANT",
"transactionId":"TX123456789",
"merchantUserId":"U123456789",
"amount":100,
"merchantOrderId":"OD1234",
"mobileNumber":"9xxxxxxxxx",
"message":"payment for order placed OD1234",
"subMerchantId":"DemoMerchant",
"paymentScope": "MSITE_INTENT",
"email":"amit***[email protected]",
"shortName":"Amit"
}
{
"request": "eyAgCiAgICJtZXJjaGFudElkIjoiVUFUTUVSQ0hBTlQiLAogICAidHJhbnNhY3Rpb25JZCI6IlRYMTIzNDU2Nzg5IiwKICAgIm1lcmNoYW50VXNlcklkIjoiVTEyMzQ1Njc4OSIsCiAgICJhbW91bnQiOjEwMCwKICAgIm1lcmNoYW50T3JkZXJJZCI6Ik9EMTIzNCIsCiAgICJtb2JpbGVOdW1iZXIiOiI5eHh4eHh4eHh4IiwKICAgIm1lc3NhZ2UiOiJwYXltZW50IGZvciBvcmRlciBwbGFjZWQgT0QxMjM0IiwKICAgInN1Yk1lcmNoYW50SWQiOiJEZW1vTWVyY2hhbnQiLAogICAicGF5bWVudFNjb3BlIjogIk1TSVRFX0lOVEVOVCIsCiAgICJlbWFpbCI6ImFtaXQqKio3NUBnbWFpbC5jb20iLAogICAic2hvcnROYW1lIjoiQW1pdCIKfQ=="
}
Request Parameters
Parameter Name | Type | Description | Mandatory |
---|---|---|---|
|
| Unique |
|
|
| Unique |
|
|
| Unique |
|
|
| Unique |
|
|
| Transaction amount in Paise |
|
|
|
|
|
|
| .Tag to categorize merchant transaction. |
|
|
| Mobile number of the user |
|
|
| Short message. This message is displayed to the user on completion of payment. |
|
|
| Email address of the user |
|
|
| User's name pre-filled for registration purpose. |
|
|
| Value should be "MSITE_INTENT" |
|
{
"code": "SUCCESS",
"message": "Your request has been successfully completed.",
"data": {
"redirectType": "MSITE_INTENT",
"redirectURL": "upi://[email protected]&pn=AbcdFirm&am=424.00&mam=424.00&tid=YBLc6f12c2333b2495fbfd024b12ad43dc7&tr=T2002061921587731419308&tn=Payment%20for%20TX117785240954814000&mc=5311&mode=04&purpose=00"
}
}
Regular Debit Response Codes
Code | Description |
---|---|
| Duplicate |
| The userAuthToken provided is either invalid or not mapped to merchant. |
| Invalid request payload |
| Incorrect X-VERIFY header |
| Something went wrong |
1.Make sure that 'follow redirection' is disabled while calling this API.
2.This location endpoint should be appended to host to get the complete redirection URL.
3.It's recommended to have the server to server call back using x-callback-url header.
Once the transaction is complete, user will be redirected back to the merchant.