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

NameTypeDescription
statusCodeIntegerRequest status code. See status codes.
messageStringDescription.
dataObjectSee Data description.

Below are the parameters of the data block

MandatoryNameTypeDescription
YesaccountLabelString
YesaccountNameStringnew account name
YesmerchantIdString
YesaccountStringunique account number
YesusersString
YeslocationString

Sample Response

{
    "statusCode": "90000",
    "message": "Success",
    "data": [{
        "accountLabel": "ACCOUNT-98515",
        "accountName": "HYDROGENCO- BINGO",
        "merchantId": "503030304962",
        "account": "1717708252",
        "users": [],
        "location": null
    }]
}