Reconciling webhooks with their transactions
The body of webhooks contains the "event_type" attribute, which specifies the event that the webhook relates to. These events include create and update events for the following:
The body of webhooks also contains the "action_id" attribute, which identifies the resource to which the webhook relates.
Please note the "action_id" attribute is returned only in Webhook new version 1.0.1.
A refund update webhook will contain the following:
- "event_type" value: "payment.refund.update"
- "action_id" value: abcd-1234-abcd (Refund ID)