Skip to Content

Environment Setup

These environment details apply to both Payment Gateway and Pay to Merchant integrations. Replace sample values with production credentials when moving to live.

ContextVariableTest ValueNotes
Base URLAPI_HOSThttps://staging.cashia.comPre-production cluster for API calls
Hosted CheckoutCheckout URLhttps://staging.cashia.com/link/{merchantName}/{sessionId}Returned when you create a hosted checkout session
CurrencycurrencyKESDefault currency for staging data
Merchant IdentifiermerchantId019a06ee-a28c-760a-9d82-669be5c04ddcSample merchant ID for sandbox testing
Merchant StikamerchantStikaKES_123456Replace with the value assigned to your merchant
Static OTP (staging)otp534789Used during merchant login confirmation in staging

Quick Start Checklist

  1. Credentials – Collect your API key ID and secret from the Cashia dashboard.
  2. Environment variables – Store host, key ID, secret, merchant info, and callback URLs securely.
  3. Callback URLs – Expose successRedirectUrl, errorRedirectUrl, and webhook endpoints over HTTPS.
  4. Sandbox data – Use staging-specific MSISDNs or test accounts when triggering P2M flows.
  5. Production cutover – Request live credentials from Cashia and update the host/base URLs accordingly.

Need API key generation steps? Visit the dashboard quick start for minting or rotating keys.

Last updated on