---
title: "Finish signup on the Stripe subscription a prepared engagement's client already pays"
method: POST
path: "/onboarding/v3/existing-subscription-activation"
tags: ["Onboarding"]
---

# Finish signup on the Stripe subscription a prepared engagement's client already pays

`POST /onboarding/v3/existing-subscription-activation`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/onboarding/v3/existing-subscription-activation`
- Auth: HTTP bearer

Stripe-backed activation requires one fixed, undiscounted USD recurring price billed once per month or year. Unsupported terms answer 422 ONBOARDING_EXISTING_SUBSCRIPTION_UNSUPPORTED_TERMS. Only USD invoice payments count toward the paid-invoice gate. For an offer whose prepared profile records billing.source existing_subscription. Binds the offer (token, optional; without it the flow's own offer is used), reads that subscription through the billing provider (never writes to Stripe) and requires it to exist and be active or trialing, then provisions the company named from the profile's legal name with the subscription's Stripe customer, records the subscription on median_subscriptions and on the flow (billing mode existing_subscription), binds the prepared profile, redeems the offer, activates the owner, promotes the company to active on the same paid-invoice gate as a live Checkout, and moves the flow to setup. Idempotent once activated. With no billing provider configured, a non-production API accepts the recorded ID and answers subscription.verified false; production answers 503. Errors: 404 for an unknown, voided, expired or inactive offer (checked before anything is written); 403 ONBOARDING_OFFER_EMAIL_MISMATCH when the offer was issued to another address; 403 ONBOARDING_MAILBOX_PROOF_REQUIRED when the user has not proved this mailbox (emailed code or Google); 409 ONBOARDING_COMPANY_BILLING_AUTHORITY_MISMATCH when the signup's company holds another Stripe customer; 422 ONBOARDING_OFFER_NOT_EXISTING_SUBSCRIPTION for an offer billed at Checkout; 422 ONBOARDING_EXISTING_SUBSCRIPTION_NOT_FOUND when Stripe has no such subscription; 409 ONBOARDING_EXISTING_SUBSCRIPTION_NOT_ACTIVE when it is not active or trialing; 409 ONBOARDING_EXISTING_SUBSCRIPTION_CUSTOMER_MISMATCH when it bills another customer than the one Stripe showed when the accountant saved the profile, or ONBOARDING_EXISTING_SUBSCRIPTION_UNCONFIRMED when that save was not checked with Stripe; 409 ONBOARDING_SUBSCRIPTION_EXISTS when the signup already has another subscription; 409 ONBOARDING_EXISTING_SUBSCRIPTION_IN_USE or ONBOARDING_STRIPE_CUSTOMER_IN_USE when that subscription or customer already belongs to another company. 409 ONBOARDING_CHECKOUT_STARTED when the signup already began a standard-price payment setup (refused, never expired). Setup-intent, Checkout and subscribe answer 409 ONBOARDING_EXISTING_SUBSCRIPTION_OFFER for such an offer; nothing on this path writes to Stripe.

## Headers

- `X-Median-App-Surface` 'qa'

## Request body

- OnboardingV3ExistingSubscriptionActivation: The offer link token, optional: without it the flow's own offer is used. Carried in the body, never the path.
  - `token` string

## Response `200`

The flow at setup and whether Stripe verified the subscription

- OnboardingV3ExistingSubscriptionActivationApiResponse
  - `success` true, required
  - `data` object, required
    - `flow` OnboardingV3Flow, required
      - `id` string, uuid, required
      - `companyId` string, uuid, nullable, required
      - `stage` 'auth' | 'price' | 'sales' | 'subscribe' | 'setup' | 'books', required
      - `revenueBand` string, nullable, required
      - `expensesBand` string, nullable, required
      - `accountCount` integer, nullable, required
      - `priceTier` '200' | '500' | 'custom' | 'sales' | 'null', nullable, required
      - `priceMonthlyCents` integer, nullable, required
      - `pricePlanId` 'essential' | 'growth' | 'custom' | 'null', nullable, required
      - `trialDays` integer, required
      - `billingInterval` 'year': Present only when the customer chose annual billing on a custom offer (absent = monthly).
      - `billingTestAccount` true: Present only for an internal test account, which skips Stripe for a non-Stripe comped plan (POST /onboarding/v3/test-account-activation).
      - `taxReturnAddonCents` integer: Present only for a yearly flow carrying an annual offer's Tax Return add-on: the yearly Tax Return line billed with the plan.
      - `billingSource` 'existing_subscription': Present only when the flow's offer is a prepared engagement already billed through an existing Stripe subscription: the app skips the plan screen and Checkout and calls POST /onboarding/v3/existing-subscription-activation.
      - `welcomeCall` object, nullable, required
      - `accountName` string, required
      - `accountEmail` string, email, required
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
    - `subscription` object, required
      - `verified` boolean, required: false only off production with no billing provider: the recorded ID was accepted without a Stripe read.

## Other responses

- `400`: Onboarding request body is not valid JSON
- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `409`: Request conflicts with the durable onboarding state
- `413`: Onboarding pricing request exceeds the 4096-byte route limit
- `415`: Onboarding request charset or content encoding is unsupported
- `422`: Validation error
- `503`: Required sandbox provider configuration or service is unavailable

## Changes

- **2026-11-20** `f8238a65b299`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/onboarding/v3/existing-subscription-activation/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
