# Square SDK: 6.7 out of 10

Reasonable, with limits. 5th of 10 in [Payment SDKs](https://elestia.ai/opensource/payments/index.md).

Square SDK is Square's official TypeScript client for the Square API. It is generated with Fern, typed, and runs on Node.js, Bun, Deno and edge runtimes. It is a sound choice when your business already runs on Square, especially for in-person retail. For general online payments and subscriptions, Stripe is the stronger default.

**Best for:** Teams whose merchants already use Square POS and want to connect online orders, payments, catalog or subscriptions to it.

## Scores

- **Overall: 6.7** (likely 5.6 to 7.7)
  - Claude Opus 5.5 (6.0): It is a well-maintained, typed official client and the right pick for anyone tied to Square. Usage is growing above the median. For most new online payment or subscription projects, Stripe does the job better and has far more ecosystem support. That limits this SDK to the Square-merchant niche.
  - GPT-6.2 Sol (7.4): Square SDK is a strong pick when a new backend needs to connect payments and recurring orders to Square’s existing point of sale and catalog. Regular releases and typed API coverage support that choice, while import overhead and a history of costly upgrades lower confidence. Stripe is the stronger category default for teams choosing a processor from scratch, especially when they need broader seller coverage or usage-based billing.
- **Needed by many: 3.7** (likely 2.6 to 4.7)
  - Claude Opus 5.5 (3.5): Many apps need payments, but this SDK only makes sense when you process through Square. Square is aimed mainly at small, in-person merchants. That makes it a clear niche inside the category, not a general choice.
  - GPT-6.2 Sol (3.8): Payments and recurring billing serve a clear subset of JavaScript and TypeScript projects. Square is especially relevant to sellers who need to connect online and in-person sales, and its payment processing is available in eight seller markets. The developer survey measures runtime use, so the share of developers who need this particular integration is uncertain.
- **Helps a lot: 7.1** (likely 6.0 to 8.0)
  - Claude Opus 5.5 (6.5): The Fern-generated client covers the full API with types, retries, pagination, API-version pinning and support for many runtimes. Its limits come from the Square platform: custom subscription and provisioning flows need extra glue code. BigInt handling also adds friction. Stripe's SDK and tooling remain clearly richer.
  - GPT-6.2 Sol (7.6): Version 46.1.0 provides typed payment, refund, Terminal, and subscription calls, with documented retries, errors, and webhook verification. Subscription plans require Catalog API setup and have no ACH option. Developers measured substantial import overhead on 44.2.0, and 46.1.0 still imports the shared serializers from its Catalog client. Current examples and types give coding agents a clear reference, though agent accuracy and current startup costs remain unmeasured.
- **Holds up over time: 7.1** (likely 6.0 to 8.3)
  - Claude Opus 5.5 (7.0): Square (Block) funds the SDK and generates it from its OpenAPI spec. It had 9 releases in the last year, the latest on 2026-11-18, and almost no open issues. Commit activity is low because the code is generated. Frequent major versions bring churn, which keeps the score below the top tier.
  - GPT-6.2 Sol (7.2): Square shipped nine GitHub releases from 16 commits over the past year, and 46.1.0 followed the November API update. Fern responded to one reported bug within days, while the import performance issue has stayed open for months. The v40 rewrite required migration despite a legacy bridge, and the release history gives limited visibility into how broadly publishing access is shared.
- **Used widely: 4.1** (likely 2.9 to 5.4)
  - Claude Opus 5.5 (4.5): Downloads reached 1.88M over the last 4 weeks, against 277k a year ago. That is a ratio of about 6.8, well above the 4.1 median, so the SDK is gaining ground. Only 114 dependent repos, far below Stripe, Razorpay and Braintree, suggest a few thousand direct users. Much of the download volume probably comes from CI installs.
  - GPT-6.2 Sol (3.6): Four-week npm downloads rose 6.8× to 1.88 million, beating the catalog’s 4.1× baseline. The index found 114 dependent repositories, close to Adyen’s 166 and far below Braintree’s 1,466 and Stripe’s 46,266. Build-server installs and incomplete repository coverage make the number of projects that chose Square hard to estimate.
- **Vouched for: 4.8** (likely 3.2 to 6.0)
  - Claude Opus 5.5 (4.5): The main backing is Square itself, a large payments company that runs it as its official SDK. Independent write-ups compare Square and Stripe as platforms and rate Stripe's developer experience higher. I found almost no HN or Bluesky discussion of the SDK itself.
  - GPT-6.2 Sol (5.0): Jotform offers recurring Square payments, and WooCommerce ships a Square integration. TSG ranked Square runner-up in its 2024 overall gateway API assessment. These sources support the Square platform, while evidence for the current Node.js package in named production deployments or developer satisfaction surveys is sparse.
- **Safe: 6.8** (likely 5.5 to 8.0)
  - Claude Opus 5.5 (7.0): There are no known advisories, it has six dependencies, uses the MIT licence and is published by a corporate team. The OpenSSF Scorecard is low at 3.7: there is no security policy, dependencies and token permissions are not pinned, and code review is partial. The Scorecard's Maintained check at 0 conflicts with the steady releases.
  - GPT-6.2 Sol (6.5): The package has a permissive MIT license, six direct dependencies including the legacy client, and zero advisories in the supplied OSV snapshot. The tagged release workflow uses npm trusted publishing through OIDC, but it uses mutable action tags and can publish after compilation without waiting for unit tests. Weak Scorecard results for review and dependency pinning, the missing repository security policy, and limited visibility into release access keep the range wide.

## Good

- Official, typed client that covers the whole Square API, including payments, orders, catalog, subscriptions and webhooks.
- Runs on Node 18+, Bun, Deno, Cloudflare Workers and Vercel through native fetch.
- Released often by Square, follows the Square API versions, has no known advisories, and pulls in only six dependencies.
- Ships the old client as square/legacy, so a large codebase can migrate step by step.

## Bad

- Square's API and tooling for custom online and subscription flows are weaker than Stripe's.
- Major versions arrive often (v40 to v46 in about a year), and the v40 rewrite forced a migration.
- BigInt fields for money and other longs trip up JSON serialization and often confuse users.
- Few independent write-ups and a small open-source dependent base compared with Stripe, Braintree or Razorpay.

## The numbers

- Downloads, 4 weeks: 1.9M
- In a year: ×6.8
- GitHub stars: 117
- Commits, 12 months: 16
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/square/square-nodejs-sdk
- npm: https://www.npmjs.com/package/square

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
