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.
| Endpoint | What it returns |
|---|---|
GET /revenue/account | The business, its linked bank accounts (masked), the key's scopes and read_only |
GET /revenue/events | Every amount received, oldest first, with since / until and a cursor |
GET /revenue/summary | Totals by day or month in a time zone, plus all-time, last-30-day and previous-30-day totals |
basis=bankcounts 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:readis enough.read_onlylets a site refuse keys that can write. /paymentsgainscreated_*andpaid_*filters, and/payments/transactionsgainsbooked_*filters.- Rust SDK
hatang0.3.0 has typedrevenue.account(),events(),events_since()(follows the cursor) andsummary().
See the Revenue API guide.