Skip to main content
POST
Add earnings to many payees

Authorizations

Authorization
string
header
default:easner_sk_test_…
required

A secret key, easner_sk_test_… or easner_sk_live_…, as Authorization: Bearer. Each key has one business, one mode and fixed scopes. Transfer routes also accept a transfer's easner_ta_… secret for the customer.

Headers

Idempotency-Key
string

Up to 255 characters. Keys are scoped to your business and mode. Longer is 400 invalid_idempotency_key. Honoured only on the operations marked idempotent.

Maximum string length: 255

Body

application/json
count
integer
required

The number of credits sent. Must match.

Required range: 1 <= x <= 1000
total
integer
required

The sum of every amount

Required range: x >= 1
credits
object[]
required
Required array length: 1 - 1000 elements

Response

The same batch again, nothing was credited twice.

id
string
required

The batch id, bch_….

object
any
required
count
integer
required
total
integer
required
credits
object[]
required
livemode
boolean
required
currency
any
replayed
integer

How many credits were already there from an earlier call with the same key.