API reference

Webhook event: payment.refunded

The payment.refunded webhook fires when a settled payment is refunded. Its data.object is a payment. A typical handler will reconcile the refund against the balance after verifying the signature. Delivery is <a href="/reference/webhook-delivery-and-retries/">at-least-once and unordered</a>, so handle it <a href="/glossary/idempotency-explained/">idempotently</a>.

2 min read

paymentdata.object type
unorderedDelivery
evt_…Dedup on id

When it fires

payment.refunded is emitted when a settled payment is refunded. A redelivery of the same occurrence carries the same event id.

If your endpoint does not return a 2xx within the timeout, delivery is retried on an exponential backoff schedule — see Webhook delivery and retries. Design your handler to be idempotent so a redelivered event is safe to process twice.

Example delivery

{
  "id": "evt_PAYM9Z",
  "type": "payment.refunded",
  "created": "2026-07-05T12:00:00Z",
  "livemode": true,
  "api_version": "2026-07-01",
  "data": {
    "object": {
      "id": "pay_7M3X1",
      "loan_id": "loan_2K9P4",
      "refund_amount": 2200,
      "currency": "GBP",
      "refund_reason": "overpayment"
    }
  }
}

Handling it

A common handler will reconcile the refund against the balance. Verify the signature, acknowledge with 200 within 10 seconds, then work asynchronously. Guard against out-of-order delivery using the created timestamp, and re-fetch the resource from the API if you need its live state.

Frequently asked questions

Can payment.refunded arrive out of order?

Yes. Webhook delivery is unordered — a retried event can arrive after a newer one. Reconcile with the created timestamp. See Handle out-of-order webhooks.

Should I act on payment.refunded alone?

Treat it as a nudge. For anything that changes money or state on your side, re-read the payment from the API to confirm current state before acting.

Funding for UK limited companies

Credicorp lends to your company, not to you personally — short-term working capital with no personal guarantee. See what your business could access.