Backend Payment Creation
Mint payments should be created on your backend, never in the browser.
Create a payment
Send a POST request to /v1/payments.
For customer integrations, use the production Mint API base URL and a test checkout when validating the flow.
Practical guidance
- Validate amount and currency before calling Mint.
- Keep your secret key in server-side environment variables only.
- Attach your own order and customer references at payment creation time.
- Persist the Mint payment ID in your own system for reconciliation.