Clearway Documentation
  • Home
  • Guides
  • Merchant API
  • Investor Read API
API integration
Getting startedAuthenticationAPI keys and scopesRequest headersIdempotencyErrorsWebhook verificationWebhook eventsOrders and revenueSubscriptionsCheckout integrationDashboard vs APIRate limits
Investor / LP
Investor Read API
Merchant dashboard
Getting startedPayment links & chargesPayment widgetClearway ElementsCheckout & branding
powered by Zudoku
Guides

Orders and revenue

Orders and revenue

Use read:orders to sync payment history into your CRM or reporting pipeline.

Operations

OperationScopeDescription
LIST_ORDERSread:ordersPaginated order list with filters
GET_ORDERread:ordersSingle order by Clearway order id

Both are wired on {docsEnv.apiBaseUrl} — see the API Reference.

List orders

TerminalCode
curl -s -X POST "{docsEnv.apiBaseUrl}/LIST_ORDERS" \ -H "Authorization: Bearer YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"limit": 25, "lookbackDays": 90, "status": "paid"}'

Request body fields

FieldTypeDefaultNotes
limitnumber25Max rows per page (capped server-side)
lookbackDaysnumber90How far back to search
statusstring—Optional filter (paid, pending, etc.)
cursorstring—Pagination cursor from a prior response

Response shape

Each order in orders is sanitized for integrators — no Stripe or internal provider ids. Typical fields:

  • orderId, amountCents, currency, status
  • customerEmail, customerName
  • clearwayFeeCents, estimatedClearwayFeeCents
  • paidAt, createdAt, countryCode
  • checkoutSessionId, paymentLinkId (Clearway ids only)
  • brandId — platform brand slug when multi-brand
  • metadata — merchant-safe key/value pairs only

Get one order

TerminalCode
curl -s -X POST "{docsEnv.apiBaseUrl}/GET_ORDER" \ -H "Authorization: Bearer YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"orderId": "YOUR_ORDER_UUID"}'

Missing or cross-tenant orders return 404 NOT_FOUND (no existence leak).

Multi-brand context

When your account has multiple platform brands, pass x-brand-id with the brand slug so list/get respect brand-scoped visibility. See Request headers.

Rate limits

API keys: 60 requests / 60 seconds per operation. See Rate limits.

Next steps

  • Request headers — x-brand-id, x-cid
  • API keys and scopes — grant read:orders
  • API Reference — full request schemas
Last modified on July 22, 2026
Webhook eventsSubscriptions
On this page
  • Operations
  • List orders
    • Request body fields
    • Response shape
  • Get one order
  • Multi-brand context
  • Rate limits
  • Next steps