Create plan
Creates a plan that defines pricing and billing cycle details for subscriptions.
Request
- Base URLhttps://api-m.sandbox.paypal.com
- AuthOAuth 2Client credentialsToken URL/api/oauth-proxyScopeshttps://uri.paypal.com/services/subscriptions
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
The media type. Required for operations with a request body. The value is application/<format>, where the format is json.
The preferred server response upon successful completion of the request. Value is:<ul><li><code>return=minimal</code>. The server returns a minimal response to optimize communication between the API caller and the server. A minimal response includes the <code>id</code>, <code>status</code> and HATEOAS links.</li><li><code>return=representation</code>. The server returns a complete resource representation, including the current state of the resource.</li></ul>
The server stores keys for 72 hours.
Request body
Response
A successful request returns the HTTP 200 OK status code and a JSON response body that shows billing plan details.
Changes
No recorded changes to this operation across all 1 revision of this API.