查询虚拟账户详情
GET
根据虚拟账户号查询账户详细信息。响应参数同查询虚拟账户列表中的 records 数组元素。
bearerAuthheader
鉴权Bearer <令牌>通过 POST /oauth2/token 获取的 access_token。请求头格式为 Authorization: Bearer {accessToken}。
virtualAccountNo*string虚拟账户号
X-Channel-Provider?string渠道提供商标识,如 GLDB。不传时默认 GLDB
默认值
"GLDB"返回虚拟账户详情。
application/json- response
code?integer业务状态码
message?stringtraceId?string请求追踪 ID。联系技术支持时请提供
data?curl -X GET 'https://api.test.stabofx.com/openapi/v1/wallet/virtual-accounts/1000000001'响应示例
{ "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" }}