Cancel a partner referral request
Changed onCancels a pending attribution request you sent so the recipient can no longer accept it, and returns the cancelled request.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
Partner referral request ID, prefixed prfr_.
Headers
Pins the request to a dated API version.
A unique key that makes this request safe to retry. See Idempotent requests.
Response
Request resolved.
The partner's team membership this referral was created for, prefixed ausr_. null when the referral is personal.
Unique referral code, when assigned.
When the request was created, as an ISO 8601 timestamp.
When a lead offer stops taking a response, as an ISO 8601 timestamp. null for other request types.
Partner referral request ID, prefixed prfr_.
Maximum permitted redemptions, when limited.
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.
Public profile of the partner associated with this referral request.
How the referral request was initiated.
The approval state, or null for requests without an approval process. A lead offer that gets no answer before expires_at becomes cancelled.
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.
When the request last changed, as an ISO 8601 timestamp.
Example response
{
"account": {
"id": "biz_xxxxxxxxxxxxxx",
"logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"route": "shine-time-auto-detailing",
"title": "Shine Time Auto Detailing"
},
"created_at": "2026-01-01T12:00:00.000Z",
"id": "prfr_xxxxxxxxxxxxxx",
"lead": {
"industry_type": {
"business_type": {
"id": "education",
"name": "Education"
},
"id": "equity_research",
"name": "Equity research"
},
"owner": {
"badges": [
{
"type": "verified_partner"
}
],
"id": "user_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"profile_picture": {
"url": "https://ui-avatars.com/api/"
},
"username": "danawhitfield"
}
},
"partner": {
"badges": [
{
"type": "verified_partner"
}
],
"id": "user_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"profile_picture": {
"url": "https://ui-avatars.com/api/"
},
"username": "danawhitfield"
},
"referring_account": {
"id": "biz_xxxxxxxxxxxxxx",
"title": "Shine Time Auto Detailing"
},
"request_type": "manual",
"rewards": [
{
"bot_qualification_type": "sales",
"qualification_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"recipient": "business",
"reward_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
}
}
],
"status": "cancelled",
"status_reason": "withdrawn",
"updated_at": "2026-01-01T12:00:00.000Z",
"user": {
"badges": [
{
"type": "verified_partner"
}
],
"id": "user_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"profile_picture": {
"url": "https://ui-avatars.com/api/"
},
"username": "danawhitfield"
}
}Changes
- breaking
added to the
accountresponse propertyoneOflist for the response status - info
removed from the
accountresponse propertyoneOflist for the response status
- breaking
- info
added the required property
lead/oneOf[#/components/schemas/PartnerReferralRequestLead]/industry_typeto the response with the status
3 more changes in this revision
- info