Skip to main content
POST
Accept a partner referral request

Autorisations

Authorization
string
header
requis

An Account API key or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

partner:referral_request:accept

En-têtes

Idempotency-Key
string

A unique key that makes this request safe to retry. See Idempotent requests.

Maximum string length: 255
Exemple:

"d9105228-4a08-46b1-8b91-42fed586d383"

Api-Version-Date
string

Pins the request to a dated API version.

Exemple:

"2026-11-17"

Paramètres de chemin

id
string
requis

Partner referral request ID, prefixed prfr_.

Réponse

Request resolved.

account
object | null
requis

Business receiving the request, when one is assigned.

authorized_user_id
string | null
requis

The partner's team membership this referral was created for, prefixed ausr_. null when the referral is personal.

Exemple:

null

code
string | null
requis

Unique referral code, when assigned.

Exemple:

null

created_at
string
requis

When the request was created, as an ISO 8601 timestamp.

Exemple:

"2026-01-01T12:00:00.000Z"

id
string
requis

Partner referral request ID, prefixed prfr_.

Exemple:

"prfr_xxxxxxxxxxxxxx"

max_redemptions
integer | null
requis

Maximum permitted redemptions, when limited.

Exemple:

null

member_id
string | null
requis

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.

Exemple:

null

partner
object
requis

Public profile of the requesting partner.

referring_account
object | null
requis

Business the partner sent this request on behalf of, when the referral belongs to their team. null for a personal referral.

request_type
enum<string>
requis

How the referral request was initiated.

Options disponibles:
manual,
ownership_transfer,
link
Exemple:

"manual"

rewards
object[]
requis
status
enum<string> | null
requis

The approval state, or null for requests without an approval process.

Options disponibles:
pending,
accepted,
denied,
cancelled,
null
Exemple:

"accepted"

updated_at
string
requis

When the request last changed, as an ISO 8601 timestamp.

Exemple:

"2026-01-01T12:00:00.000Z"

user
object | null
requis
obsolète

The user an attribution request was sent to. Deprecated: requests to a user have ended. Always null. DEPRECATED: No longer populated. Always null.