Skip to main content
POST
Accept a partner referral request

인증

Authorization
string
header
필수

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

헤더

Idempotency-Key
string

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

Maximum string length: 255
예시:

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

Api-Version-Date
string

Pins the request to a dated API version.

예시:

"2026-11-17"

경로 매개변수

id
string
필수

Partner referral request ID, prefixed prfr_.

응답

Request resolved.

account
object | null
필수

Business receiving the request, when one is assigned.

authorized_user_id
string | null
필수

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

예시:

null

code
string | null
필수

Unique referral code, when assigned.

예시:

null

created_at
string
필수

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

예시:

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

id
string
필수

Partner referral request ID, prefixed prfr_.

예시:

"prfr_xxxxxxxxxxxxxx"

max_redemptions
integer | null
필수

Maximum permitted redemptions, when limited.

예시:

null

member_id
string | null
필수

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.

예시:

null

partner
object
필수

Public profile of the requesting partner.

referring_account
object | null
필수

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>
필수

How the referral request was initiated.

사용 가능한 옵션:
manual,
ownership_transfer,
link
예시:

"manual"

rewards
object[]
필수
status
enum<string> | null
필수

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

사용 가능한 옵션:
pending,
accepted,
denied,
cancelled,
null
예시:

"accepted"

updated_at
string
필수

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

예시:

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

user
object | null
필수
지원 중단

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