Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-16
Browse: SET API

Analytics

Status: current as of 2026-11-16.

SET API (platform and business accounts), with SET Direct Deposit's payouts · Live since 2026-11-15

Read-only totals of your own money movements, from the same rows GET /v1/balance_transactions lists. The SET Console shows these figures; your own code can read them with any key that has the read scope.

The calls

CallAnswers
GET /v1/analytics/volumeMoney in and out per period, per direction and currency, grouped by type, currency, rail or customer, with a count and an amount
GET /v1/analytics/customersEach customer: last payment, verification, and per currency the count, money in, money out and SET's fee
GET /v1/analytics/salesInvoices per currency: invoiced, received, outstanding (open invoices) and refunded; and the same by invoice state
GET /v1/analytics/statesCount and amount by type, state and currency, for a list of what needs attention
GET /api/partner/analytics/payoutsSET Direct Deposit: payments to payees' wallets and payees' cash-outs to a bank, by period, state and chain

volume and payouts take interval=day, week (from Monday) or month; volume takes groupBy=type|currency|rail|customer (default currency).

The window

since and until are UTC dates (YYYY-MM-DD), and until is exclusive. One call covers at most 366 days. Without them, the window is the last 30 days.

The rules

  • Your business and your key's mode only. A sandbox key reads sandbox rows and a live key reads live rows; the answer says sandbox: true or false.
  • The same rows as the ledger. Deposits, Cash-Out and Conversion payments, and card payments count as money in; wallet withdrawals, payouts and refunds as money out, exactly as GET /v1/balance_transactions lists them.
  • Per currency, never across currencies. Amounts are summed exactly, never as floating point, and returned as decimal strings.
  • customers leaves out card payments and refunds, which name no customer. Your platform's own fee per row stays on GET /v1/balance_transactions. A balance is not here.
  • rail is recorded on payouts and Cash-Out payments only; other rows group as null.

Errors

CodeWhen
400 window_invalidsince or until is not a date, or until is not after since
400 window_too_longThe window is longer than 366 days
400 interval_invalidinterval is not day, week or month
400 group_by_invalidgroupBy is not type, currency, rail or customer

Changes

  • 2026-11-16: The modernized API Reference, the sandbox-key form, Direct Deposit without a revenue share.
  • 2026-11-15: Docs: analytics live since 2026-11-15 (wallet production ).