# /v1/payments/refund is deprecated

PayPal REST API deprecated /v1/payments/refund/* without giving a shutdown date yet.

PayPal has deprecated the /v1/payments/refund/* endpoint without a shutdown date. PayPal REST API announced that the /v1/payments endpoint is deprecated, and affected calls will ultimately fail.

## What to use instead

Use Payments v2 refunds (GET /v2/payments/refunds/{id}) instead.

- API: PayPal REST API (api-m.paypal.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/v1/payments/refund/*`
- Source: [Announcement](https://developer.paypal.com/api/deprecated/payments/v1/)
- Verified: November 6, 2026, against PayPal REST API's own pages
- Page: https://www.okapi.bot/providers/paypal-rest-api/breaking-changes/v1-payments-refund-is-deprecated/

## PayPal REST API's words

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

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
