Documentation Index
Fetch the complete documentation index at: https://docs.kryptopay.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Modal does not open
- Confirm
clientSecretis present and current.
Auth errors creating intents
- Verify your backend sends
Authorization: Bearer <api_key>. - Verify key mode/environment matches your test scenario.
React modal never closes
- Wire
onCloseto set youropenstate tofalse.
CORS/network failures
- Check frontend origin policy and server/network access.
- Confirm endpoint path and HTTPS configuration.
POST /v1/payment_intentsmust be called from your backend, not browser code, because it uses an API key.POST /v1/payment_intents/resolveis the browser-facing endpoint and should work from arbitrary merchant domains.- Do not keep API Gateway-managed CORS enabled for this API, because it will conflict with the route-specific Fastify CORS behavior.

