01 The contract
What can the API do?
Read everything the dashboard shows. Write the daily work: add partners, record sales, approve commissions, mark payouts paid. Keys are minted under Settings, API keys, and carry scopes. A test key sees the same organisation and stamps every response with X-Rail-Livemode: false.
Lists are flat and paged. Money is an integer in minor units with a currency beside it, never a float. An id from another organisation is a 404, never a 403, so ids cannot be probed.