Okapi Okapi

api-m.sandbox.paypal.com /v1/payments/payment* endpoint removal

Deprecated, no date

The /v1/payments/payment* endpoints are deprecated without a shutdown date. Calls made to these endpoints will eventually fail. The provider notes that the /v1/payments endpoint is deprecated.


Calls it hits

  • /v1/payments/payment*

What to use instead of these calls

Move to Orders v2 by using POST /v2/checkout/orders followed by capture or authorize, and use Payments v2 via /v2/payments/authorizations, /v2/payments/captures, and /v2/payments/refunds.

In api-m.sandbox.paypal.com's words

Deprecation notice: The /v1/payments endpoint is deprecated.

api-m.sandbox.paypal.com, Announcement

Facts

API
api-m.sandbox.paypal.com api-m.sandbox.paypal.com
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against api-m.sandbox.paypal.com's own pages

Questions

When does this change take effect?

api-m.sandbox.paypal.com deprecated /v1/payments/payment* without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: api-m.sandbox.paypal.com has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from api-m.sandbox.paypal.com 9

  1. No date /v1/customer/partner-referrals*Endpoint removal Deprecated, no date
  2. No date /v1/invoicing/*Endpoint removal Deprecated, no date
  3. No date /v1/payments/authorization/*Endpoint removal Deprecated, no date
  4. No date /v1/payments/billing-agreements*Endpoint removal Deprecated, no date
  5. No date /v1/payments/billing-plans*Endpoint removal Deprecated, no date
  6. No date /v1/payments/capture/*Endpoint removal Deprecated, no date
  7. No date /v1/payments/orders/*Endpoint removal Deprecated, no date
  8. No date /v1/payments/refund/*Endpoint removal Deprecated, no date
  9. No date /v1/payments/sale/*Endpoint removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub