PaymentVirtual Account

Retrieve a virtual account

GET
/openapi/v1/wallet/virtual-accounts/{virtualAccountNo}

Query the details of a virtual account by its virtual account number. The response fields are the same as the elements of the records array in List virtual accounts.

Authorization

bearerAuth
headerAuthorizationBearer <token>

The access_token obtained from POST /oauth2/token. Header format: Authorization: Bearer {accessToken}.

Path Parameters

virtualAccountNo*string

Virtual account number

Header Parameters

X-Channel-Provider?string

Provider identifier, such as GLDB. Defaults to GLDB if not passed

Default"GLDB"

Response Body

Returns the virtual account details.

application/json
  1. response
code?integer

Business status code

message?string
traceId?string

Request trace ID. Provide it when you contact technical support

data?
Example Request
curl -X GET 'https://api.test.stabofx.com/openapi/v1/wallet/virtual-accounts/1000000001'
Example Response
{  "code": 200,  "message": "OK",  "traceId": "a1b2c3d4-e5f6-7890",  "data": {    "virtualAccountNo": "1000000001",    "accountHolderName": "Example Trading Pte Ltd",    "masterAccountNo": "1000000000",    "currency": "SGD",    "status": "ACTIVE",    "contactName": "Example Contact",    "contactEmail": "contact@example.com",    "contactPhone": "+6500000000",    "bankReference": "REF-EXAMPLE-001",    "openedAt": "2025-12-02T10:15:20",    "closedAt": null,    "createdAt": "2025-12-01T15:30:45",    "updatedAt": "2025-12-02T10:15:20"  }}