# GET /v2/locations/{}/transactions is deprecated

Squareupsandbox deprecated GET /v2/locations/{}/transactions* without giving a shutdown date yet.

## What to use instead

Read payments with GET /v2/payments and GET /v2/payments/{payment_id}, and refunds with GET /v2/refunds.

- API: Squareupsandbox (connect.squareupsandbox.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v2/locations/{}/transactions*`
- Source: [Announcement](https://developer.squareup.com/docs/payments-api/migrate-from-transactions-api)
- Verified: October 26, 2026, against Squareupsandbox's own pages
- Page: https://www.okapi.bot/providers/squareupsandbox/breaking-changes/get-v2-locations-transactions-is-deprecated/

## Squareupsandbox's words

> The Transactions API is deprecated. As of September 16, 2026, its write operations ( Charge, CreateRefund, CaptureTransaction, and VoidTransaction) are retired. Use the Payments API and Refunds API for new payment processing and refunds. Read operations remain available for historical transaction data.

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