React SDK Quickstart
This guide shows the recommended embedded integration for React applications using @mintmoney/react.
Before you start
You need:
- a Mint checkout ID
- a Mint public key for the frontend
- a Mint secret key for your backend
Mint customer integrations should use the production API base URL: https://api.getmint.money.
Install the SDK
Configure the provider
Create payments on your backend
Your backend should call Mint using your secret key and return the Mint payment object to the frontend.
Render checkout
Use the Checkout component inside the provider and hand it a createPayment callback that calls your backend.