Extend Membership
Changed onAdds free days to a membership, extending its current billing period, expiration date, or trial depending on the plan type.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
Membership ID (mem_ tag).
Headers
Pins the request to a dated API version.
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Number of free days to add (1-1095).
Example request
{
"days": 7
}Response
membership extended
The account (seller) this membership belongs to.
Number of days between recurring charges. null for non-renewing memberships or memberships with multiple renewal schedules.
Whether the membership is set to cancel when the current billing period ends. Only meaningful for recurring variants.
The category the member picked for why they canceled. null when no category was picked.
When cancellation was requested, or when the membership was canceled if no request time is recorded, as an ISO 8601 timestamp. null when neither is recorded.
Free-text explanation provided when canceling. null when no reason was provided.
How renewals are collected. charge_automatically charges the saved payment method each period; send_invoice emails the buyer an invoice each period. null when not set.
When the membership was created, as an ISO 8601 timestamp.
When the current billing period renews, or when a non-renewing membership expires, as an ISO 8601 timestamp. null for one-time purchases with no expiration.
When the current billing period started, as an ISO 8601 timestamp. null when no billing period is recorded.
When access ends for a membership with a fixed expiration, as an ISO 8601 timestamp. null when the membership has no expiration, such as a renewing membership.
Membership ID, prefixed mem_.
The variant's current up-front price, in the variant's currency. A list price, not necessarily what the buyer paid. amount is "0.00" when the first charge is free.
The software license key for this membership. Only present when the product includes a software licensing experience.
URL where the buyer can sign in to manage billing. null without a member record or unless the caller is the buyer or has member:manage on the account.
The buyer's member record on the account, prefixed mber_. null when the membership has no member record, such as an unclaimed membership.
Custom key-value pairs stored on the membership, commonly used for software licensing.
The membership's latest lifecycle event, such as renewing_on or canceled_on. Pair it with most_recent_action_at. null when none is recorded.
When most_recent_action happened or is scheduled to happen, as an ISO 8601 timestamp. A future time for upcoming events such as renewing_on. null when no action is recorded.
The buyer's phone number recorded for this membership, or null. The number collected (or verified) at checkout when the seller's phone collection is on; falls back to the buyer's account number when they have shared one with this seller.
The product this membership grants access to.
The product this membership grants access to, prefixed prod_.
The promo code discounting this membership, prefixed promo_. null when none is applied. Set at checkout or by Apply Promo Code to Membership.
Paid installments counted so far on a split pay membership. null when the membership is not on split pay, or before its first installment is counted.
Installment payments required before the membership stops billing. null when the membership is not on split pay.
Billing state of the membership. active and trialing memberships grant access. past_due is the grace period after a failed payment. completed one-time purchases keep access. scheduled memberships wait for their variant's start date, when the first charge runs and access starts. canceled and expired memberships do not grant access.
When the membership was last changed, as an ISO 8601 timestamp. Reflects the most recent change to the membership itself, so you can reconcile against webhook retries, replays, and backfills.
The buyer, prefixed user_. null when the buyer is another business or the membership is unclaimed.
The variant the buyer purchased, prefixed plan_.
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"
},
"affiliate": {
"applies_to_payments": "first_payment",
"commission_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"commission_source": "custom",
"commission_type": "flat_fee"
},
"billing_period_days": 30,
"cancel_option": "too_expensive",
"canceled_at": "2026-01-01T12:00:00.000Z",
"cancellation_reason": "Too expensive",
"collection_method": "send_invoice",
"created_at": "2026-01-01T12:00:00.000Z",
"current_period_end": "2026-01-01T12:00:00.000Z",
"current_period_start": "2026-01-01T12:00:00.000Z",
"expires_at": "2026-01-01T12:00:00.000Z",
"external_accounts": [
{
"external_id": "7012345678",
"platform": "telegram",
"username": "telegram_username1"
}
],
"feedback_option": {
"label": "The wash club costs more than I can spend"
},
"id": "mem_xxxxxxxxxxxxxx",
"initial_price": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"license_key": "WHOP-XXXX-XXXX-XXXX",
"manage_url": "https://whop.com/billing/manage/mber_xxxxxxxxxxxxxx",
"member": {
"access_level": "customer",
"last_accessed_at": "2026-01-01T12:00:00.000Z",
"position": 1767268800000
},
"member_id": "mber_xxxxxxxxxxxxxx",
"metadata": {
"seat": "1"
},
"most_recent_action": "renewing_on",
"most_recent_action_at": "2026-01-01T12:00:00.000Z",
"phone_number": "+xxxxxxxxxxx",
"product": {
"id": "prod_xxxxxxxxxxxxxx",
"logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"title": "Ceramic Coating Package"
},
"product_id": "prod_xxxxxxxxxxxxxx",
"promo_code_id": "promo_xxxxxxxxxxxxxx",
"renewal_price": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"status": "active",
"updated_at": "2026-01-01T12:00:00.000Z",
"user_id": "user_xxxxxxxxxxxxxx",
"variant_id": "plan_xxxxxxxxxxxxxx"
}Changes
- warning
added the new
scheduledenum value to thestatusresponse property for the response status
- warning
- info
added the required property
account/banner_image_urlto the response with the status
- info