Regoria API docs

refund.issued

A refund was issued on a charge.

Sent as POST to each of your endpoints subscribed to refund.issued. Verify X-Webhook-Signature before trusting the body; X-Webhook-Delivery is the same across retries of one event, so use it to deduplicate.

Headers

Header Value
X-Webhook-Signature t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with the endpoint secret>. Recompute over the raw body, compare in constant time and reject when |now - t| is above 300 seconds.
X-Webhook-Event The event type, the same as type in the body.
X-Webhook-Delivery The event id (evt_…), stable across retries and replays of the same event.

Payload

The body is the delivery envelope: id, type (refund.issued), version, occurred_at, merchant_id and data.

Field Type Required Description
data.refund_id string yes
data.charge_id string yes
data.order_id string or null no
data.merchant_id string yes
data.amount_cents integer yes
data.currency string yes
data.reason string or null no
data.initiated_by string yes
data.nmi_txn_id string or null no
data.provider_txn_id string or null no
data.occurred_at string (date-time) yes
data.captured_at string (date-time) yes
data.full boolean yes
data.approval_id string or null no
data.request_currency string or null no The currency the platform sent to the processor; currency is the one the processor confirmed
data.request_amount_cents integer or null no The amount sent to the processor, in the request currency's smallest unit
data.processor_rate string or null no The processor's own conversion rate as answered, when it converted
data.processor_rate_ref string or null no The processor's reference of that rate

Example

{
    "id": "evt_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
    "type": "refund.issued",
    "version": 1,
    "occurred_at": "2026-10-21T14:05:00.000Z",
    "merchant_id": "mer_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
    "data": {
        "refund_id": "rfd_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
        "charge_id": "chg_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
        "order_id": "ord_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
        "merchant_id": "mer_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
        "amount_cents": 3139,
        "currency": "USD",
        "reason": "requested_by_buyer",
        "initiated_by": "usr_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
        "nmi_txn_id": "12649462417",
        "provider_txn_id": "12649462417",
        "occurred_at": "2026-10-08T12:00:00.000Z",
        "captured_at": "2026-10-08T12:00:00.000Z",
        "full": true,
        "approval_id": null,
        "request_currency": "USD",
        "request_amount_cents": 3139,
        "processor_rate": null,
        "processor_rate_ref": null
    }
}

Verify the signature before trusting the body and deduplicate on X-Webhook-Delivery: see Webhooks.