Get Virtual Account Details
GET
/collection-middleware/virtual-account/reference
The Get Virtual Account Details endpoint is used to retrieve the details of a virtual account, such as its account number, name, currency, and status. A partner would call this endpoint to retrieve the current state of a virtual account, typically after creating or updating the account. This endpoint returns the virtual account details in a JSON response.
Query parameters
-
externalReferencePartner reference supplied at creation
Request body (optional)
This endpoint accepts a body with no declared schema.
Response 200
-
successIndicates whether the request was successful
-
externalReferenceA unique reference provided by the external system
-
dataContains the virtual account details
-
accountNumberThe account number associated with the virtual account
-
accountNameThe name associated with the virtual account
-
bankCodeThe unique code assigned to a bank
-
bankNameThe name of the bank associated with the virtual account reference.
-
accountCurrencyThe currency associated with the virtual account
-
accountStatusThe current status of the virtual account
-
-
errorContains error details if the request failed
-
codeA unique code identifying the error
-
messageA description of the error that occurred
-