Sell transaction requote required webhook
Overview
Thesell_transaction_requote_required webhook notifies partners when a sell transaction requires a requote due to price changes or other market conditions.
This webhook enables partners to surface requote notifications in-app, providing a better user experience than email-only notifications.
Webhook Type: sell_transaction_requote_required
Note: API Reference coming soon!
Use case
When a sell transaction requires a requote, users traditionally receive only an email notification. This approach has several limitations:- Users may not check their email immediately
- Email notifications can be missed or filtered to spam
- There’s no in-app acknowledgment of the requote
- Display in-app notifications when requotes occur
- Prompt users to accept new quotes within your application
- Provide a smooth, high-intent user experience
- Reduce transaction abandonment due to missed requotes
Webhook payload
The webhook delivers a JSON payload with the following structure.Example payload
Field descriptions
Subscribing to the webhook
To receivesell_transaction_requote_required webhooks:
- Configure your webhook endpoint in the MoonPay Dashboard or via API.
-
Add the webhook type to your subscription:
- Navigate to Settings → Webhooks in your MoonPay Dashboard
- Select
sell_transaction_requote_requiredfrom the available webhook types - Make sure your endpoint is configured to handle
POSTrequests
- Verify your endpoint is properly configured and can receive webhooks.
Implementation guidelines
1
Webhook receipt
Your endpoint should:
- Respond with a
200 OKstatus code within 10 seconds - Process the webhook asynchronously if needed
- Implement idempotency (handle duplicate webhook deliveries)
2
User notification
When receiving this webhook:
- Display an in-app notification to the user
- Show the updated
quoteCurrencyAmountclearly - Provide a clear call-to-action to accept or decline the new quote
- Include a timeout/expiration time for the requote
3
User action
Allow users to:
- Accept the new quote and continue the transaction
- Decline and cancel the transaction
- View the price difference between original and requoted amounts
4
Security
- Verify webhook signatures to confirm authenticity (see Webhook security section)
- Use HTTPS endpoints only
- Validate the webhook payload structure before processing
Testing
Sandbox environment
Test the webhook in the MoonPay sandbox environment before going live:- Use sandbox API keys from your MoonPay Dashboard
- Configure your webhook endpoint to receive sandbox webhooks
- Trigger test requotes to verify your implementation
Verification checklist
- Webhook endpoint responds with
200 OK - In-app notification displays correctly
- User can accept the new quote
- User can decline the requote
- Idempotency is handled properly
- Webhook signature verification is implemented
Related webhooks
Other sell transaction webhooks you may want to subscribe to:sell_transaction_created– When a sell transaction is initiatedsell_transaction_completed– When a sell transaction completes successfullysell_transaction_failed– When a sell transaction fails
Support
For questions or issues with this webhook:- Email: support@moonpay.com