{
"order": {
"invoice_number": "INV-20201223-00001",
"amount": 40000
},
"virtual_account_info": {
"expired_time": 60,
"virtual_account_number" : "6059000000000160",
"info1": "Online Shoping 1",
"info2": "Online Shoping 2",
"info3": "Online Shoping 3"
},
"customer": {
"name": "Anton Budiman",
"email": "anton@doku.com"
}
}
curl --location --request PATCH '/bsm-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-20201223-00001",
"amount": 40000
},
"virtual_account_info": {
"expired_time": 60,
"virtual_account_number" : "6059000000000160",
"info1": "Online Shoping 1",
"info2": "Online Shoping 2",
"info3": "Online Shoping 3"
},
"customer": {
"name": "Anton Budiman",
"email": "anton@doku.com"
}
}'
{}