Referrals
Update referral
Updates an existing referral's Stripe customer ID or subscription status.
Referral subscription statuses are kept in sync automatically from
your Stripe events. Only use this endpoint when you need to manually change a
referral's stripe_customer_id or subscription_status
PUT
/
referrals/{id}Authorization
AuthorizationRequiredBearer <token>
API key authentication. Use your API key as the bearer token.
In: header
Request Body
application/jsonRequiredstripe_customer_idstring
Stripe customer ID of the referred customer. Pass null to clear it.
subscription_statusstring
Subscription status of the referred customer
Value in:
"active" | "signed_up" | "trialing" | "canceled" | "past_due"Path Parameters
idRequiredstring
Resource UUID
Format:
"uuid"Referral updated