钱包列表

您的静态钱包列表

GET

https://api.fps.pro/invoices/wallet

请求格式pathParam

order_id

string

您系统中的订单 ID

token

string

创建静态钱包时使用的代币代码

network

string

创建静态钱包时使用的网络代码

page

integer

分页

默认值: 1

响应格式data object

data[].id

uuid

静态钱包 ID

data[].order_id

string

您系统中的订单 ID

data[].address

string

接收付款的最终地址

data[].token

string

代币代码

data[].network

string

网络代码

请求示例

curl --request GET 'https://api.fps.pro/invoices/wallet/?order_id=ORD-1001&token=tether&network=tron&page=1' \
  --header 'X-Client-Id: YOUR_CLIENT_ID' \
  --header 'X-Timestamp: 1720000000' \
  --header 'X-Signature: YOUR_HMAC_SHA256_SIGNATURE'

成功响应

{
  "status": 200,
  "message": "ok",
  "data": [
    {
      "id": "95b97d47-4f0f-4822-8f26-4c3550fd1b7a",
      "order_id": "order-1001",
      "address": "TQ5x...abc",
      "token": "tether",
      "network": "tron"
    }
  ],
  "meta": {
    "total": 1,
    "page": 1,
    "per_page": 20,
    "last_page": 1
  }
}

错误

详细的授权错误列表位于 授权 - 错误

{
  "status": 422,
  "message": "Validation Error",
  "errors": [
    {
      "field": "page",
      "message": "page must be positive int"
    }
  ]
}
{
  "status": 400,
  "message": "Token is not exist"
}
{
  "status": 400,
  "message": "Network is not exist"
}
{
  "status": 500,
  "message": "Internal Server Error"
}