Skip to content

reveata payments, customers and revenue

View as Markdown

Send payments from your backend, list the payments received and read customer and subscription metrics.

On this page

These commands work with the same payments as revenue attribution: the ones your payment provider sends and the ones you record through the payments API.

  • payments send needs payments:write. Site keys have it. --amount is in major units (29.99), as in the payments API.
  • payments list, customers summary and revenue subscriptions need payments:read, and show money only to people who may see revenue on the website.
  • integrations list shows each connected payment provider with its health: status, last sync, last webhook received, payments imported and the last error. integrations test checks the stored credentials with the provider. Both need the admin role (settings:read / settings:write); credentials are never shown.

reveata integrations list

Payment providers with their sync and webhook health (admin role).

Options:

  • --site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)

Calls GET /api/v1/websites/{website}/integrations (settings:read).

bash
reveata integrations list --site example.com

reveata integrations test <integrationId>

Check a payment provider connection with its stored credentials (admin role).

Options:

  • --site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)

Calls POST /api/v1/websites/{website}/integrations/{integrationId}/test (settings:write).

bash
reveata integrations test 6710a4c2e4b0a1b2c3d4e5f6 --site example.com

reveata payments send

Send a payment from your backend (amount in major units).

The transaction id makes the call idempotent: sending it again changes nothing. Pass --visitor-id (or the --email / --customer-id of an identified visitor) to attribute the revenue. Needs the payments:write scope (site keys have it).

Options:

  • --site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)
  • --transaction-id <id>: Your unique payment id
  • --amount <major>: Amount in major units, e.g. 29.99
  • --currency <ISO>: Three-letter currency, e.g. USD
  • --type <type>: new (default), renewal, refund or trial
  • --email <email>: Email address
  • --customer-id <id>: Your customer id
  • --customer-name <name>: Customer display name
  • --visitor-id <id>: Visitor id from the tracker
  • --paid-at <iso>: When it was paid, ISO-8601

Calls POST /api/v1/websites/{website}/payments (payments:write).

bash
reveata payments send --site example.com --transaction-id inv_1042 --amount 29.99 --currency USD
reveata payments send --site example.com --transaction-id inv_1043 --amount 29.99 --currency EUR --type renewal --email [email protected]

reveata payments list

Payments received, newest first.

Follows pagination until --limit payments are listed (default 50, max 10000).

Options:

  • --site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)
  • --type <type>: new (default), renewal, refund or trial
  • --attributed <true|false>: Only payments linked (true) or not linked (false) to a visitor
  • --limit <n>: Maximum number of rows

Calls GET /api/v1/websites/{website}/payments (payments:read).

bash
reveata payments list --site example.com
reveata payments list --site example.com --type refund --json

reveata customers summary

Customers, new customers and lifetime value.

--from/--to (YYYY-MM-DD, website timezone) set the range for new customers; default the last 30 days. Lifetime values are all time, net of refunds.

Options:

  • --site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)
  • --from <YYYY-MM-DD>: Start day (implies --period custom)
  • --to <YYYY-MM-DD>: End day (implies --period custom)

Calls GET /api/v1/websites/{website}/customers/summary (payments:read).

bash
reveata customers summary --site example.com --from 2026-09-01 --to 2026-09-30

reveata revenue subscriptions

MRR, ARR, churn and subscription counts.

--from/--to (YYYY-MM-DD, website timezone) set the range; default the last 30 days.

Options:

  • --site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)
  • --from <YYYY-MM-DD>: Start day (implies --period custom)
  • --to <YYYY-MM-DD>: End day (implies --period custom)

Calls GET /api/v1/websites/{website}/revenue/subscriptions (payments:read).

bash
reveata revenue subscriptions --site example.com

Was this helpful?