{
"partnerServiceId": " 12362",
"customerNo": "6",
"virtualAccountNo": " 123626",
"virtualAccountName": "Customer Name",
"virtualAccountEmail": "customer.email@mail.com",
"virtualAccountPhone": "0816291271826",
"trxId": "23219829713",
"totalAmount": {
"value": "11500.00",
"currency": "IDR"
},
"additionalInfo": {
"channel": "VIRTUAL_ACCOUNT_BRI",
"virtualAccountConfig": {
"reusableStatus": true,
"minAmount": "10000.00",
"maxAmount": "5000000.00"
}
},
"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": " 12362",
"customerNo": "6",
"virtualAccountNo": " 123626",
"virtualAccountName": "Customer Name",
"virtualAccountEmail": "customer.email@mail.com",
"virtualAccountPhone": "0816291271826",
"trxId": "23219829713",
"totalAmount": {
"value": "11500.00",
"currency": "IDR"
},
"additionalInfo": {
"channel": "VIRTUAL_ACCOUNT_BRI",
"virtualAccountConfig": {
"reusableStatus": true,
"minAmount": "10000.00",
"maxAmount": "5000000.00"
}
},
"virtualAccountTrxType": "C",
"expiredDate": "2023-01-01T10:55:00+07:00",
"freeText": [
{
"english": "Free text",
"indonesia": "Tulisan Bebas"
}
]
}'
{
"responseCode": "2002700",
"responseMessage": "Successful",
"virtualAccountData": {
"partnerServiceId": " 12362",
"customerNo": "60000000000000000001",
"virtualAccountNo": " 1236260000000000000000001",
"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_BRI",
"howToPayPage": "https://app.doku.com/how-to-pay/virtual-account/bri/1236260000000000000000001/2226240319101120691107165798734001192511",
"howToPayApi": "https://api.doku.com/pay-instruction/bri/1236260000000000000000001/2226240319101120691107165798734001192511"
}
}
}