待处理交易 Webhook
用于通知原本以待处理状态响应(返回 http status 202)的交易完成情况的 Webhook。
Webhook 请求体
请求体:已发送交易
{
"webhook_type": "baas.pix_transfer.outgoing_pix",
"webhook_datetime": "2021-10-22T20:30:23.459Z",
"data": {
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"pix_transfer_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"pix_transfer_status": "sent",
"created_at": "2021-10-22T20:30:23.459Z"
}
}
请求体:已拒绝交易
{
"webhook_type": "baas.pix_transfer.outgoing_pix",
"webhook_datetime": "2021-10-22T20:30:23.459Z",
"data": {
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"pix_transfer_key": "8cb70dea-9fb0-4a68-9572-99a72849c8d6",
"pix_transfer_status": "rejected",
"created_at": "2021-10-22T20:30:23.459Z",
"error_code": "PXT000132",
"error_description": "Target account number is invalid.",
"error_translation": "Número da conta de destino é inexistente ou inválido.",
"error_short_description": null
}
}
Webhook 请求体参数
| 字段 | 类型 | 描述 | 最大字符数 |
|---|---|---|---|
webhook_type | string | 定义所报告事件类型的枚举值。 | 23 |
webhook_datetime | string | Webhook 发送的日期和时间。 | 20 |
request_control_key | string | 用于查询所发请求的 UUID4。 | 36 |
pix_transfer_key | string | 在 QI 系统中识别 PIX 转账的密钥。 | 36 |
pix_transfer_status | string | 交易状态。 | 200 |
created_at | string | 交易创建的日期和时间。 | 20 |