Fire Bankingdocs

按 PIX 密钥列出交易

GET /api/pix/transactions/pix-key/{pixKey}

返回与特定 PIX 密钥关联的交易,支持分页。

功能特点:

  • 金额转换为巴西雷亚尔(2 位小数)
  • 状态和类型映射为显示标签
  • 对手方证件已脱敏
  • startDateendDate 之间最大间隔为 31 天
  • 默认 startDate:最近 30 天
  • 最大结果限制为 1000 条

认证

需要在 Authorization 头中提供 Bearer 令牌。

路径参数

参数类型必填描述
pixKeystringPIX 密钥(CPF、CNPJ、手机号、邮箱或随机 EVP 密钥)

查询参数

参数类型必填描述
pageinteger页码(从 1 开始)。默认值:1
sizeinteger每页记录数(最大 1000)。默认值:20
statusstring按状态筛选:PENDINGCONFIRMEDERROR
typestring按类型筛选:PAYMENTWITHDRAWREFUND_INREFUND_OUT
startDatestring开始日期(ISO 8601)。默认值:最近 30 天
endDatestring结束日期(ISO 8601)。默认值:当前日期

响应 (200)

{
  "data": [
    {
      "transactionId": "12345",
      "externalId": "ext-123456",
      "status": "Confirmado",
      "operationType": "Pix in",
      "movementType": "CREDIT",
      "originalAmount": 100.00,
      "feeAmount": 1.00,
      "finalAmount": 99.00,
      "endToEndId": "E12345678901234567890123456789012",
      "createdAt": "2025-01-15T10:30:00.000Z",
      "processedAt": "2025-01-15T10:30:05.000Z",
      "counterpart": {
        "name": "João Silva",
        "document": "***.456.789-**",
        "bank": {
          "bankISPB": "00000000",
          "bankName": "Banco do Brasil",
          "bankCode": "001",
          "accountBranch": "0001",
          "accountNumber": "123456-7"
        }
      }
    }
  ],
  "metadata": {
    "page": 1,
    "size": 20,
    "total": 150,
    "totalPages": 8,
    "hasNext": true,
    "hasPrevious": false
  }
}

错误

状态码描述
400参数无效或日期范围超过 31 天
401令牌缺失或无效

本页目录