Unable to find equivalent API endpoints in payment v2 as payment v1 endpoints are now deprecated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am migrating my service from php to java stack.
In php, PayPal SDK was integrated in which payment v1 APIs (@https://developer.paypal.com/docs/api/payments/v1/)were being used. Now, I am trying to integrate PayPal REST APIs, but payment v1 is now deprecated and I am unable to find equivalent endpoints in payment v2 version of APIs(@https://developer.paypal.com/docs/api/payments/v2/).
Please help me with the same.
Payment v1 APIs that are being used are :
/v1/payments/payment (POST)
/v1/payments/payment (GET)
/v1/payments/payment/{id}/execute
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @prakharkhanna,
Thank you for posting to the PayPal community.
Yes, the /v1/payments endpoint is deprecated. Please use the /v2/payments endpoint instead. For details, see PayPal Checkout Basic Integration.
Please find the below V2 payments API details.
https://developer.paypal.com/docs/api/payments/v2/#authorizations_capture
https://developer.paypal.com/docs/api/payments/v2/#authorizations_get
https://developer.paypal.com/docs/api/payments/v2/#captures_get
https://developer.paypal.com/docs/api/payments/v2/
Sincerely,
Chiranjeevi
PayPal/Braintree MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Unable to find equivalent API endpoints in payment v2 as payment v1 endpoints are now deprecated. in REST APIs
- Changes to checkout.js integration in Sandbox environment in Sandbox Environment
- we want migrate paypal v1 to v2 rest api in REST APIs
- Upgrading Express Checkout and Billing Agreements integration in REST APIs
- Looking for the payflow WeeShare, BerlKönig, Lime and CleverShuttle do (Reference Transactions?) in REST APIs