The virtual account API allows users to create virtual accounts and get transaction notifications. These virtual accounts can be used to track transactions and accept customer payments.
The API is designed to easily integrate existing systems using standard HTTP requests and responses. Overall, the virtual account API provides a powerful and flexible solution for managing virtual accounts and streamlining payment processes for businesses of all sizes. The API takes in the necessary information such as the account label and creates virtual accounts for the merchants. This allows the merchants to receive payments through bank transfer.
Request
METHOD: POST
Test URL: https://qa-dev.hydrogenpay.com/qa/api/v2/vpay/virtual-account
Live URL: https://api.hydrogenpay.com/api/v2/account/virtual-account
Request parameters
Mandatory | Type | Name | Comment |
---|---|---|---|
Yes | String | accountLabel | The label must be a unique identity on a per-user basis. Merchants can not have multiple accounts with the same account label. Name of the new account being created. MERCHANT NAME - ACCOUNT LABEL |
Response Parameters
Name | Type | Description |
---|---|---|
statusCode | Integer | Response status code. See status codes. |
message | String | Description. |
data | Object | See Data description. |
Below are the parameters of the data block
Name | Type | Description |
---|---|---|
accountLabel | String | Account Label Generated |
accountName | String | Full Account Name |
account | String | Unique Account Number |
bankName | String | Bank Name |
Sample Request
{
"accountLabel": "string"
}
Sample Response
{
"statusCode": "90000",
"message": "success",
"data": {
"accountLabel": "Test Account",
"accountName": "HYDROGENCO- LAMI LAMO-TEST ACCOUNT",
"account": "1717714550",
"bankName": "Access Bank"
}
}