Prerequisites: Before you start, make sure you have: - A Maash merchant
account and API key (format:
mk_live_* or mk_test_*) - A webhook endpoint
URL to receive payment notifications - A Solana wallet address for settlementGet started
Get your API key
Sign in to the Maash Dashboard and navigate to Settings > API Keys. Copy your API key. Test keys start with
mk_test_ and live keys start with mk_live_.Redirect your customer
The API returns a Use the
checkout_url_with_token. Redirect your customer to this URL to complete payment.Response
checkout_url_with_token for redirecting customers. This URL contains a secure session token for authentication.Your customer selects a token and chain, scans the QR code or clicks the payment link, and sends the payment from their wallet.Handle the webhook
When the payment completes, Maash sends a Verify the webhook signature before processing. See the Webhooks guide for details.
POST request to your webhook_url:Webhook payload
Next steps
Iframe integration
Embed the checkout widget directly in your page instead of redirecting.
Webhooks
Set up webhook verification and handle all event types.
Checkout flow
Understand the full payment lifecycle.
Supported chains
View all tokens, chains, and confirmation times.
