Get Virtual Account endpoint complements our Virtual Account API, allowing users to effortlessly retrieve essential information about the virtual accounts they've created.
With this endpoint, users can access detailed insights into their virtual accounts, providing a comprehensive overview of account names, users, locations and lots more. Seamlessly integrated into your existing systems through standard HTTP requests and responses, the Fetch Virtual Account Details API ensures a user-friendly and efficient experience.
To get details of the virtual account you call the endpoint below.
Request
METHOD: GET
Test URL: https://qa-dev.hydrogenpay.com/qa/api/v2/account/virtual-account
Live URL: https://api.hydrogenpay.com/api/v2/account/virtual-account
Response Parameters
Name | Type | Description |
---|---|---|
statusCode | Integer | Request status code. See status codes. |
message | String | Description. |
data | Object | See Data description. |
Below are the parameters of the data block
Mandatory | Name | Type | Description |
---|---|---|---|
Yes | accountLabel | String | |
Yes | accountName | String | new account name |
Yes | merchantId | String | |
Yes | account | String | unique account number |
Yes | users | String | |
Yes | location | String |
Sample Response
{
"statusCode": "90000",
"message": "Success",
"data": [{
"accountLabel": "ACCOUNT-98515",
"accountName": "HYDROGENCO- BINGO",
"merchantId": "503030304962",
"account": "1717708252",
"users": [],
"location": null
}]
}