Okapi Okapi

POST /mobile/authorization-code → endpoint removal

Squareupsandbox

Stopped working

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.


Calls it hits

  • POST /mobile/authorization-code

What to use instead of these calls

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.

In 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.

Squareupsandbox, Announcement

Facts

API
Squareupsandbox connect.squareupsandbox.com
Kind
Endpoint removal
Announced
February 20, 2025
Takes effect
December 31, 2025
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Squareupsandbox's own pages

Questions

When does this change take effect?

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

What happens to calls after December 31, 2025?

They have failed since December 31, 2025.

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 Squareupsandbox 5

  1. POST /v2/paymentsEndpoint removal Stopped working
  2. POST /v2/locations/{}/transactions*Endpoint removal Stopped working
  3. No date /v2/customers/{}/cards*Endpoint removal Deprecated, no date
  4. No date /v2/labor/shifts*Endpoint removal Deprecated, no date
  5. No date GET /v2/locations/{}/transactions*Endpoint removal Deprecated, no date

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub