Okapi Okapi

Square API POST /mobile/authorization-code endpoint removal

Stopped workingSubscribe to Square APIShare

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


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 with an OAuth access token and a location ID instead of a mobile authorization code. This transition requires more than updating an identifier, as 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 Square API'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.

Square API, Announcement

Facts

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

Questions

When does this change take effect?

Calls to POST /mobile/authorization-code on Square API 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 Square API 5

  1. POST /v2/paymentsParameter removal Stopped working
  2. POST /v2/locations/{id}/transactions*Endpoint removal Stopped working
  3. No date /v2/customers/{id}/cards*Endpoint removal Deprecated, no date
  4. No date /v2/labor/shifts*Endpoint removal Deprecated, no date
  5. No date GET /v2/locations/{id}/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

Get notifications

Subscribe to Square API

Hear about each breaking change Square API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Square API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.