接收退款申请
与违规报告不同,退款申请在符合某些准则的情况下,应尽可能以接受方式关闭,除非账户已关闭或余额不足。因此,客户只会收到有关退款申请状态更新的 webhooks 通知,这不是可争议的,因为通过 MED 提出退款申请的原因要么是已接受的违规报告,要么是其他参与方因运营故障而提出的。
incoming refund request 的 Webhook
incoming refund request 是由另一家银行提出的退款,账户所有者是被争议交易的目标。
Webhook request body
Webhook: incoming refund request
{
"event_datetime": "2024-07-16T16:48:43Z",
"key": "0dedf537-a75e-4945-be1d-5d278c623022",
"data": {
"refund_request_key": "9eb5f452-81fd-4f67-9f2a-49e14e53ef64",
"infraction_report_key": "3541127e-cbc9-44f6-bb0e-3e346ddaefb4",
"target_account_key": "6711e3cf-fdf4-41b4-88e8-0a31cb83b9f4",
"refund_request_type": "fraud",
"blocked_balance_status": "completelly_blocked",
"pix_transfer_key": "957ef961-1824-47e6-90fd-f8b4775a1e1c",
"end_to_end_id": "E12345678202404302308s188f18bJty",
"requesting_participant": "18236120",
"contested_participant": "32402502",
"refund_request_details": null,
"refund_payment_event": null,
"requested_amount": 40,
"refunded_amount": 0,
"refund_request_status": "open",
"analysis_result": null,
"analysis_details": null,
"reject_reason": null,
"updated_at": "2024-07-16T19:48:43Z",
"created_at": "2024-07-16T19:48:43Z"
},
"status": "open",
"webhook_type": "incoming.internal_refund_request"
}
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
event_datetime * | string | 交易创建日期和时间。 | 20 |
key * | string | 事件发送的唯一标识键。 | 32 |
data * | string | incoming refund request 数据对象。 | Objeto incoming_refund_request |
status * | string | 退款状态。 | 枚举值 refund_request_status |
枚举值 refund_request_status
| 枚举值 | 描述 |
|---|---|
open | 申请已收到,待分析。 |
closed | 分析完成,申请已关闭。 |
cancelled | 申请被发起方取消。 |
Objeto incoming_refund_request
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
refund_request_key * | string | 巴西央行中退款的 UUID4 标识符。 | 32 |
infraction_report_key | string | 巴西央行中相关违规的 UUID4 标识符。 | 32 |
target_account_key * | string | 原始交易目标账户的 Account key。 | 32 |
refund_request_type * | string | 退款申请类型。 | 枚举值 refund_request_type |
pix_transfer_key * | string | 原始交易的 Pix transfer key。 | 32 |
end_to_end_id * | string | 原始交易的 end_to_end_id。 | 32 |
requesting_participant * | string | 发起交易的参与者。 | 8 |
contested_participant * | string | 接收交易的参与者。 | 8 |
refund_request_details | string | 由另一参与方发送的退款详情。 | 2000 |
refund_payment_event | string | 退款执行事件。 | Objeto refund_payment_event |
requested_amount * | float | 退款申请金额。 | 2000 |
refunded_amount * | float | 已退款总金额。 | 2000 |
refund_request_status * | string | 退款状态。 | 枚举值 refund_request_status |
analysis_result | string | 分析结果。由 QI Tech 决定。 | 枚举值 refund_request_analysis_result |
analysis_details | string | 分析结果的理由。 | 200 |
reject_reason | string | 申请拒绝原因。 | 枚举值 refund_request_reject_reason |
blocked_balance_status * | string | 目标账户余额冻结状态。 | 枚举值 blocked_balance_status |
created_at * | string | 交易更改日期和时间。 | 20 |
updated_at * | string | 交易创建日期和时间。 | 20 |