Skip to main content

Revenue API: verified revenue for TrustMRR-style sites; Rust SDK 0.3.0

A business can now share the money that reached its bank accounts with a read-only key. The past is included. Use it for verified-revenue leaderboards such as TrustMRR, investors or your own reporting.

EndpointWhat it returns
GET /revenue/accountThe business, its linked bank accounts (masked), the key's scopes and read_only
GET /revenue/eventsEvery amount received, oldest first, with since / until and a cursor
GET /revenue/summaryTotals by day or month in a time zone, plus all-time, last-30-day and previous-30-day totals
  • basis=bank counts every transfer into the linked accounts, except those marked as needing no invoice. basis=payments (the default) counts paid Ha Tang VietQR payments. App Store, Google Play and web subscriptions are not counted.
  • A key with only payments:read is enough. read_only lets a site refuse keys that can write.
  • /payments gains created_* and paid_* filters, and /payments/transactions gains booked_* filters.
  • Rust SDK hatang 0.3.0 has typed revenue.account(), events(), events_since() (follows the cursor) and summary().

See the Revenue API guide.