CSL Pay Developers

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

NameTypeDescription
externalReference string Partner reference supplied at creation

Request body (optional)

This endpoint accepts a body with no declared schema.

Response 200

FieldTypeDescription
success boolean
externalReference string
data object
accountNumber string
accountName string
accountCurrency string
accountStatus string
error object
code string
message string