Buy
transaction_created
Sent when a customer creates a Buy transaction in the widget.
WEBHOOK
Headers
Signature to verify the event was sent by MoonPay: t=<unix timestamp>,s=<signature> where the signature is an HMAC-SHA256 of <timestamp>.<request body> keyed with your account's webhook API key. See Request signing.
Body
application/json
The Buy transaction object as delivered in webhook events. Matches the Get Buy transaction response, plus webhook-only fields such as stages, cardType and nftToken.
Response
200
Return any 2xx status code within 5 seconds to acknowledge receipt. Non-2xx responses, timeouts and connection errors are retried with exponential backoff.