Sandbox Console

Prototype live with mock data

Use the client credentials below to fetch a demo OAuth token and test transfers against our mock bank network. Swap in your own credentials once onboarding completes.

OAuth2 token exchange

bash
curl --request POST \
  https://identity.sandbox.pesalink.co.ke/oauth2/token \
  --header "Content-Type: application/x-www-form-urlencoded" \
  --data "grant_type=client_credentials" \
  --data "client_id=sandbox_portal_client" \
  --data "client_secret=<secret>"

Instant payment example

bash
curl --request POST \
  https://api.sandbox.pesalink.co.ke/v1/payments \
  --header "Authorization: Bearer <access_token>" \
  --header "Idempotency-Key: {uuid}" \
  --header "Content-Type: application/json" \
  --data '{
    "sourceAccount": "34002349872",
    "destinationAccount": "017200234987",
    "amount": { "value": 12500, "currency": "KES" },
    "narration": "POS Settlement"
  }'