{
"order": {
"invoice_number": "INV-{{$timestamp}}",
"amount": 200000
},
"virtual_account_info": {
"virtual_account_number": "8902208137011011",
"expired_time": 60,
"reusable_status": true,
"info1": "Online Shoping 1",
"info2": "Online Shoping 2",
"info3": "Online Shoping 3"
},
"customer": {
"name": "Anton Budiman",
"email": "anton@doku.com"
}
}
curl --location --request POST '/mandiri-virtual-account/v2/merchant-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": 200000
},
"virtual_account_info": {
"virtual_account_number": "8902208137011011",
"expired_time": 60,
"reusable_status": true,
"info1": "Online Shoping 1",
"info2": "Online Shoping 2",
"info3": "Online Shoping 3"
},
"customer": {
"name": "Anton Budiman",
"email": "anton@doku.com"
}
}'
{}