{
"acquirer": {
"id":"BRI"
},
"customer": {
"id": "CUST-{{$timestamp}}",
"name": "Anton Budiman",
"email": "anton@doku.com",
"phone": "62811223344",
"id_card": "36032123123123",
"country": "ID",
"address": "Menara Mulia Lantai 8",
"date_of_birth": "02-02-1996"
},
"debit_card": {
"account_email": "wtda@mail.com",
"account_mobile_phone": "6281394130621",
"card_expiry": "0525",
"card_last_four": "8224"
}
}curl --location --request POST '/direct-debit/v1/token' \
--header 'Client-Id: {{client_id}}' \
--header 'Request-Id: {{request_id}}' \
--header 'Request-Timestamp: {{request_timestamp}}' \
--header 'Signature: {{signature}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"acquirer": {
"id":"BRI"
},
"customer": {
"id": "CUST-{{$timestamp}}",
"name": "Anton Budiman",
"email": "anton@doku.com",
"phone": "62811223344",
"id_card": "36032123123123",
"country": "ID",
"address": "Menara Mulia Lantai 8",
"date_of_birth": "02-02-1996"
},
"debit_card": {
"account_email": "wtda@mail.com",
"account_mobile_phone": "6281394130621",
"card_expiry": "0525",
"card_last_four": "8224"
}
}'{}