{ "phoneNo": "628238748728423", "additionalInfo": { "channel": "EMONEY_OVO_SNAP", "custIdMerchant": "cust-001", "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", "merchantId": "BRN-0001-013988108011" } }
curl --location --request POST '/direct-debit/core/v1/registration-account-binding' \ --header 'X-TIMESTAMP;' \ --header 'X-SIGNATURE;' \ --header 'X-PARTNER-ID;' \ --header 'X-EXTERNAL-ID;' \ --header 'X-DEVICE-ID;' \ --header 'X-IP-ADDRESS;' \ --header 'Authorization;' \ --header 'Content-Type: application/json' \ --data-raw '{ "phoneNo": "628238748728423", "additionalInfo": { "channel": "EMONEY_OVO_SNAP", "custIdMerchant": "cust-001", "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", "merchantId": "BRN-0001-013988108011" } }'
{ "responseCode": "2000700", "responseMessage": "Successfull", "referenceNo": "129260743966", "redirectUrl": "https://doku.com/direct-debit/ui/binding/2238230713001534401107183161486001168389", "additionalInfo": { "custIdMerchant": 12345679504, "status": "PENDING", "authCode": 2.23823090518282e+39 } }