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
| Call | Answers |
|---|---|
GET /v1/analytics/volume | Money 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/customers | Each customer: last payment, verification, and per currency the count, money in, money out and SET's fee |
GET /v1/analytics/sales | Invoices per currency: invoiced, received, outstanding (open invoices) and refunded; and the same by invoice state |
GET /v1/analytics/states | Count and amount by type, state and currency, for a list of what needs attention |
GET /api/partner/analytics/payouts | SET 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: trueorfalse. - 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_transactionslists them. - Per currency, never across currencies. Amounts are summed exactly, never as floating point, and returned as decimal strings.
customersleaves out card payments and refunds, which name no customer. Your platform's own fee per row stays onGET /v1/balance_transactions. A balance is not here.railis recorded on payouts and Cash-Out payments only; other rows group asnull.
Errors
| Code | When |
|---|---|
400 window_invalid | since or until is not a date, or until is not after since |
400 window_too_long | The window is longer than 366 days |
400 interval_invalid | interval is not day, week or month |
400 group_by_invalid | groupBy is not type, currency, rail or customer |
Related
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 ).