v1
latestOpenAPI 3.1.02026-07-26500375.1 KBCreate Virtual Account
The following endpoint creates a new virtual account
post/payments/va
Request body
Response
200
Example response
{
"data": {
"customer_id": "cus_abcdefghijklm",
"virtual_account": {
"id": "va_abcdefghjklmn",
"bank_code": "PERMATA",
"account_number": "1234006781234569",
"name": "Dpay Jane Doe",
"is_closed": true,
"amount": 20000,
"currency": "IDR",
"customer_id": "cus_abcdefghijklm",
"created_at": "2025-03-05T02:39:09.738801Z",
"expiry_at": "2025-03-05T12:39:09.744Z",
"va_ref_id": "VA_123"
}
}
}