查询出站 Pix 转账
Request
ENDPOINT
/baas/pix/pix_transferMÉTODO
GET路径参数
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
end_to_end_id | string | 巴西中央银行中某笔交易或查询的唯一标识密钥。例如:E3240250220210615135810450327042 | 32 |
pix_transfer_key | string | QI 系统中 Pix 转账的识别密钥(UUIDv4) | 36 |
信息
必须发送 end_to_end_id 或 pix_transfer_key,两者中只需提供一个。
注意
仅当请求方对交易出账账户拥有权限时,才允许查看该笔转账。否则将返回错误。
Response
STATUS
200Response Body
{
"billing_account_key": null,
"created_at": "2021-03-12T20:39:06",
"description": null,
"end_to_end_id": "E3240250220210615135810450327042",
"external_analysis": null,
"fee_amount": 2.0,
"initiator_document_number": null,
"pix_message": null,
"pix_transfer_key": "2c7e71f6-d2a3-4f2d-8243-9b28523e9c95",
"pix_transfer_status": "rejected",
"pix_transfer_type": "key",
"receiver_conciliation_id": null,
"sent_at": null,
"source_account_key": "23a4a2c8-9d82-4ebe-a90d-44fe8d839ec0",
"target_account": {
"account_branch": "0001",
"account_digit": "6",
"account_number": "99031",
"account_type": null,
"financial_institution_compe_number": 341,
"financial_institution_name": "ITAÚ UNIBANCO S.A.",
"is_internal": false,
"ispb_number": "60701190",
"owner_document_number": "40569499801",
"owner_name": "Nuno Reis",
"target_pix_key": "rafaell@yopmail.com"
},
"transaction_key": "2ddc2843-5930-460f-9a3c-436f40ecc5f1",
"transfer_amount": 10.0,
"transfer_purpose": "transfer",
"update_at": null
}
STATUS
400Response Body: 缺少必填参数
{
"title": "Pix Transfer Key or End To End Not Provided",
"description": "No pix transfer key or end to end id provided.",
"translation": "Não foram fornecidos uma pix transfer key ou end to end id.",
"code": "PXT000075"
}
STATUS
404Response Body: 通过 end_to_end_id 未找到 Pix 转账
{
"title": "Outgoing PIX Transfer Not Found",
"description": "Pix transfer end to end id \{end_to_end_id\} was not found",
"translation": "Transferência PIX de saída com identificador único \{end_to_end_id\} não foi encontrada",
"code": "PXT000073"
}
STATUS
404Response Body: 通过 pix_transfer_key 未找到 Pix 转账
{
"title": "Outgoing PIX Transfer Not Found",
"description": "Pix transfer key \{pix_transfer_key\} was not found",
"translation": "Transferência PIX de saída com chave \{pix_transfer_key\} não foi encontrada.",
"code": "PXT000023"
}
STATUS
403Response Body: 用户无凭证
{
"title": "User is not allowed to do this transaction",
"description": "User is not allowed to do this transaction",
"translation": "Usuário não tem autorização para fazer essa transação",
"code": "PIT000001"
}
PixTransfer Status 枚举值
| 枚举值 | 描述 |
|---|---|
sent | 转账已发送 |
rejected | 转账已拒绝 |
pending_confirmation | 转账待确认 |
pending_approval | 转账待审批 |
error | 转账出错 |