列出账户的转账记录
请求
ENDPOINT
/account/ACCOUNT_KEY/pix_transfers方法
GETPath Params
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_key * | uuidv4 | QI 账户的唯一标识键 | 36 |
Query Params
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
pix_transfer_direction | enumerator | 交易方向指示(入账或出账)。如果未发送,则默认为 outgoing | Enumeradores pix_transfer_direction |
request_control_key | uuidv4 | 客户端使用的请求唯一标识键。 | 36 |
end_to_end_id | string | Pix 交易的幂等键 | 32 |
transaction_key | uuidv4 | 账户交易的标识键 | 36 |
order_by | string | "asc" 表示升序,"desc" 表示降序。默认为 "asc" | |
date_from | string | 开始日期。格式 "YYYY-MM-DD" | |
date_to | string | 结束日期。格式 "YYYY-MM-DD" | |
page | integer | 请求的页码。默认值为 1 | |
page_size | integer | 查询中请求的每页大小。默认值和最大值均为 30 | 最大值为 30 |
Enumeradores pix_transfer_direction
| 枚举值 | 描述 |
|---|---|
| incoming | 入账 Pix 转账 |
| outgoing | 出账 Pix 转账 |
响应
STATUS
201Response Body
{
"data": [
{
"request_control_key": "6e290347-330d-4b3a-8ebb-2ac217ad6eb3",
"pix_message": "Bom dia",
"pix_transfer_type": "manual",
"account_key": "fc6862c4-2b20-4057-8063-b8809866e494",
"updated_at": "2021-10-22T20:30:23.459Z",
"created_at": "2021-10-22T20:30:23.459Z",
"target_account": {
"account_branch": "0001",
"account_digit": "3",
"account_number": "12345678",
"owner_document_number": "***02502000***",
"owner_person_type": "legal",
"owner_name": "Qi Tech",
"account_type": "checking_account",
"ispb": "32402502",
"financial_institution_name": "QI SCD",
"pix_key": null
},
"receiver_conciliation_id": null,
"pix_transfer_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"transaction_key": "848d3ff7-4e98-4911-8773-f1d1b48c3068",
"end_to_end_id": "E3240250220211022203051750897529",
"pix_transfer_status": "sent",
"transfer_amount": 126.97,
"fee_amount": 0.0,
"rejection_reason": null,
"reversals": [
{
"end_to_end_id": "D35713491202309182058jlqdBkkHSWU",
"transfer_amount": 0.01,
"reversal_reason": "client_request",
"pix_transfer_status": "received",
"pix_transfer_key": "423866cd-0f3f-4cdd-904b-0d2e33273afd",
"request_control_key": "7c5a1425-73eb-420e-b4fb-0ce3386c7d0a",
"created_at": "2021-10-23T20:30.459Z"
}
]
}
],
"pagination": {
"current_page": 1,
"rows_per_page": 30
}
}
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
| HTTP 状态码 | QI 代码code | 标题title | 描述(英文)Description | 描述(葡文)translation |
|---|---|---|---|---|
| 400 | PXT000075 | Pix Transfer Key or End To End Not Provided | No pix transfer key or end to end id provided. | Não foram fornecidos uma pix transfer key ou end to end id. |
| 404 | PXT000023 | Outgoing PIX Transfer Not Found | Pix transfer key {pix_transfer_key} was not found | Transferência PIX de saída com chave {pix_transfer_key} não foi encontrada. |
| 403 | PIT000001 | User is not allowed to do this transaction | User is not allowed to do this transaction | Usuário não tem autorização para fazer essa transação |