Send an event (sale)

Send a sale to Fuul. The customer is their email; the sale is credited to the affiliate the customer is bound to when Fuul processes it. amount and currency go together — send both or neither. A sale with a ref_code must carry an amount above 0. The code goes in ref_code; the X-Referral-Code header is refused. The old field names event_id, volume, ref and user_id are refused.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required
length ≤ 100

The event. Only "sale" is taken; any other name is refused.

Allowed:
string
required
length between 1 and 200

Your id for the sale. The same one sent again is the same sale: a retry is safe.

string
required
length ≤ 254

The customer's email. Case and spaces don't matter.

string
^\d+(?:\.\d+)?$

A decimal string, e.g. "29.00", with no more decimals than the currency takes. Sent together with currency. Required and above 0 when ref_code is present; "0.00" is taken and ignored.

string
enum

USD only, for now: another currency is refused. Sent together with amount.

Allowed:
date-time

ISO 8601 with its offset, e.g. 2026-10-06T12:00:00Z. Now when absent; at most five minutes ahead.

string
length between 1 and 64

The affiliate's referral code. In the body only; the X-Referral-Code header is refused. When present, amount is required and above 0.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json