Webhook
Webhooks are a way for your application to receive real-time notifications from Spendo. When an event occurs, Spendo will send an HTTP POST request to the webhook's configured URL.
Setting Webhook URL and Secret:
Webhook URL: The URL where you want to receive the notifications.
Webhook Secret: The secret used to create a hash signature of the webhook payload. This signature is sent in the
X-Spendo-Signatureheader of the webhook request and is used to verify the authenticity of the request.
Security:
Spendo uses the webhook secret to generate a secure hash signature of the webhook payload. The signature is included in the
X-Spendo-Signatureheader.You should verify this signature to ensure the webhook request is coming from Spendo.
Last updated