Demo docs: examples are illustrative.
Referral API

Programs

All programs in your account.

QUERYprograms: [Program!]!

All programs in your account.

Returns

  1. programs

A referral program and its settings.

id*ID!
name*String!
currency*String!
holdDays*Int!

Days a reward is held before it unlocks.

performance*

Performance over a date range.

topReferrers*

Referrers ranked by converted referrals.

Example Request
query Programs {  programs {    id    name    currency    holdDays  }}
Example Response
{  "data": {    "programs": [      {        "id": "1",        "name": "string",        "currency": "string",        "holdDays": 10      }    ]  }}