Guides
Scopes & auto-approve
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.
| Scope | Grants |
|---|---|
payments:read | List payments and batches, read one payment, price a payment, read reference data |
payments:write | Create payments, upload and submit batches, delete an unsubmitted batch |
payments:approve | Approve a payment or a batch. Also required for a key that auto-approves what it creates |
payments:reject | Reject a prepared payment or batch |
remittances:read | Download a payment's remittance advice |
wallets:read | Read wallet balances |
recipients:read | List and read saved recipients |
recipients:write | Add and delete saved recipients |
webhooks:manage | Manage webhook endpoints and read deliveries |
events:read | Read 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_processand waits in your company's approval queue, where a person approves it in the ekash app (or another key callsPOST /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.