Retrieve Virtual Account Information
GET
/collection-middleware/virtual-account/reference
The Get Virtual Account endpoint is used to retrieve a virtual account reference, which is required for subsequent transactions. A partner would call this endpoint when they need to obtain a virtual account reference for a new transaction. This endpoint returns the virtual account details, including the account number, name, currency, and status.
Query parameters
| Name | Type | Description |
|---|---|---|
| externalReference | string | Partner reference supplied at creation |
Request body (optional)
This endpoint accepts a body with no declared schema.
Response 200
| Field | Type | Description |
|---|---|---|
| success | boolean | — |
| externalReference | string | — |
| data | object | — |
| accountNumber | string | — |
| accountName | string | — |
| accountCurrency | string | — |
| accountStatus | string | — |
| error | object | — |
| code | string | — |
| message | string | — |