Skip to content
Menu

Pay out sellers and partners from your own system.

Create, approve and track payments through the ekash API, with the same checks as the app, signed webhooks for every status change and a sandbox for testing.

The same payouts, driven by your software

Everything your team does in the app, your system can do through the API: get a quote, create a payment to a bank account or to an email address, approve or reject it, look up wallets and recipients, and download a remittance advice. Batches use the same spreadsheet templates as the app, with up to 100 payments each.

Payments created through the API follow the same rules as payments created by a person, including the checks on the recipient and your wallet balance.

curl -X POST https://ekash.ai/v1/payments \
  -H "Authorization: Bearer $EKASH_API_KEY" \
  -H "Idempotency-Key: inv-2026-0417" \
  -d '{
    "rail": "bank",
    "amount": "1250.00",
    "currency": "USD",
    "source_currency": "USD",
    "target_currency": "GBP",
    "fee_bearer": "sender",
    "reference": "INV-2026-0417",
    "recipient": { "name": "Jane Contractor", "country_code": "GB", ... }
  }'

Webhook delivered to your server

{ "type": "payment.sent",
  "data": { "id": "4210", "status": "sent" } }

Safe to retry

Every payment you create carries an Idempotency-Key. If your system retries after a timeout, ekash recognises the request and returns the original payment instead of paying twice. The same key with a different request is refused.

Errors come back in one consistent format with stable codes, and every response carries a request ID you can quote to support.

Signed webhooks for every status change

ekash notifies your server when a payment is created, approved, sent, received, refunded or canceled, and when a batch is submitted or approved. Each delivery is signed so you can check it came from ekash, and is retried with increasing delays if your server is unavailable.

If you miss events, you can replay them from the event history.

  • HMAC signature on every delivery
  • Automatic retries if your endpoint is down
  • Delivery log and manual retry
  • Replay past events on request

Keys you control, and a sandbox to test in

The ekash team issues API keys for your company on request. Each key is shown once and stored only as a hash, so ekash cannot show it to you again. Limit what a key can do with scopes, restrict it to your server's IP addresses, set a daily payment cap, and decide whether it approves payments on its own.

Test keys work against the sandbox, where nothing you do moves real money. Switch to a live key when you are ready.

Documentation for developers

The developer documentation covers authentication, payments, batches, recipients, wallets and webhooks, with sample code for verifying signatures, an OpenAPI specification and a Postman collection. You will find it at ekash.ai/developers.

Questions

How do I get an API key?

Contact the ekash team. An ekash administrator issues keys for your company, and each key is shown once when it is created. Payments through the API need a verified account, as in the app.

Is there a sandbox?

Yes. Test keys work against a sandbox where no real money moves, so you can build and test before going live.

Can the API approve payments by itself?

It can, if you set that up. Each key has its own setting for auto-approval, so you can keep payments waiting for a person to approve in the app instead.

How do I know a webhook really came from ekash?

Every webhook carries a signature computed with your webhook secret over the timestamp and body. Verify it before you act on the event. The documentation includes sample code.

Can I pay many recipients in one request?

Yes. Upload a batch of up to 100 payments using the same templates as the app, then submit and track it.

Related

Plan your payouts integration with us.

Tell us what you pay out and to whom, and we will help you scope a sandbox integration.