{
"order": {
"invoice_number": "INV-{{$timestamp}}",
"amount": 20000
},
"virtual_account_info": {
"expired_time": 60,
"biling_type" : "FIXED",
"info" : "Product detail here",
"merchant_unique_reference":"UNIQUE_00002"
},
"customer": {
"name": "Anton Budiman",
"email": "anton@doku.com"
}
}
curl --location --request POST '/bni-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,
"biling_type" : "FIXED",
"info" : "Product detail here",
"merchant_unique_reference":"UNIQUE_00002"
},
"customer": {
"name": "Anton Budiman",
"email": "anton@doku.com"
}
}'
{}