Skip to content

Allocations state changed
Webhook

Request

Triggered when a settlement allocation request changes state.

  • Event type: allocations#state-changed
  • Profile level subscriptions: Not supported
  • Application level subscriptions: Supported

Events may not be delivered in the order they occurred. Use data.resource.occurred_at to reconcile the order.

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

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.

Example:t7FMhk3OARMgwqz0LJXO...
X-Delivery-Idstring, (uuid)

Unique identifier for this webhook delivery attempt.

Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
X-Test-Notificationboolean

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

Example:true
Bodyapplication/json
schema_versionstringrequired

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

Value:"4.0.0"
Example:"4.0.0"
Discriminator
subscription_idstring, (uuid)required

ID of the webhook subscription that triggered this event.

Example:"01234567-89ab-cdef-0123-456789abcdef"
event_typestringrequired

Event type identifier

Example:"allocations#state-changed"
sent_atstring, (date-time)

Timestamp when the event was sent.

Example:"2020-01-01T12:34:56.123Z"
dataobjectrequired
Payload
{ "schema_version": "4.0.0", "subscription_id": "01234567-89ab-cdef-0123-456789abcdef", "event_type": "allocations#state-changed", "sent_at": "2020-01-01T12:34:56.123Z", "data": { "resource": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "event_type": "funds-allocation-state-change", "occurred_at": "2020-01-01T12:34:56.789Z", "data": { … } } } }

Responses

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

Bodyapplication/json
statusstring
Example:"ok"
Response
{ "status": "ok" }