API reference · Accounts and payouts
List accounts
GET
https://payday.direct/api/v1/accountsAccounts that earn fees, by dollars earned, dollars paid or number of coins.
Needs an API key in Authorization: Bearer or X-API-Key. Authentication
Query parameters
limitintegerdefault 50How many to return
cursorstringnext_cursor from the previous page
sort"earned" | "paid" | "coins"default "earned"The order
Responses
200OK
401Missing or invalid key
429Over the limit. Retry-After says when to try again.
Response fields
handlestring | nullThe X handle
railstringHow the account is paid
coinsintegerCoins paying this account
feesobjectFees the account earned and was paid
fees.earned_usdstring | nullUS dollars with 2 decimals
fees.earned_solstring | nullfees.paid_usdstring | nullUS dollars with 2 decimals
fees.on_the_way_usdstring | nullUS dollars with 2 decimals
fees.bonus_usdstring | nullUS dollars with 2 decimals
payoutsintegerPayouts made
next_batchobject | nullProgress toward the next payout
next_batch.progress_usdstring | nullUS dollars with 2 decimals
next_batch.threshold_usdstring | nullUS dollars with 2 decimals
last_paid_atstring | nullThe last payout