---
title: "Finish an internal test account's subscribe step on a non-Stripe comped plan"
method: POST
path: "/onboarding/v3/test-account-activation"
tags: ["Onboarding"]
---

# Finish an internal test account's subscribe step on a non-Stripe comped plan

`POST /onboarding/v3/test-account-activation`

## Request

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

Only for an internal test account (a Median address, or an address holding a super-admin billing test pass); any other account answers 422 ONBOARDING_NOT_BILLING_TEST_ACCOUNT. Creates no Stripe customer, subscription or invoice: the company is provisioned with client_status test and an active comped billing plan, and the flow moves to setup. Idempotent once activated. For such an account the Stripe paths (setup-intent, subscribe, checkout-session) answer 409 ONBOARDING_BILLING_TEST_ACCOUNT. Request body is empty.

## Headers

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

## Request body

- OnboardingV3EmptyBody

## Response `200`

The activated flow

- OnboardingV3SubscribeApiResponse
  - `success` true, required
  - `data` union, required
    - object
      - `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
    - object
      - `actionRequired` object, required
        - `clientSecret` string, required

## 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
  - added the optional property `data/oneOf[subschema #1]/flow/billingSource` to the response with the `200` status
- **2026-11-07** `4397af6acb24`: 1 info
  - added the optional property `data/oneOf[subschema #1]/flow/taxReturnAddonCents` to the response with the `200` status
- **2026-10-28** `5aabf0918305`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/onboarding/v3/test-account-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)
