{
"order": {
"invoice_number": "INV-{{$timestamp}}",
"amount": 20000
},
"virtual_account_info": {
"expired_time": 60,
"reusable_status": true,
"ref_info" : [
{
"ref_name": "kota",
"ref_value": "bekasi"
},
{
"ref_name": "provinsi",
"ref_value": "jawa barat"
}
]
},
"customer": {
"name": "Anton Budiman",
"email": "anton@doku.com"
}
}
curl --location --request POST '/cimb-virtual-account/v2/payment-code' \
--header 'Client-Id: {{client_id}}' \
--header 'Request-Id: {{request_id}}' \
--header 'Request-Timestamp: {{request_timestamp}}' \
--header 'Signature: {{signature}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"order": {
"invoice_number": "INV-{{$timestamp}}",
"amount": 20000
},
"virtual_account_info": {
"expired_time": 60,
"reusable_status": true,
"ref_info" : [
{
"ref_name": "kota",
"ref_value": "bekasi"
},
{
"ref_name": "provinsi",
"ref_value": "jawa barat"
}
]
},
"customer": {
"name": "Anton Budiman",
"email": "anton@doku.com"
}
}'
{}