Developers

Every endpoint of the ekash API v1, generated from its OpenAPI document.

Base URLs#

  • Sandbox https://stage.ekash.ai/dev
  • Production https://ekash.ai

Essentials#

Send payments from your ekash wallets — single or in batches — and track them to settlement.

Authentication. Every request needs your API key: Authorization: Bearer ek_live_… (or X-API-Key). Keys are issued per company by an ekash administrator, carry scopes, and are shown exactly once. A key beginning ek_test_ belongs to the sandbox.

Errors. Failures use real HTTP status codes and a single error shape: { "error": { type, code, message, fields, request_id } }. Branch on code, not on message.

Idempotency. POST /v1/payments requires an Idempotency-Key header. Replaying it returns the original payment with Idempotent-Replayed: true.

Rate limits. Per key, per minute. Every response carries X-RateLimit-Limit and X-RateLimit-Remaining; a 429 carries Retry-After.

Money is always a string with 2 decimals next to an ISO currency code. Timestamps are RFC 3339 UTC.

Endpoints#

Payments

Create, price, approve, reject and track payments

Batches

Upload, validate, submit and approve batches of payments

Recipients

Saved payees you can pay by id

Wallets

Balances of the company's currency wallets

Reference data

Supported currencies and per-country bank field requirements

Webhooks

Register endpoints, inspect deliveries and retry failures

Events

Replay the webhook event history

Schemas#

The schema index lists every object the API sends or accepts.