React SDK Quickstart
This guide shows the recommended embedded integration for React applications
using @mintmoney/react. Your backend creates payments; the SDK presents the
checkout inside your app.
Before you start
You need:
- a Mint checkout ID
- a Mint public key for the frontend
- a Mint secret key for your backend
- a Reown project ID for wallet connectivity
Mint customer integrations should use the production API base URL: https://api.getmint.money.
Install the SDK
Create a payment on your backend
Your frontend calls your own server. That server calls Mint with the secret
key, then returns the data object to the browser.
Configure and render checkout
Use MintMoneyProvider once near your application root. Checkout needs a
stable resumeKey and a callback that calls your backend, never Mint directly
from the browser.
Use a webhook on your server to fulfil the order.
The client-side onSuccess callback is for presentation and refreshes, not a
payment-authority signal.