v1
latestOpenAPI 3.1.02026-07-26500375.1 KBPatch Virtual Accounts By ID
The following endpoint is used to override Expiry Time of a single Virtual Account.
patch/payments/va/{id}
Path parameters
idstring required
Unique identifier of the Virtual Account to be retrieved
Request body
Response
200
Example response
{
"data": {
"virtual_account": {
"id": "va_sample_EwCm3LrPqE5184",
"bank_code": "PERMATA",
"account_number": "88565004532522",
"name": "Ardi Hanan Durian",
"is_closed": true,
"amount": 123456,
"currency": "IDR",
"customer_id": "cus_akA2FwrR5B2217",
"is_sandbox": true,
"created_at": "2022-06-27T02:52:30.236901Z",
"expiry_at": "2022-06-29T05:40:59.795448Z",
"is_disabled": true,
"is_reusable": true,
"min_amount": 50000,
"va_ref_id": "1234412"
},
"virtual_account_status": "VirtualAccountSuccess",
"customer": {
"id": "cus_akA2FwrR5B2217",
"email": "p.ardi.h@gmail.com",
"mobile": "+628978678578"
}
}
}