TestingLive
Sandbox
Use sandbox mode to test checkout sessions, payment links, webhook delivery, and status updates before going live.
Use test keys
- Sandbox secret key prefix: yera_test_sk_
- Live secret key prefix: yera_live_sk_
- Use live keys only in production server environments.
- Test checkout creation, redirect handling, and webhook processing before switching live.
Sandbox request
Create sandbox checkout session
curl -X POST https://sandbox.yeraconnect.io/api/v1/checkout/sessions \
-H "Authorization: Bearer yera_test_sk_your_secret_key" \
-H "Content-Type: application/json" \
-d '{
"amount": 50,
"currency": "EUR",
"destinationAsset": "USDC",
"network": "polygon",
"countryCode": "DE"
}'