Authorization: Bearer ********************
{
"debit_account": "76001002",
"debit_account_holder": "John Doe",
"amount": 3000,
"description": "Retrait",
"external_reference": "ref1201",
"pin_code": "1234"
}
curl --location -g --request POST 'http://127.0.0.1:8081/ihela/api/v1/make-withdrawal/' \
--header 'Content-Type: application/json' \
--data-raw '{
"debit_account": "76001002",
"debit_account_holder": "John Doe",
"amount": 3000,
"description": "Retrait",
"external_reference": "ref1201",
"pin_code": "1234"
}'
{
"success": true,
"response_message": "Withdrawal done from the account/wallet 76001002. Reference:150323031 >> eCAW.3009101-2223.3009800-820",
"response_code": "00",
"response_data": {
"reference": "15032362251031",
"cbs_reference": "eCAW.3000101-2168.3000100-820",
"external_reference": "ref120001"
}
}