Unbind Notify
POST{Provided-by-merchant}
This API is used to inform merchant the result of unbind DANA account from the DANA App. For the easiest integration, use DANA's Libraries to implement DANA Widget Binding.
API Type
SNAP API
Expected Timeout
8 second
SNAP Service Code
65
Accept
application/json
Content Type
application/json
version
string
1 - 8 charactersRequiredAPI version. As per the respective API reference
function
string
1 - 128 charactersRequiredAccording to specifications defined by each business domain; Value:
dana.oauth.unbind.notifyclientId
string
1 - 36 charactersRequiredClient identifier which provided by DANA and used to identify partner and application system
reqTime
string
25 charactersRequiredRequest time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
reqMsgId
string
1 - 64 charactersRequiredIdentify an unique system request. Each request will be assigned with a unique identifier (UUID)
unbindAccessToken
array of string
1 - 64 charactersRequiredThe token value of unbound token
unbindTime
string
25 charactersRequiredThe time of unbind, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
{
"request": {
"head": {
"function": "dana.oauth.unbind.notify",
"clientId": "2022081517392631023617",
"version": "2.0",
"reqTime": "2022-09-07T08:07:31+07:00",
"reqMsgId": "d713d735-1082-4367-a245-c9b22d83212c"
},
"body": {
"unbindAccessToken": [
"zzzPoOxVUdlUXAIznZdud8iPpJGqU5sqbayj8000",
"EKtL9r7TBwsO3VjF1B2nUI67TTXPlQOQ5vDc7600"
],
"unbindTime": "2022-09-13T15:27:16+07:00"
},
"signature": "fvqBXl3ywwACYRZTNu0o/HIhle2hyL56Mex/7Gtgw+IzgZsj2cgje4hGGrA1INd9agOPTYY44WUIb6TXCyZfIYV7KPVE2ME9BzKA3yIM4Jj6tCC2Doa9KCbEUjBUORO1aEQftLooOdeP83EjcCRPBSif6uwff7rlrYsG0JfokYXkzyKFMIgHCZym0O6zYTHSaI564+VhYQXJpXcbHKa9d7UOuK3QczpIAbdoswLgSEZi31eRrDoqcZY6QTk4DYeb9T8JCdpxnPBzy66bc4wwPh2OAB7Is6MLCEO+7qyF375hImJPHQ5SfEOoX2kZgOIggaGDYNahqT0UkdYSbX6333=="
}
}
version
string
1 - 8 charactersRequiredAPI version. As per the respective API reference
function
string
1 - 128 charactersRequiredAccording to specifications defined by each business domain; Value:
dana.oauth.unbind.notifyclientId
string
1 - 36 charactersRequiredClient identifier which provided by DANA and used to identify partner and application system
respTime
string
25 charactersRequiredResponse time, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
reqMsgId
string
1 - 64 charactersRequiredIdentify an unique system request. Each request will be assigned with a unique identifier (UUID)
resultInfo
json object
RequiredDefine the detail of result information
{
"response": {
"head": {
"function": "dana.oauth.unbind.notify",
"clientId": "2022081517392631023617",
"respTime": "2022-09-07T08:07:31+07:00",
"version": "2.0",
"reqMsgId": "d713d735-1082-4367-a245-c9b22d83212c"
},
"body": {
"resultInfo": {
"resultStatus": "S",
"resultCodeId": "00000000",
"resultCode": "SUCCESS",
"resultMsg": "success"
}
},
"signature": "fvqBXl3ywwACYRZTNu0o/HIhle2hyL56Mex/7Gtgw+IzgZsj2cgje4hGGrA1INd9agOPTYY44WUIb6TXCyZfIYV7KPVE2ME9BzKA3yIM4Jj6tCC2Doa9KCbEUjBUORO1aEQftLooOdeP83EjcCRPBSif6uwff7rlrYsG0JfokYXkzyKFMIgHCZym0O6zYTHSaI564+VhYQXJpXcbHKa9d7UOuK3QczpIAbdoswLgSEZi31eRrDoqcZY6QTk4DYeb9T8JCdpxnPBzy66bc4wwPh2OAB7Is6MLCEO+7qyF375hImJPHQ5SfEOoX2kZgOIggaGDYNahqT0UkdYSbX6333=="
}
}
| ResultStatus | ResultCodeId | ResultCode | ResultMessage | Solution |
|---|---|---|---|---|
| S | 00000000 | SUCCESS | success | Mark Unbind Notify process as Success |
| F | 00000019 | PROCESS_FAIL | process fail | Mark Unbind Notify process as Failed. Retry request periodically |
| F | 00000900 | SYSTEM_ERROR | system error | Mark Unbind Notify process as Failed. Retry request periodically |