Clearway Documentation
  • Home
  • Guides
  • Merchant API
  • Investor Read API
Back to Merchant APIInformation
Analytics
    Read analyticspost
Checkout
    Create checkout sessionspostCreate payment intentpost
Customers
    Manage customerspost
Orders
    Get orderpostRead orderspost
Payment links
    Create payment linkspostList payment linkspost
Payments
    Preview platform feespostProcess refundspostResolve embed displaypost
Products
    Write merchant couponspostWrite productspostDelete productpostGet productpostRead merchant couponspostRead productspostUpdate merchant couponpostUpdate productpost
Subscriptions
    Cancel subscriptionspostChange subscription planspostRead subscriptionspostPreview subscription plan changespost
Schemas
powered by Zudoku
Clearway Documentation
Clearway Documentation

Analytics

Download schema

Read analytics

POST
https://api-dev.clearway.to
/GET_ANALYTICS_ENTITLEMENT

Dashboard-only — returns 403 API_GATEWAY_KEY_FORBIDDEN when called with an API key on the merchant API gateway. Use the Clearway dashboard instead. Advanced analytics entitlement probe. Requires the read:analytics scope (or full_access). Session-backed today; API key path reserved.

Read analytics › Headers

x-cid
​string

Optional correlation id for support trails.

x-brand-id
​string

Optional platform brand slug for multi-brand merchants.

Read analytics › Request Body

Additional properties are allowed

Read analytics › Responses

Success

MerchantApiSuccessEnvelope
success
​boolean · required
Additional properties are allowed
POST/GET_ANALYTICS_ENTITLEMENT
curl https://api-dev.clearway.to/GET_ANALYTICS_ENTITLEMENT \ --request POST \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <token>' \ --data '{ "name": "", "description": null, "externalValue": null, "value": null, "summary": null }'
Example Request Body
No example specified for this content type
application/json
Example Responses
{ "success": true }
json
application/json

Checkout