# POST /mobile/authorization-code stops working

Calls to POST /mobile/authorization-code on Squareupsandbox stopped working on December 31, 2025.

On December 31, 2025, POST /mobile/authorization-code will stop working and calls to it will fail. This endpoint is being retired alongside the Reader SDK. Applications sending requests to this endpoint will no longer be able to generate authorization codes after this date.

## What to use instead

Move the app from the Reader SDK to the Mobile Payments SDK, which authorizes using an OAuth access token and a location ID instead of a mobile authorization code. Replacing the Reader SDK with the Mobile Payments SDK is a rewrite of the app's payment flow.

Replacing the Reader SDK with the Mobile Payments SDK is a rewrite of the app's payment flow.

- API: Squareupsandbox (connect.squareupsandbox.com)
- Kind: Endpoint removal
- Announced: February 20, 2025
- Takes effect: December 31, 2025
- Calls after that day: fail
- Calls it hits: `POST /mobile/authorization-code`
- Source: [Announcement](https://developer.squareup.com/docs/changelog/connect-logs/2025-02-20)
- Verified: October 26, 2026, against Squareupsandbox's own pages
- Page: https://www.okapi.bot/providers/squareupsandbox/breaking-changes/post-mobile-authorization-code-stops-working/

## Squareupsandbox's words

> The Mobile Authorization API is used by the Reader SDK, which is now deprecated. This API will be retired along with the Reader SDK on December 31, 2025.

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