{
"partnerServiceId": " 60590",
"virtualAccountName": "Toru Yamashita",
"virtualAccountEmail": "toru@oor.com",
"virtualAccountPhone": "0816291271826",
"trxId": "23219829713",
"totalAmount": {
"value": "11500.00",
"currency": "IDR"
},
"additionalInfo": {
"channel": "VIRTUAL_ACCOUNT_BSI",
"virtualAccountConfig": {
"reusableStatus": true
}
},
"virtualAccountTrxType": "1",
"expiredDate": "2023-01-01T10:55:00+07:00"
}
curl --location --request POST '/virtual-accounts/bi-snap-va/v1/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": " 60590",
"virtualAccountName": "Toru Yamashita",
"virtualAccountEmail": "toru@oor.com",
"virtualAccountPhone": "0816291271826",
"trxId": "23219829713",
"totalAmount": {
"value": "11500.00",
"currency": "IDR"
},
"additionalInfo": {
"channel": "VIRTUAL_ACCOUNT_BSI",
"virtualAccountConfig": {
"reusableStatus": true
}
},
"virtualAccountTrxType": "1",
"expiredDate": "2023-01-01T10:55:00+07:00"
}'
{
"responseCode": "2002700",
"responseMessage": "Successful",
"virtualAccountData": {
"partnerServiceId": " 60590",
"customerNo": "00000000000000000001",
"virtualAccountNo": " 6059000000000000000000001",
"virtualAccountName": "Toru Yamashita",
"virtualAccountEmail": "toru@oor.com",
"virtualAccountPhone": "081293912081",
"trxId": "23219829713",
"totalAmount": {
"value": "11500.00",
"currency": "IDR"
},
"virtualAccountTrxType": "1",
"expiredDate": "2023-01-01T10:55:00+07:00",
"additionalInfo": {
"channel": "VIRTUAL_ACCOUNT_BSI",
"howToPayPage": "https://app.doku.com/how-to-pay/virtual-account/mandiri/9596260000000005321/2226240319101120691107165798734001192511",
"howToPayApi": "https://api.doku.com/pay-instruction/mandiri/9596260000000005321/2226240319101120691107165798734001192511"
}
}
}