跳转至

查询钱包

通过钱包账户id获取钱包账户信息。返回的信息包含钱包余额、钱包状态、国家代码、结算货币和组id。

HTTP请求

GET /v1/accounts/wallet/{{wallet_id}}

Request Headers
{    
    "Content-Type": "application/json",
    "Authorization": "Bearer {{access_token}}",
    "x-api-key": "您分配的api密钥"
}
Content-Type: application/json
{
    "id": "cde5843c-bbd0-46d2-9fbb-27b08f3ad021",
    "balanceInCents": 0,
    "status":"ACTIVE",
    "groupId": "0001",
    "country": "CO",
    "currency": "COP"
}

HTTP Headers 字段说明

Key Value
Content-Type application/json
Authorization Bearer {{access_token}}
x-api-key 您分配的api密钥

路径参数

参数 是否必填 类型 描述
wallet_id String 钱包账户的UUID

Response Body 字段说明

参数 类型 描述
id String 钱包账户的UUID。
balanceInCents Int 钱包账户的余额,单位为分。
status String 钱包账户的状态,枚举:"ACTIVE"。
groupId String 钱包持有人归属的组id或者组名。
country String 钱包账户的国家代码。
currency String 钱包账户的结算货币代码。
回到页面顶部