Plans
Get a plan by Code
get/plans/{plan_code}
Request
- Base URLhttps://api-m.sandbox.paypal.com
- AuthOAuth 2Client credentialsToken URL/api/oauth-proxyScopesread, write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
plan_codestring required
The code of the plan
Response
A plan object
Example response
{
"id": "1a901a90-1a90-1a90-1a540-1a901a901a90",
"billing_cycle": "MONTHLY",
"amount": {
"value": 120.35,
"currency_code": "USD"
},
"taxes": [
{
"name": "TVA",
"rate": "20.00",
"description": "French standard VAT",
"code": "standard_vat",
"id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"created_at": "2025-06-01T00:00:00Z"
}
],
"usage_based_charges": [
{
"id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"charge_model": "GRADUATED",
"taxes": [
{
"name": "TVA",
"rate": "20.00",
"description": "French standard VAT",
"code": "standard_vat",
"id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"created_at": "2025-06-01T00:00:00Z"
}
],
"min_amount": {
"value": 120.35,
"currency_code": "USD"
}
}
],
"minimum_commitment": {
"amount": {
"value": 120.35,
"currency_code": "USD"
},
"invoice_display_name": "Minimum Commitment (C1)",
"taxes": [
{
"name": "TVA",
"rate": "20.00",
"description": "French standard VAT",
"code": "standard_vat",
"id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"created_at": "2025-06-01T00:00:00Z"
}
],
"id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"plan_code": "premium",
"created_at": "2022-04-29T08:59:51Z",
"updated_at": "2022-04-29T08:59:51Z"
},
"created_at": "2023-10-01T12:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.