Virtual Account Management
Last updated
Last updated
GET {{baseUrl}}
/business/virtual-account
This endpoint allows you to fetch all virtual accounts
Headers
Content-Type: application/json
Authorization: Bearer {your_api_token}
POST {{baseUrl}}/business/virtual-account/show/{{customerID}}
This endpoint allows you to fetch a particular virtual account, effectively marking it as inactive and preventing any further transactions.
Headers
Content-Type: application/json
Authorization: Bearer {your_api_token}
POST {{baseUrl}}/business/virtual-account/delete-virtual-account/{{customerID}}
This endpoint allows you to delete a virtual account, effectively marking it as inactive and preventing any further transactions.
Headers
Content-Type: application/json
Authorization: Bearer {your_api_token}
Path Parameters
customer_id
string
Yes
Unique identifier of the virtual account
Example Request
Success (200)
message
string
Success message
customer_id
string
Unique identifier of the account
status
string
New status of the account ("archived")
Example Response
{"status":"failed","status_code":400,"message":"Request failed","data":{"account_id":"2332e12b-4568-41d7-aefa-00560c5715d9","currency":"MXN","account_info":{"country":"MEX","currency":"MXN","account_number":"646010319801292000","bank_code":"646","bank_name":"Unknown Bank"},"extra_data":null,"request_object":{"address":{"city":"LUGBE","state":"FCT","number":"30","street":"ABC ORJIAKO, TRADEMORE ESTATE","country":"Nigeria","zipcode":"900901"},"country":"MEX","currency":"MXN","beneficiary":{"name":"Emmanuel","type":"INDIVIDUAL","document":{"id":"A10600086","type":"PASSPORT"},"lastname":"Towoju"}},"account_number":"646010319801292000"}}
Bad Request