Developers

A key only does what its scopes allow. Ask for the narrowest set that does your job — a reporting integration should not hold payments:write.

ScopeGrants
payments:readList payments and batches, read one payment, price a payment, read reference data
payments:writeCreate payments, upload and submit batches, delete an unsubmitted batch
payments:approveApprove a payment or a batch. Also required for a key that auto-approves what it creates
payments:rejectReject a prepared payment or batch
remittances:readDownload a payment's remittance advice
wallets:readRead wallet balances
recipients:readList and read saved recipients
recipients:writeAdd and delete saved recipients
webhooks:manageManage webhook endpoints and read deliveries
events:readRead the event history for replay

Calling an endpoint without its scope is 403 insufficient_scope, and the response names the scope you need in error.fields.required_scope.

Auto-approve#

Every key has an auto-approve setting, chosen when it is issued.

  • Auto-approve on, and the key holds payments:approve — a payment you create is approved and sent to the payout provider in the same request. This is how a key behaves like an Owner or Payer in the apps.
  • Otherwise — the payment is created with status ready_to_process and waits in your company's approval queue, where a person approves it in the ekash app (or another key calls POST /v1/payments/{id}/approve).

The flag alone never approves anything: without the payments:approve scope it is inert. That is deliberate, so "can create payments" and "can release money" stay separable.