v5

latestOpenAPI 3.1.02026-07-262421791.5 MB
webhook-event
transfer

Transfer refund

This event provides information about refund amount and currency. Triggered every time a transfer's status becomes funds_refunded.

  • Event type: transfers#refund
  • Profile level subscriptions: Supported
  • Application level subscriptions: Supported

{% admonition type="info" %} In sandbox, the refund amount in this webhook is simulated. It may not reflect the amount in account balances or the sandbox UI. See Simulate transfer state change for details about sandbox refund behaviour. {% /admonition %}

Each event contains a timestamp. Events may not be delivered in the order they occurred. Use data.occurred_at to reconcile the order. See the Event ordering guide for details.

See the Webhooks guide for setup instructions, signature verification, and best practices.

postWebhooktransfers#refund

Headers

X-Signature-SHA256string

RSA-SHA256 signature of the request body, Base64 encoded. Verify this against the Wise public key to ensure the request is authentic and has not been tampered with.

X-Delivery-Idstring uuid

Unique identifier for this webhook delivery attempt.

X-Test-Notificationboolean

Present with the value true if this is a test notification sent to verify your callback URL during subscription setup.

Payload

OR

Example payload

{
  "schema_version": "4.0.0",
  "subscription_id": "01234567-89ab-cdef-0123-456789abcdef",
  "event_type": "transfers#refund",
  "sent_at": "2024-01-01T12:34:56.123Z",
  "data": {
    "resource": {
      "type": "transfer",
      "id": 111,
      "profile_id": 222,
      "account_id": 333,
      "refund_amount": 5000,
      "refund_currency": "EUR"
    },
    "occurred_at": "2024-01-01T12:34:56.789Z"
  }
}

Response

Return any 2xx status to acknowledge receipt of the event.

statusstring

Example response

{
  "status": "ok"
}