v5

latestOpenAPI 3.1.02026-07-262421791.5 MB
webhook-event

Swift message received

Triggered when a SWIFT message (e.g., pacs.008) is received and processed by Wise on behalf of a partner.

  • Event type: swift#message-received
  • Profile level subscriptions: Supported
  • Application level subscriptions: Supported

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.

postWebhookswift#message-received

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

schema_version'4.0.0'

Version of the event schema. Determined by the schema_version on your webhook subscription.

subscription_idstring uuid

ID of the webhook subscription that triggered this event.

event_typestring

Event type identifier

sent_atstring date-time

Timestamp when the event was sent.

Example payload

{
  "schema_version": "4.0.0",
  "subscription_id": "01234567-89ab-cdef-0123-456789abcdef",
  "event_type": "swift#message-received",
  "sent_at": "2025-10-21T12:34:58.123Z",
  "data": {
    "action": {
      "id": 12345,
      "profile_id": 222,
      "account_id": 333
    },
    "occurred_at": "2025-10-21T12:34:56.789Z",
    "resource": {
      "id": "a1b2c3d4e5f6",
      "message_type": "pacs.008.001.08",
      "content": "PD94bWwgdmVyc2lvbj0iMS4wIj8+...",
      "content_encoding": "base64"
    }
  }
}

Response

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

statusstring

Example response

{
  "status": "ok"
}