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/{{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
POST {{baseUrl}}/virtual-accounts/{account_id}/enable
This endpoint allows you to enable a previously disabled virtual account.
Headers
Content-Type: application/json
Authorization: Bearer {your_api_token}
Path Parameters
account_id
string
Yes
Unique identifier of the virtual account
Example Request
Success (200)
message
string
Success message
account_id
string
Unique identifier of the account
status
string
New status of the account ("enabled")
Example Response
POST {{baseUrl}}/virtual-accounts/{account_id}/disable
This endpoint allows you to disable a virtual account, preventing any further transactions until it is re-enabled.
Headers
Content-Type: application/json
Authorization: Bearer {your_api_token}
Path Parameters
account_id
string
Yes
Unique identifier of the virtual account
Example Request
Success (200)
message
string
Success message
account_id
string
Unique identifier of the account
status
string
New status of the account ("disabled")
Example Response