Parameter
Data Type
Description
API request identifier from the user's system, unique for each request
referenceNumber from withdraw deposit
Request Body
{
"partnerReferenceNo": "bertina202405022121212101",
"referenceNo": "bitdna20221150144959627"
}
Parameter
Data Type
Description
(HTTP status code + service code + case code)
Description of responseCode
API request identifier from the provider's system, unique for each request
API request identifier from the user's system, unique for each request
Value of withdrawalAmount
Currency of withdrawalAmount
Response Body
{
"responseCode": "2000000",
"responseMessage": "Successful",
"referenceNo": "bitdna20221150144959627",
"partnerReferenceNo": "bertina202405022121212101",
"withdrawalAmount": {
"value": "50000.00",
"currency": "IDR"
},
"additionalInfo": {
"accountHolderName": "Mariya Wise",
"bankAccountNumber": "1710221000",
"bankCode": "014",
"bankName": "BCA",
"status": "success"
}
}
curl --location --request POST 'localhost:9090/api/v1.0/aggregator/merchant/withdraw/deposit' \
--header 'X-TIMESTAMP: 2022-08-10T00:00:00+07:00' \
--header 'X-SIGNATURE: 089848fc82cc1dcb5c13d71b03ab0aced5a7a4d1e19e72f808a1a307ba5d24229585e347c38c087da921a8168a40550943214530bfd8192008d9aa6cf8efab85' \
--header 'Content-Type: application/json' \
--header 'Authorization: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NjcyMDQ1OTcsImlhdCI6MTY2NzIwMzY5NywiaXNzIjoiYml0ZG5hLXRva28ifQ.AJSQOz7P-SnM9X5UU3jWD-nPqbsWRsjAeoE1wDvvafCDnSWyMLMyPzI_o0zeMEOlilqRUHDTaOLRshDgZxG-AA' \
--header 'X-PARTNER-ID: TokoNetmeClientId' \
--header 'X-EXTERNAL-ID: 41807553358950093184162180797837' \
--header 'CHANNEL-ID: 95221' \
--data-raw '{
"partnerReferenceNo": "bertina202405022121212101",
"referenceNo": "bitdna20221150144959627"
}'