Skip to main content
An attribution request takes effect only when an owner of the business accepts it. Use the Partner Referral Requests API to create referral links and send attribution requests. You can also list the links and requests you’ve sent or received, and accept, decline, or cancel a pending request.

Endpoints

Attributes

string
required
Partner referral request ID, prefixed prfr_.
object | null
required
Business receiving the request, when one is assigned.

Properties

string
required
Account ID, prefixed biz_.
string
required
Account display name.
string | null
required
The partner’s team membership this referral was created for, prefixed ausr_. null when the referral is personal.
string | null
required
Unique referral code, when assigned.
string
required
When the request was created, as an ISO 8601 timestamp.
string | null
required
When a lead offer stops taking a response, as an ISO 8601 timestamp. null for other request types.
object | null
required
The business’s signup answers on a lead offer. Only the partner it was offered to sees them. null for anyone else and for other request types.

Properties

string | null
required
The business type Whop classified the business into, the same value as the account’s business_type, such as education. null until the business is classified.
string | null
required
The business’s country as a two-letter ISO 3166-1 code, such as us.
object | null
required
The industry type Whop classified the business into, the same one the account’s industry_type names. null until the business is classified, or when no industry type fits.

Properties

string
required
Industry type slug, such as equity_research. With business_type, it identifies one industry type.
object
required
The business type the industry type belongs to.

Properties

string
required
Business type slug, such as education.
string
required
Name of the business type in the viewer’s language, such as Education.
string
required
Name of the industry type in the viewer’s language, such as Equity research.
string | null
required
The platform the owner said they are moving from, such as stripe, or none. null when the form did not ask.
object
required
The business owner. A partner messages them with this user’s ID.

Properties

string
required
User ID, prefixed user_.
object[]
required
Public badges for the user, in display order. Empty when the user has no badges or is suspended.

Properties

string
required
Badge category. whop_team identifies a Whop team member. verified_partner identifies a verified member of the Whop Partners program.Available options: whop_team, verified_partner
string | null
required
Display name.
object
required
Avatar wrapper. Its url is always present, and is a generated placeholder when the user set no picture.

Properties

string
required
Avatar image URL. Always present. It is a generated placeholder when the user set no picture.
string
required
Public username.
string | null
required
The business owner’s email address. null until the partner accepts the offer.
string | null
required
The business owner’s phone number in E.164 format, such as +14155552671. null until the partner accepts the offer, or when the owner gave none.
string | null
required
The revenue range the owner picked at signup, such as 0-50k or 50-250k. null when they skipped it.
string
required
When the business was created, as an ISO 8601 timestamp.
string | null
required
The business’s website. null when the business has none.
integer | null
required
Maximum permitted redemptions, when limited.
string | null
required
The partner’s member record this referral was created for, prefixed mber_, when their role on that business is held on their member record. null otherwise.
object
required
Public profile of the partner associated with this referral request.

Properties

string
required
User ID, prefixed user_.
object[]
required
Public badges for the user, in display order. Empty when the user has no badges or is suspended.

Properties

string
required
Badge category. whop_team identifies a Whop team member. verified_partner identifies a verified member of the Whop Partners program.Available options: whop_team, verified_partner
string | null
required
Display name.
object
required
Avatar wrapper. Its url is always present, and is a generated placeholder when the user set no picture.

Properties

string
required
Avatar image URL. Always present. It is a generated placeholder when the user set no picture.
string
required
Public username.
object | null
required
The partner’s team account that this referral counts toward. null for a personal referral. A lead offer counts toward the partner-mode team where the partner earned the most in the last 30 days, or the newest on a tie. It is set when the offer is made.

Properties

string
required
Account ID, prefixed biz_.
string
required
Account display name.
string
required
How the referral request was initiated.Available options: manual, ownership_transfer, link, lead
object[]
required
Rewards offered by this request.

Properties

string
required
Partner reward ID, prefixed prwd_.
string | null
required
Activity that qualifies for this reward, when specified.Available options: sales, ad_spend
object
required
USD amount of qualifying activity required to earn the reward.

Properties

string
required
The amount in major units, as an exact decimal string. For example, "10.00" is ten dollars. It is a string so that no float rounds it in transit.
string
required
Three-letter ISO 4217 currency code, lowercase.
integer
required
How many decimal places the amount carries. This is 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.
string | null
required
Reward recipient’s role, or null for a fixed user who is not the requesting partner.Available options: business, partner
string | null
required
Concrete recipient’s user or business ID, or null until a business redeems the offer.
object
required
USD amount granted after qualification.

Properties

string
required
The amount in major units, as an exact decimal string. For example, "10.00" is ten dollars. It is a string so that no float rounds it in transit.
string
required
Three-letter ISO 4217 currency code, lowercase.
integer
required
How many decimal places the amount carries. This is 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.
string | null
required
The approval state, or null for requests without an approval process. A lead offer that gets no answer before expires_at becomes cancelled.Available options: pending, accepted, denied, cancelled
string | null
required
Why the request reached its status. expired means a lead offer got no answer before expires_at. passed means the partner turned down a lead offer. withdrawn means the partner cancelled their own request. null for any other status.Available options: expired, passed, withdrawn
string
required
When the request last changed, as an ISO 8601 timestamp.
object | null
required
The user an attribution request was sent to. Deprecated: requests to a user have ended. Always null. DEPRECATED: No longer populated. Always null.

Properties

string
required
User ID, prefixed user_.
object[]
required
Public badges for the user, in display order. Empty when the user has no badges or is suspended.

Properties

string
required
Badge category. whop_team identifies a Whop team member. verified_partner identifies a verified member of the Whop Partners program.Available options: whop_team, verified_partner
string | null
required
Display name.
object
required
Avatar wrapper. Its url is always present, and is a generated placeholder when the user set no picture.

Properties

string
required
Avatar image URL. Always present. It is a generated placeholder when the user set no picture.
string
required
Public username.
PartnerReferralRequest