Endpoints
Attributes
string
required
Product affiliate ID, prefixed
apaf_.string
required
When the affiliate enrollment was created, as an ISO 8601 timestamp. Includes
automatically created enrollments.
object
required
integer
required
Number of distinct users referred by the affiliate to this product.
string
required
Whether the affiliate’s enrollment is active or archived.Available options:
active, archivedobject
required
Net rewards earned by the affiliate for this product after fees and reversals, in USD.
Properties
Properties
string
required
The amount in major units, as an exact decimal string —
"10.00" is ten
dollars. A string so no float rounds it in transit.string
required
Three-letter ISO 4217 currency code, lowercase.
integer
required
How many decimal places the amount CARRIES — the precision the charge itself
runs at.
integer
required
How many decimal places to SHOW. Usually equal to
decimals, and deliberately not always: COP is charged in centavos but written in whole pesos, so it is 2 and 0. Format the number in your own locale using this.object
required
The user enrolled as an affiliate.
Properties
Properties
string
required
User ID, prefixed
user_.string | null
required
The affiliate’s email address. Requires the
member:email:read scope; null
without it.string | null
required
Display name.
object
required
Avatar wrapper; its
url is always present, using a generated placeholder when the user set no picture.Properties
Properties
string
required
Avatar image URL. Always present — a generated placeholder when the user set no picture.
string
required
Public username.
ProductAffiliate

