REST API reference: authentication, events, affiliates, rewards, wallets, payouts, webhooks and SDK examples.