Subscriptions API - unable to fetch full details of a subscription plan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I would like to retrieve full details of a subscription plan.
Retrieving the plan with the URL: https://api.sandbox.paypal.com/v1/billing/plans/P-2PE8120841575405WL76FLQQ as per Subscriptions (paypal.com)
However, the array retrieved only contains the summary details. Is there an additional parameter that needs to be sent to get the verbose information?
Thanks
Nick
Plan details Array
(
[id] => P-2PE8120841575405WL76FLQQ
[name] => Basic Plan
[status] => ACTIVE
[description] => Basic plan
[usage_type] => LICENSED
[create_time] => 2021-01-11T13:42:26Z
[links] => Array
(
[0] => Array
(
[href] => https://api.sandbox.paypal.com/v1/billing/plans/P-2PE8120841575405WL76FLQQ
[rel] => self
[method] => GET
[encType] => application/json
)
)
)
- Labels:
-
Payments REST APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the problem where asking for a list of plans returns the summary, instead of the full detail, hence came here to look for the solution. I too believed there should be a parameter that gets all the details into the response.
Turns out, it was probably intended to work like it does now. My next reply shows (just like your question) I fetch the list first and then detailed info for the plans one by one. But I do not have the problem you describe - fetching details return the summary. To me it returns all the data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So, documentation for the list of plans shows the summary data per plan in response. It is consistent with what I observe.
I looked at the sandbox UI (and live paypal UI) - and you see the plans listed with only a subset of the info.
There is a button to get the details, one per plan.
So I guess the same is true to how you supposed to use the API.
You get the list with a summary and then you call Show Plans Details API
That is what I have done. Got all the info just fine.
So in summary I DO NOT HAVE THE SAME PROBLEM. My problem was me wishing API was more powerful and customizable, but that's on me.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How do you create subscriptions with PayPal Advanced Checkout? in SDKs
- subscription_id has disappeared in REST APIs
- Paypal subscription Api in REST APIs
- Recurring Payment issue in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Created subscription failed to activate after few hours in Sandbox Environment