callback_url. See Validating callbacks for that flow.
The
checkout_authorization event delivers the same payload as the session callback_url. Use a webhook subscription when you want account-wide delivery instead of configuring a callback_url on every session.Set up webhooks via API
Create a subscription with POST /accounts/{aid}/hooks/subscriptions. In the request you define:config.url— the public HTTPS URL that receives the event payloadsevents— the list of event types to subscribe toconfig.secret— an optional secret used to sign deliveries (see Verify event signature)
Set up webhooks via Backoffice
In Dintero Backoffice, go to Settings → Webhooks to create and manage subscriptions without using the API.Verify event signature
To confirm that a request originated from Dintero, create the subscription with anHMAC-SHA1 secret. Each delivery then includes an event-signature header containing the HMAC-SHA1 digest of the request body, computed with your secret.
Dintero does not use a TLS or signing certificate to sign webhooks. Authenticity is verified with a shared secret (config.secret) that you set when creating the subscription, using HMAC-SHA1.
The webhook subscription API signs deliveries with HMAC-SHA1. This is separate from the Checkout
callback_url signature, which uses HMAC-SHA256. See Validating callbacks.