Webhooks are linked to your MoonPay Commerce account and are authenticated using a
sharedToken — included as both a Bearer token in the Authorization header and as the key for the HMAC signature in the X-Signature header. You can generate your API key in the dashboard. Webhooks are supported for Pay Links on Solana, Ethereum, Base, Polygon, and BTC, as well as Subscriptions on Solana.Webhook Request Headers
Every webhook delivery includes the following HTTP headers:For a step-by-step guide on verifying the
X-Signature header with code examples in Node.js and Python, see Verifying Webhook Signatures in the Webhooks guide.Webhook Types
Authenticating Webhooks with Bearer Token
A unique token generated at webhook creation is included with each webhook request as anAuthorization: Bearer <sharedToken> header, verifying that the webhook is sent from us.
JSON
