Virtual Account Management
Fetch Virtual Accounts
Endpoint
GET {{baseUrl}}
/business/virtual-account
Description
This endpoint allows you to fetch all virtual accounts
Request
Headers
Content-Type: application/json
Authorization: Bearer {your_api_token}
Fetch Virtual Account
Endpoint
POST {{baseUrl}}/business/virtual-account/{{customerID}}
Description
This endpoint allows you to fetch a particular virtual account, effectively marking it as inactive and preventing any further transactions.
Request
Headers
Content-Type: application/json
Authorization: Bearer {your_api_token}
Delete Virtual Account
Endpoint
POST {{baseUrl}}/business/virtual-account/delete-virtual-account/{{customerID}}
Description
This endpoint allows you to delete a virtual account, effectively marking it as inactive and preventing any further transactions.
Request
Headers
Content-Type: application/json
Authorization: Bearer {your_api_token}
Path Parameters
Example Request
Response
Success (200)
Example Response
Enable Virtual Account
Endpoint
POST {{baseUrl}}/virtual-accounts/{account_id}/enable
Description
This endpoint allows you to enable a previously disabled virtual account.
Request
Headers
Content-Type: application/json
Authorization: Bearer {your_api_token}
Path Parameters
Example Request
Response
Success (200)
Example Response
Disable Virtual Account
Endpoint
POST {{baseUrl}}/virtual-accounts/{account_id}/disable
Description
This endpoint allows you to disable a virtual account, preventing any further transactions until it is re-enabled.
Request
Headers
Content-Type: application/json
Authorization: Bearer {your_api_token}
Path Parameters
Example Request
Response
Success (200)
Example Response
Last updated