Oneprofile · Schema

SwitchPlanRedirectResponseSchema

Where to send the customer to complete the plan change. There is no "completed" case: Stripe confirms every plan change, so this always carries a URL to leave for, except on a dry run.

Sales OutreachAI ResearchEmail AutomationLinkedIn OutreachCRM Integration

Properties

Name Type Description
redirect_url object The URL to redirect the customer to. Null on a dry run, which opens no Stripe page: `type` still says which one the real call would open.
type string Which Stripe surface completes the change: 'checkout' for a first paid subscription, 'portal' for a change to an existing one.
View JSON Schema on GitHub

JSON Schema

getoneprofile-ai-switch-plan-redirect-response-schema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getoneprofile-ai/json-schema/getoneprofile-ai-switch-plan-redirect-response-schema-schema.json",
  "title": "SwitchPlanRedirectResponseSchema",
  "description": "Where to send the customer to complete the plan change.\n\nThere is no \"completed\" case: Stripe confirms every plan change, so this\nalways carries a URL to leave for, except on a dry run.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getoneprofile-ai-billing-api-openapi.yml#/components/schemas/SwitchPlanRedirectResponseSchema",
  "properties": {
    "redirect_url": {
      "anyOf": [
        {
          "format": "uri",
          "maxLength": 2083,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The URL to redirect the customer to. Null on a dry run, which opens no Stripe page: `type` still says which one the real call would open.",
      "title": "Redirect Url"
    },
    "type": {
      "description": "Which Stripe surface completes the change: 'checkout' for a first paid subscription, 'portal' for a change to an existing one.",
      "enum": [
        "checkout",
        "portal"
      ],
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "type",
    "redirect_url"
  ],
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/getoneprofile-ai-switch-plan-redirect-response-schema"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.