Create credit (earnings)
POST/api/v3/earnings/credit
Owner/admin: move withdrawable earnings to the account's prepaid credit, 1:1 USD, at once (all of it when amount_usd is left out; at least $1). Recorded as a paid payout with kind credit. Earnings are never paid out in cash unless a platform setting is on (cash_payouts in GET /api/v3/earnings)
Request
Responses
- 201
- 403
- 422
The payout row (kind credit) and balance.withdrawable_usd after it
Not owner/admin
Under $1 or over the withdrawable balance