Skip to main content
For an overview of our Webhooks, view our Guide. For code samples, explore our Recipes.
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 unique sharedToken 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
Note: Retain this token, as it is required to verify webhook signatures and to delete webhooks if needed. The sections below redirect to the dedicated webhook pages. They remain here so older deep links continue to resolve.

Authenticating Webhooks with Bearer Token

See Authenticating Webhooks.

Pay Link Webhook Payload Example

See Pay Link webhooks and Pay Link payload reference.

Subscription Webhook Payload Examples

See Subscription webhooks and Subscription payload reference.

Deposit Webhooks

See Deposit webhooks.

Below-Minimum Deposit Alerts

See Below-minimum deposit alerts.

Under-Review Deposit Alerts

See Under-review deposit alerts.

Deposit-Customer Quota alerts

See Deposit-customer quota alerts.

Withdrawal Webhooks

See Withdrawal webhooks.