{
"partnerServiceId": " 19008",
"customerNo": "00000000000000000001",
"virtualAccountNo": " 19008000000000000000000001",
"virtualAccountName": "Customer Name",
"virtualAccountEmail": "customer.email@mail.com",
"virtualAccountPhone": "0816291271826",
"trxId": "23219829713",
"totalAmount": {
"value": "11500.00",
"currency": "IDR"
},
"additionalInfo": {
"channel": "VIRTUAL_ACCOUNT_BCA"
},
"virtualAccountTrxType": "C",
"expiredDate": "2023-01-01T10:55:00+07:00",
"freeText": [
{
"english": "Free text",
"indonesia": "Tulisan Bebas"
}
]
}
curl --location --request POST '/virtual-accounts/bi-snap-va/v1.1/transfer-va/create-va' \
--header 'X-TIMESTAMP;' \
--header 'X-SIGNATURE;' \
--header 'X-PARTNER-ID;' \
--header 'X-EXTERNAL-ID;' \
--header 'CHANNEL-ID;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"partnerServiceId": " 19008",
"customerNo": "00000000000000000001",
"virtualAccountNo": " 19008000000000000000000001",
"virtualAccountName": "Customer Name",
"virtualAccountEmail": "customer.email@mail.com",
"virtualAccountPhone": "0816291271826",
"trxId": "23219829713",
"totalAmount": {
"value": "11500.00",
"currency": "IDR"
},
"additionalInfo": {
"channel": "VIRTUAL_ACCOUNT_BCA"
},
"virtualAccountTrxType": "C",
"expiredDate": "2023-01-01T10:55:00+07:00",
"freeText": [
{
"english": "Free text",
"indonesia": "Tulisan Bebas"
}
]
}'
{
"responseCode": "2002700",
"responseMessage": "Successful",
"virtualAccountData": {
"partnerServiceId": " 19008",
"customerNo": "00000000000000000001",
"virtualAccountNo": " 19008000000000000000000001",
"virtualAccountName": "Customer Name",
"virtualAccountEmail": "customer.email@mail.com",
"virtualAccountPhone": "081293912081",
"trxId": "23219829713",
"totalAmount": {
"value": "11500.00",
"currency": "IDR"
},
"virtualAccountTrxType": "C",
"expiredDate": "2023-01-01T10:55:00+07:00",
"additionalInfo": {
"channel": "VIRTUAL_ACCOUNT_BCA",
"howToPayPage": "https://app.doku.com/how-to-pay/virtual-account/bca/19008000000000000000000001/2226240319101120691107165798734001192511",
"howToPayApi": "https://api.doku.com/pay-instruction/bca/19008000000000000000000001/2226240319101120691107165798734001192511"
}
}
}