Webhook requests will contain 6 main key-value pairs:
Reports the current status of the order, can take the values of "created", "authorized", "charged", "refunded", "partially_refunded", "voided", "expired", "refunded_not_charged", "not_created". The list of statuses may change in the future, so it is not advised to hardcode the set of values to expect.
The correlation id from the merchant, typically the order id.
The total amount in cents e.g. €10 is 1000
The refund amount in cents, only for refund events
The cumulative refund amount in cents, only for refund events