Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET Crypto API Suite

SET Crypto API Suite · With a Direct Deposit key

Payouts by day, state and chain

GET/api/partner/analytics/payouts

Key scope: partner key · Success: 200

Your Direct Deposit payouts counted and summed in USDC: one row per period, destination (to), state and chain. to: bank is a payout to a payee's Cash-Out Address; to: wallet is a Payable Email payment into the wallet SET created for a payee.

Query parameters

interval "day" | "week" | "month"
The period of each row; day by default. Anything else answers 400 interval_invalid.
since string
YYYY-MM-DD, a UTC date: the first day counted. By default 30 days before until.
until string
YYYY-MM-DD, a UTC date, exclusive. By default tomorrow (UTC). At most 366 days after since (400 window_too_long); a malformed or inverted window answers 400 window_invalid.

Notes

  • Direct Deposit is switched on per deployment; while it is off this call answers 503 direct_deposit_disabled.
  • Call it with your partner key (set_partner_…), or with a SET API key that has the read and direct_deposit scopes; both answer the same body. Payable Email does not need to be on.
  • chain is always null on to: bank rows; on to: wallet rows it is the payment's chain. currency is always usdc. Amounts are decimal strings.
  • state is each payout's state now: for bank, funds_received, payment_submitted, payment_processed or returned; for wallet, in_wallet or claimed.
  • This example was made with a sandbox key, on simulated payouts.
  • This example is a recorded run of SET's own code (wallet release e9b03447) with a sandbox key; ids and times are that run's.

Errors

  • 400 window_invalid
  • 400 window_too_long
  • 400 interval_invalid
  • 503 direct_deposit_disabled
  • 401 partner_key_invalid
  • 401 partner_key_required
  • 403 scope_missing

All codes: Errors.