Improved

Webhook Events: endpointUrl and resource codes on event detail

GET /webhook_events/{webhookId} now returns endpointUrl, the endpoint the event was delivered to, and the resource codes carried in the webhook payload, so you can trace a delivery back to the payment, refund or payout it reports.

Only the codes that apply to the event are set: paymentCode and invoiceCode for payment events (paymentCompleted, paymentUnderpaid, paymentOverpaid, paymentInReview, paymentActionRequired, balanceCredited), refundCode and invoiceCode for refundCompleted, cryptoPayoutCode for cryptoPayout events and fiatPayoutCode for fiatPayout events. Every key is always present and is null when it does not apply.

Affected: GET /webhook_events/{webhookId}

See the API reference for the response fields.