PayPal · Schema
Create Subscription Request
The create subscription request details.
BillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhook
Properties
| Name | Type | Description |
|---|---|---|
| plan_id | string | The ID of the plan. |
| start_time | object | The date and time when the subscription started, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). |
| quantity | string | The quantity of the product in the subscription. |
| shipping_amount | object | The shipping charges. |
| subscriber | object | |
| auto_renewal | boolean | DEPRECATED. Indicates whether the subscription auto-renews after the billing cycles complete. |
| application_context | object | |
| custom_id | string | The custom id for the subscription. Can be invoice id. |
| plan | object | An inline plan object to customise the subscription. You can override plan level default attributes by providing customised values for the subscription in this object. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/subscription_request_post",
"title": "Create Subscription Request",
"description": "The create subscription request details.",
"type": "object",
"properties": {
"plan_id": {
"type": "string",
"description": "The ID of the plan.",
"minLength": 3,
"maxLength": 50
},
"start_time": {
"description": "The date and time when the subscription started, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6).",
"default": "Current time",
"$ref": "#/components/schemas/date_time"
},
"quantity": {
"type": "string",
"description": "The quantity of the product in the subscription.",
"pattern": "^([0-9]+|([0-9]+)?[.][0-9]+)$",
"minLength": 1,
"maxLength": 32
},
"shipping_amount": {
"description": "The shipping charges.",
"$ref": "#/components/schemas/money"
},
"subscriber": {
"$ref": "#/components/schemas/subscriber_request"
},
"auto_renewal": {
"type": "boolean",
"description": "DEPRECATED. Indicates whether the subscription auto-renews after the billing cycles complete.",
"default": false,
"deprecated": true
},
"application_context": {
"$ref": "#/components/schemas/application_context"
},
"custom_id": {
"type": "string",
"description": "The custom id for the subscription. Can be invoice id.",
"minLength": 1,
"maxLength": 127,
"pattern": "^[\\x20-\\x7E]+"
},
"plan": {
"description": "An inline plan object to customise the subscription. You can override plan level default attributes by providing customised values for the subscription in this object.",
"$ref": "#/components/schemas/plan_override"
}
},
"required": [
"plan_id"
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/paypal-subscription-request-post"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.