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
customer_id
string
Yes
Unique identifier of the virtual account
Example Request
Response
Success (200)
message
string
Success message
customer_id
string
Unique identifier of the account
status
string
New status of the account ("archived")
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
account_id
string
Yes
Unique identifier of the virtual account
Example Request
Response
Success (200)
message
string
Success message
account_id
string
Unique identifier of the account
status
string
New status of the account ("enabled")
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
account_id
string
Yes
Unique identifier of the virtual account
Example Request
Response
Success (200)
message
string
Success message
account_id
string
Unique identifier of the account
status
string
New status of the account ("disabled")
Example Response
Last updated