How Do I View and Manage All Active Virtual Accounts?
Sotonye McLeod Bob-Manuel
Last Update 6 maanden geleden
You can manage your active virtual accounts via the Yativo API. Here’s how:
List All Virtual Accounts
- Use the endpoint: GET /business/virtual-account
- This will return a list of all active virtual accounts for your business.
View Transaction History
- Use the endpoint: GET /business/virtual-account/history/{{accountNumber}}
- Replace {{accountNumber}} with the specific account number to get the transaction history.
Refund a Payment
- Use the endpoint: POST /business/virtual-account/refundPayin/{{transactionId}}
- Replace {{transactionId}} with the ID of the payment you wish to refund.
Delete a Virtual Account
- Use the endpoint: DELETE /business/virtual-account/delete-virtual-account/{{accountId}}
- Replace {{accountId}} with the ID of the virtual account you want to delete.
For additional details, please refer to the Yativo API Documentation.