Subscription Reminder Scheduled Payment
POST{partnerUrl}
This API is used to reminder merchant about schedule of subscription
API Type
DANA Open API
Expected Timeout
8 second
SNAP Service Code
00
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:
Value:
dana.recurring.subscription.ipg.initclientId
string
1 - 36 charactersRequiredClient identifier which provided by DANA and used to identify partner and application system
clientSecret
string
1 - 64 charactersRequiredAs a secret key of client. Assigned client secret during registration
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)
reserve
string
1 - 256 charactersReserved for future implementation (Key/Value)
subscriptionId
string
1 - 64 charactersRequiredSubscription identifier
merchantId
string
21 charactersRequiredMerchant identifier that is unique per each merchant
productName
string
1 - 128 charactersRequiredMerchant product name
scheduleTime
string
25 charactersRequiredTime when merchant have to trigger payment, in format YYYY-MM-DDTHH:mm:ss+07:00. Time must be in GMT+7 (Jakarta time)
publicId
string
1 - 64 charactersStatic unique identifier for one user and one merchant
transactionId
string
1 - 64 charactersRequiredTransaction identifier
{
"request":{
"head":{
"version":"1.0",
"function":"dana.recurring.subscription.ipg.init",
"clientId":"2014000014442",
"clientSecret":"2014000014442",
"reqTime":"2020-07-04T12:08:56+07:00",
"reqMsgId":"1234567asdfasdf1123fda",
"reserve":"{}"
},
"body":{
"subscriptionId":"20200730111315800000DANAW3ID009500131053",
"merchantId":"21662xxxxxxxx",
"productName":"Awesome product",
"scheduleTime":"2020-07-04T12:08:56+07:00",
"publicId":"1234567890",
"transactionId":"20200831111315800000DANAW3ID007400217089"
}
},
"signature":"signature string"
}
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:
Value:
dana.recurring.subscription.ipg.initclientId
string
1 - 36 charactersRequiredClient identifier which provided by DANA and used to identify partner and application system
clientSecret
string
1 - 64 charactersRequiredAs a secret key of client. Assigned client secret during registration
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)
reserve
string
1 - 256 charactersReserved for future implementation (Key/Value)
resultInfo
json object
RequiredDefine the detail of result information
resultStatus
string
1 charactersRequiredResult status, refer to result code list ResultStatusThe status of the request can be:
S: SuccessF: FailureU: Unknown
resultCodeId
string
1 - 16 charactersRequiredResult code identifier, refer to result code list ResultCodeId
resultCode
string
1 - 64 charactersRequiredResult code string, refer to ResultCode
resultMsg
string
1 - 256 charactersResult message, refer to result code list ResultMsg
{
"response":{
"head":{
"version":"1.0",
"function":"dana.recurring.subscription.ipg.init",
"clientId":"2014000014442",
"clientSecret":"2014000014442",
"respTime":"2020-07-04T12:08:56+07:00",
"reqMsgId":"1234567asdfasdf1123fda",
"reserve":"{}"
},
"body":{
"resultInfo":{
"resultStatus":"S",
"resultCodeId":"00000000",
"resultCode":"SUCCESS",
"resultMsg":"success"
}
}
},
"signature":"signature string"
}
| ResultStatus | ResultCodeId | ResultCode | ResultMessage | Solution |
|---|---|---|---|---|
| S | 00000000 | SUCCESS | success | Mark Subscription Reminder Scheduled Payment process as Success |
| U | 00000900 | SYSTEM_ERROR | system error | Mark Subscription Reminder Scheduled Payment process as Failed. Retry request periodically |