{
"cardData": "5cg2G2719+jxU1RfcGmeCyQrLagUaAWJWWhLpm/mbkiTIrb9qA5kQgAZ4jTsMWOgMxB7lJX6k1hiv5Mq4ltG5g==|GbD2PwzJIgpPijLs14BwZQ==",
"custIdMerchant": "cust001",
"phoneNo": "628238748728423",
"additionalInfo": {
"channel": "DIRECT_DEBIT_MANDIRI_SNAP",
"customerName": "John Doe",
"email": "john.doe@doku.com",
"idCard": "12345",
"country": "Indonesia",
"address": "Bali",
"dateOfBirth": "19990101",
"successRegistrationUrl": "https://merchant.doku.com/success",
"failedRegistrationUrl": "https://www.merchant.com/failed"
}
}
curl --location --request POST '/direct-debit/core/v1/registration-card-bind' \
--header 'X-TIMESTAMP;' \
--header 'X-SIGNATURE;' \
--header 'X-PARTNER-ID;' \
--header 'X-EXTERNAL-ID;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"cardData": "5cg2G2719+jxU1RfcGmeCyQrLagUaAWJWWhLpm/mbkiTIrb9qA5kQgAZ4jTsMWOgMxB7lJX6k1hiv5Mq4ltG5g==|GbD2PwzJIgpPijLs14BwZQ==",
"custIdMerchant": "cust001",
"phoneNo": "628238748728423",
"additionalInfo": {
"channel": "DIRECT_DEBIT_MANDIRI_SNAP",
"customerName": "John Doe",
"email": "john.doe@doku.com",
"idCard": "12345",
"country": "Indonesia",
"address": "Bali",
"dateOfBirth": "19990101",
"successRegistrationUrl": "https://merchant.doku.com/success",
"failedRegistrationUrl": "https://www.merchant.com/failed"
}
}'
{
"responseCode": "2000700",
"responseMessage": "Successful",
"referenceNo": "129260743966",
"redirectUrl": "https://doku.com/direct-debit/ui/binding/2238230713001534401107183161486001168389",
"additionalInfo": {
"custIdMerchant": 12345679504,
"status": "PENDING",
"authCode": 2.23823090518282e+39
}
}