Get started
Sandbox & production
Every partner starts in the sandbox: simulated integrations, synthetic customers and no real money. Production is locked until The Alternative Bank approves your go-live.
Environments#
| Sandbox | Production | |
|---|---|---|
| Secret key prefix | sk_test_ | sk_live_ |
| Checkout session IDs | cs_test_… | cs_live_… |
| livemode in responses & events | false | true |
| Customers | Synthetic test identities only | Real customers |
| Credit bureau, statements, ARAF, payments | Simulated (responses carry simulated: true where relevant) | Live Bank integrations |
| Money movement | None | Real vendor payments by the Bank |
| Availability | From sandbox activation | Only after Bank approval (status PRODUCTION_ACTIVE) |
Keys are bound to one environment
403 API_KEY_ENVIRONMENT_MISMATCH. Production key creation fails with 403 PRODUCTION_LOCKED until your partner account is approved for production.Base URL#
All partner API endpoints live under /api/v1. In this sandbox build the base URL is:
https://pay-with-araf.onrender.com/api/v1Your exact base URL is shown in Partner portal → Integration → Overview. The production base URL is issued by the Bank at go-live. Store it in configuration (for example ARAF_API_BASE_URL), not in code.
Keys and livemode#
Every object and webhook event carries livemode. Reject events whose livemode does not match the environment your handler is configured for — a cheap guard against a misconfigured endpoint. Sandbox test events sent from the Partner portal also carry "test": true and use the reference ARAF-TEST-000000.
Going live#
Production activation is a Bank decision with maker-checker approval. Complete the production checklist, then ask your Bank relationship contact to submit your production request. Until then, production remains locked for your account regardless of the keys you hold.