Sandbox and staging

Test on pay.sifalo.net and spay-api.sifalo.net before you go live.

Use staging to test. Live charges real wallets and cards.

Hosts

PortalGatewayCheckout
Stagingpay.sifalo.nethttps://spay-api.sifalo.net/gateway/https://pay.sifalo.net/checkout/
Livepay.sifalo.comhttps://api.sifalopay.com/gateway/https://pay.sifalo.com/checkout/
  1. Sign up at https://pay.sifalo.net/auth/signup
  2. Create API keys
  3. Call https://spay-api.sifalo.net/gateway/ with the same JSON you will use in live

For hosted checkout, get key + token from the staging gateway, then open:

https://pay.sifalo.net/checkout/?key=YOUR_KEY&token=YOUR_TOKEN
⚠️

Staging keys and live keys are not interchangeable. Staging only works on .net. Live only works on .com.

Test wallets

ScenariocodeeDahabPremier WalletWaafi
Success601252621111111 or 62111111100252621111111252631111111 or 631111111
Failed60025262222222200252622222222252632222222 or 632222222
Pending60325265111111100252651111111252633333333 or 633333333
Insufficient60425265222222200252652222222252634444444 or 634444444

eDahab accepts 62… or 25262…. Waafi accepts 61… or 63… (or 25261… / 25263…) — same scenario endings work for both prefixes (e.g. success 252611111111 or 611111111). Premier sandbox ids start with 00. Any other eDahab, Premier, or Waafi number fails (600). EVC, ZAAD, and SAHAL use "gateway": "waafi". Premier Wallet is USD only.

Staging Waafi uses Sifalo’s local mock (not an external Waafi sandbox). Verify returns status: success, pending, or failed (never failure).

curl -X POST "https://spay-api.sifalo.net/gateway/" \
  -u "$SIFALO_API_USER:$SIFALO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "account": "252621111111",
    "gateway": "edahab",
    "amount": "1",
    "currency": "USD",
    "order_id": "SBX-1"
  }'

You should get code 601. Save sid.

Test cards

Use these on hosted checkout at pay.sifalo.net only. Not on live, and not a real card.

NumberExpiryCVV
Mastercard512345000000000801/39100
Visa450875001574101901/39100

Go live

  1. Sign up on pay.sifalo.com and create live keys
  2. Point your server at https://api.sifalopay.com/gateway/
  3. Redirect checkout to https://pay.sifalo.com/checkout/?key=&token=
  4. Use real customer wallets and cards

Did this page help you?