Skip to main content
POST
Add earnings to a payee

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

Path Parameters

id
string
required

The object id, as the API returned it.

Body

application/json
amount
integer
required

Whole cents

Required range: x >= 1
reference
string
required
Maximum string length: 255
income_type
enum<string>
Available options:
royalties,
services,
other_income
available_at
string<date-time>

The credit stays on hold until then.

description
string
Maximum string length: 500

Response

Add earnings to a payee.

id
string
required

The credit id, crd_…. Use it to reverse the credit.

object
any
required
amount
integer
required
livemode
boolean
required
currency
any
on_hold
boolean
offset_recovered
integer

The part that paid down an offset the person owed.