每当客户的定期付款失败时,我需要向客户发送定制通知,这可能是资金不足或卡过期或被银行拒绝。我看到net.authorize.payment.fraud.declined
了 webhook,但它是否适用于 ARB 失败付款?
问问题
85 次
1 回答
0
这net.authorize.payment.capture.created
就是你要找的。该有效载荷内部将是一个类似于以下内容的主体:
{
"notificationId": "d0e8e7fe-c3e7-4add-a480-27bc5ce28a18",
"eventType": "net.authorize.payment.authcapture.created",
"eventDate": "2017-03-29T20:48:02.0080095Z",
"webhookId": "63d6fea2-aa13-4b1d-a204-f5fbc15942b7",
"payload": {
"responseCode": 1,
"merchantReferenceId": "19102146534003137356",
"authCode": "LZ6I19",
"avsResponse": "Y",
"authAmount": 45.00,
"entityName": "transaction",
"id": "60020981676"
}
}
您将需要查找responseCode
值为 的2
表示拒绝付款。
于 2021-06-28T13:24:42.450 回答