Developers
API keys, server events, the Server API and webhooks.
9 articles
- Create and manage API keysMake the key your server uses to report sales and manage partners, or the key your website's tracking script carries, and revoke or replace either one. For whoever wires a merchant's systems to…
- Send events from your serverReport sign-ups, sales and refunds to Refficks from your own backend with POST /api/v1/events, so partners are credited for sales no integration reports. For a developer wiring a merchant's systems…
- Tracker JavaScript referenceEverything the Refficks browser script, refficks.js, offers a developer: the attributes on its script tag, every function on window.refficks, what each sends, and what the server refuses. For a first…
- The Server APIManage partners, programs, enrolments, links and codes from your own backend, and read commissions and payouts, with a secret key. For a developer keeping a merchant's own systems in step with…
- Subscriptions, coupon codes and referral tokensThree things a merchant's server does with a secret key besides reporting one-off sales: tell Refficks about subscriptions, keep partners' discount codes in step, and mint the token the…
- Receive Refficks events with webhooksHave Refficks POST to your own server when something happens, such as a partner being approved, a commission being earned or a payout being paid, with a signature that proves the request came from…
- Webhook event referenceEvery event you can tick on Integrations › Webhooks (or subscribe to through POST /server/hooks), when Refficks sends it, and what each delivery's program, typed objects and data carry. For a…
- API errors and limitsWhat every error from the Refficks API looks like, what each code means, how many requests you may make, and which failures to retry. For a developer calling POST /api/v1/events or the Server API.
- Connect Claude or ChatGPT to RefficksConnect an AI app you already use to your Refficks workspace, so you can ask it about your partners in your own words: who is doing well, why a sale was credited, what the next payout run would pay…