pushNotificationUser
/v1/payments/pushNotificationUser
Overview
The interface is used for trigger push notification to skywalker (DANA App) from Merchant with prerequisites is the order exist on dana
Request Sample
{
"request": {
"head": {
"version": "1.0",
"function": "dana.mobilewallet.mobilepush.pushOrderNotify",
"clientId": "2020030380874995810039",
"reqTime": "2020-11-12T18:50:59+00:00",
"reqMsgId": "871f35be-8ab1-46f8-a24e-721d5691a99e",
"clientSecret": "4865a19fd48045f982c4e4d05a666c61",
"accessToken": "jN4cssDERVrou9qBizfz4q4LavPPhdMtefgj1000"
},
"body": {
"acquirementId": "20201109111212800110166173600064152",
"bizType": "MERCHANT_ORDER_NOTIF",
"envInfo": {
"terminalType": "APP",
"webSiteLanguage": "en_US"
},
"extendInfo": "{\"innovBoardingPass\":{\"innovRequesterRemoteAddress\":null,\"innovRequestingModule\":\"Argonauts\",\"innovRequestingModuleClientCreds\":\"sandbox-innov\"},\"innovBriefcase\":{}}"
}
},
"signature": "xQkKvjMZ73n6ZWUTknKD/5anMGoExfEpatdrOuzpO8e+L5LpcrgXTPpco3Mzb6CpXHGxaiYg8gVXFUqaBYR4vWx8TkVeXQ33HO+fP6Sry9wNCxphVyDnrPRf42dtSsFKHAH/RLkZwKWTxyvolT9s5dYj8v3N1SIouqAQUfL9f3Jhs6n8p9ruhthEHvGHzIEoRyLMYSoGM5ug2qFogoa18VKmfB09zL11V/WdQyG/OTZU3dhaceWmNywdO/tpYYpeLcNAU7X368zUfJP8sXZb/4pfj3wXUR3S8H9+3KyLY7w+U6hZUSmYWZzMtoyQGERWn4v6sfMhvVexT/1axMW1Kg=="
}
Response Sample
{
"response": {
"head": {
"version": "2.0",
"function": "dana.mobilewallet.mobilepush.mobilePushNotify",
"clientId": "2019073044897398954739",
"respTime": "2019-07-04T12:08:56+05:30",
"reqMsgId": "26764064-0d9d-4c4e-b582-b4a7e7b04174",
"reserve": "{}"
},
"body": {
"resultInfo": {
"resultStatus": "S",
"resultCodeId": "00000000",
"resultCode": "SUCCESS",
"resultMsg": "success"
}
}
},
"signature": "signature string"
}
Structure
Request Header
Item | Type | Mandatory | Description |
version | String (8) | M | As per the respective API reference |
function | String (128) | M | According to specification defined by each business domain |
clientId | String (32) | M | Provided by DANA used to identify partner and application system |
reqTime | datetime | M | Datetime with timezone, which follows the ISO-8601 standard. Refer to RFC 3339 Section 5.6 |
reqMsgId | String (64)Â | M | The sequence id of request. Each request will be assigned with a unique id (uuid). the reqMsgId identify an unique system request, it is not used to identity an unique business request. |
clientSecret | String (64) | M | Assigned client secret during registration |
accessToken | String (64) | M | Will be use for identify order-user relation |
reserve | String (256) | O |
Request Body
Item | Type | Mandatory | Description |
acquirementId | String (8) | M | Order Id |
bizType | String (128) | M | Dynamic depend on the push notification content |
Response Header
Item | Type | Mandatory | Description |
version | String (8) | M | As per the respective API reference |
function | String (128) | M | According to specification defined by each business domain |
clientId | String (32) | M | Provided by DANA used to identify partner and application system |
respTime | datetime | M | Datetime with timezone, which follows the ISO-8601 standard. Refer to RFC 3339 Section 5.6 |
reqMsgId | String (64)Â | M | The sequence id of request. Each request will be assigned with a unique id (uuid). the reqMsgId identify an unique system request, it is not used to identity an unique business request. |
reserve | String (256) | O |
Response Body
Item | Type | Mandatory | Description |
resultInfo | M |
Result Code
No | resultStatus | resultCodeId | resultCode | resultMessage |
1 | S | 00000000 | SUCCESS | Success |
2 | U | 00000900 | SYSTEM_ERROR | SYSTEM_ERROR |
3 | F | 00000004 | PARAM_ILLEGAL | Illegal parameters. For example, non-numeric input, invalid date. |
4 | F | 00000002 | PARAM_MISSING | One or more mandatory parameters is/are not missing. |
5 | F | 00000007 | INVALID_SIGNATURE | Signature is invalid. |
6 | F | 00000008 | KEY_NO_FOUND | Key is not found |
F | 00000013 | NO_INTERFACE_DEF | API is not defined | |
4 | F | 00000014 | INVALID_API | The called API is invalid or not active. |
5 | F | 00000015 | MSG_PARSE_ERROR | Message parsed error |
6 | F | 00000016 | OAUTH_FAILED | oAuth authentication failed |
7 | F | 00000017 | FUNCTION_NOT_MATCH | Function parameter does not match API |
8 | F | 10000006 | REDIRECT_URL_ILLEGAL | Redirect Url not valid |
9 | F | 10000005 | MERCHANT_NOT_MATCH | Merchant ID differ from requestor |
7 | F | 10000003 | INVALID_TRANS_ID | Trans ID not found |
8 | F | 10000002 | MORE_THAN_ONCE_INVOKE | Already invoke |
10 | F | 50100001 | NOT_SUPPORTED_MERCHANT | Merchant config not found |