Webhooks are linked to your MoonPay Commerce account and are authenticated with the HMAC signature in the
X-Signature header, keyed with your webhook’s sharedToken. 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
A uniquesharedToken is generated when you create a webhook and is used as the key for the X-Signature header on each webhook request. Verify the signature to confirm that the webhook is sent from us. See Verifying Webhook Signatures.
JSON
