webhook_url when you create a checkout session or request a withdrawal. Paysum sends a JSON POST when the resource changes state. Return a 2xx response within 10 seconds.
Payload
The body containsevent, data, and created. The data object describes the session or withdrawal that changed.
Verifying signatures
Find your store’s Webhook signing secret under Integrations → API keys. Keep it on your server. Thex-webhook-signature header uses t=<unix seconds>,v1=<hex>. Paysum computes v1 with HMAC-SHA256 over the timestamp, a dot, and the exact raw body bytes. During the 24-hour period after rotation, the header can have two v1 values. Accept a match against either value.
Buffer, before you parse the JSON. After verification, use the event name and resource ID to prevent duplicate processing.
For requests that must return goods to the buyer, see Dynamic delivery.