Demo docs: examples are illustrative.
Referral API

Record a payout

POST
/payouts

Mark rewards as paid after you send the money yourself. Referral API never moves funds.

Authorization

apiKey
headerAuthorizationBearer <token>

Use a secret key such as sk_test_... in test mode or sk_live_... in production.

Header Parameters

Idempotency-Key?string

A unique key that makes retries safe. Keys expire after 24 hours.

Formatuuid

Request Body

application/json
  1. body
reward_ids*array<string>
method*string
Value in"bank_transfer""paypal""account_credit""gift_card""other"
reference?string

Your transfer or transaction ID.

Response Body

The payout was recorded.

application/json
  1. response
id*string
reward_ids*array<string>
total*integer
currency*string
method*string
reference?string|null
created_at*string
Formatdate-time
Example Request
curl -X POST 'https://api.referralapi.example/v1/payouts' \  -H 'Content-Type: application/json' \  -d '{  "reward_ids": [    "rwd_5Gh8kLq1"  ],  "method": "bank_transfer"}'
Example Response201
{  "id": "po_2Df6hJk8",  "reward_ids": [    "string"  ],  "total": 0,  "currency": "string",  "method": "string",  "reference": "string",  "created_at": "2019-08-24T14:15:22Z"}