1. Wallet
OPEN-API
  • API Call Description
  • Constant Declaration
    • Wallet
      • Wallet Status
      • In Out Type
      • Transaction Type
      • Transaction Status
    • Bin
      • Bin Type
      • Bin Mode
      • Bin Status
    • Card
      • Card Status
      • Card Trade
        • Card Trade Type
        • Card Trade Result
    • Order
      • Card Type
      • Order Type
      • Order Status
      • Order Bill
        • Order Bill Type
        • In Out Type
        • Bill Category
    • Payee
      • Payee Status
    • Payment
      • Fee Mode
      • Payment Status
  • Webhook
    • Card Notify
      • Order
      • Card
      • Card Trade
    • Payee Notify
    • Payment Notify
    • Wallet Notify
  • Api
    • Wallet
      • 钱包列表
        POST
      • 钱包详情
        POST
      • 交易流水列表
        POST
      • 交易详情
        POST
      • 获取兑换汇率
        POST
    • Card
      • Bin
        • 卡Bin列表
        • 卡Bin详情
        • 卡Bin费用
        • 卡Bin限制
      • Card
        • 卡列表
        • 卡详情
        • 卡激活
        • 卡冻结
        • 卡解冻
        • 发起销卡
        • 卡交易列表
        • 商户交易评分
      • Order
        • 开卡
        • 卡充值
        • 订单列表
        • 订单详情
      • Holder
        • 持卡人列表
        • 创建持卡人
        • 编辑持卡人
        • 持卡人详情
        • 删除持卡人
    • PayMethod
      • 付款方式
    • Payee
      • 运营资金来源列表
      • 预期付款目的列表
      • 创建收款方
      • 编辑收款方
      • 申请收款方
      • 删除收款方
      • 收款方列表
      • 收款方详情
    • Payment
      • 付款原因
      • 创建付款
      • 付款列表
      • 付款详情
  1. Wallet

钱包详情

POST
/{{version}}/openApi/wallet/getWalletDetail

使用场景#

 获取钱包详情。
请求参数#
Http Post Application/json
字段类型是否必传描述
customer_idlong是客户id
app_idlong是应用id
keystring是授权key
wallet_snstring是钱包 sn
示例
{
    "customer_id": 10001001,
    "app_id": 100001,
    "key": "ae9ae3f5ad284ef4836de18aa3d41c47",
    "wallet_sn": "037c90d5c0204d6c87bf21d569209b3a"
}
响应内容#
字段类型是否必传描述
wallet_idlong是钱包 id
wallet_snstring是钱包 sn
wallet_namestring是钱包名称
customer_idlong是客户 id
currencystring是币种
available_balancefloat是可用余额,单位:元
freeze_balancefloat是冻结余额,单位:元
statusint是状态 1:正常 2:冻结
create_atdatetime是创建时间
示例
{
    "code": 0,
    "message": "success",
    "data": {
        "wallet_id": 100006,
        "wallet_sn": "037c90d5c0204d6c87bf21d569209b3a",
        "wallet_name": "card wallet",
        "customer_id": 10000011,
        "currency": "USD",
        "available_balance": 10165.27,
        "freeze_balance": 1746.62,
        "status": 1,
        "create_at": "2023-10-30 05:35:14"
    }
}

请求参数

Body 参数application/json

示例
{
    "customer_id": 10001004,
    "app_id": 100006,
    "key": "0408ab79eb214e7d81d9fd447b5916a2",
    "wallet_sn": "606abec24dfb4a3d955c189dee8a04f4"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://prod-cn.your-api-server.com/{{version}}/openApi/wallet/getWalletDetail' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer_id": 10001004,
    "app_id": 100006,
    "key": "0408ab79eb214e7d81d9fd447b5916a2",
    "wallet_sn": "606abec24dfb4a3d955c189dee8a04f4"
}'

返回响应

🟢200成功
application/json
Body

示例
{}
修改于 2026-03-19 06:16:48
上一页
钱包列表
下一页
交易流水列表
Built with