Are API Id's unique across different Paypal apps, or only within one app?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So I'm developing a project that has to make use of two different REST API apps.
In my internal data structure, I have a 'paypal-id' (e.g. P-6YA672828E76572XXXXXXXXX) that links my internal data object (e.g. subscription (meta-)details) to the ID used in the Paypal API.
Now, when I receive a webhook, for example, I retrieve my internal data object by searching for a record with a matching 'paypal-id'.
Obviously, if paypal's ID system is only unique withi one application, this could cause an issue since two different subscriptions (on my internal data level), registered with different paypal REST API apps, could have the same 'paypal-id', and thus break my project.
I hope I didn't make this question overly complex, but I hope the answer is an easy "yes ID's are unique across apps" 🙂
Thanks!
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, the plan_id (e.g. P-6YA672828E76572XXXXXXXXX) is a unique value accross all the Apps as when you create a plan_id you are the only one allowed to check and use its details. If was not unique then other developers could get information on this plan_id. The same applies for the payment_id (PAY-05XXXXXXXX).
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- SetExpressCheckout 10003 error with ITEMCATEGORY=Digital in NVP/SOAP APIs
- We're not currently set up for transactions in India. in PayPal Payments Standard
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- recurring payments when price maybe changed and price have 2 decimal point in REST APIs
- does api-m.sandbox.paypal.com or the real api endpoint support IPv6? in REST APIs