Square API

Square's unified commerce API for processing payments, managing inventory, customers, orders, and invoices across in-person POS and online channels.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Other square payments pos ecommerce invoicing rest-api sdk card-processing
⚙ Agent Friendliness
71
/ 100
Can an agent use this?
🔒 Security
88
/ 100
Is it safe for agents?
⚡ Reliability
88
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
82
Error Messages
80
Auth Simplicity
80
Rate Limits
78

🔒 Security

TLS Enforcement
100
Auth Strength
85
Scope Granularity
85
Dep. Hygiene
85
Secret Handling
85

OAuth2 with granular scopes. PCI DSS Level 1. SOC2 Type II. Card data tokenized. Use sandbox for all testing.

⚡ Reliability

Uptime/SLA
92
Version Stability
88
Breaking Changes
85
Error Recovery
85
AF Security Reliability

Best When

An agent needs to handle payments for a US/CA/AU/UK/JP business with both online and in-person sales channels.

Avoid When

You need global payment processing across many countries, or don't need Square's POS ecosystem.

Use Cases

  • Processing card payments and refunds from agent workflows
  • Managing customer records and payment methods
  • Creating and sending invoices to customers
  • Inventory management for retail agents
  • Building appointment booking and payment systems

Not For

  • International-only businesses (Square is limited to select countries)
  • High-volume payment processing where Stripe's ecosystem is richer
  • Pure online payments without POS needs (Stripe may be simpler)
  • B2B invoicing at enterprise scale

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
Yes

Authentication

Methods: api_key oauth2
OAuth: Yes Scopes: Yes

Personal access tokens for single-merchant use. OAuth2 for multi-merchant applications with fine-grained permission scopes. Sandbox environment available with test credentials.

Pricing

Model: pay-as-you-go
Free tier: Yes
Requires CC: No

No monthly fee — pay per transaction only. Sandbox environment is free and full-featured for testing. Good economics for lower volume.

Agent Metadata

Pagination
cursor
Idempotent
Full
Retry Guidance
Documented

Known Gotchas

  • Geographic availability limited to US, CA, AU, UK, JP — international merchants cannot use Square
  • Sandbox and production use different access tokens and environments
  • Card tokenization (nonces) required for card data — cannot pass raw card numbers
  • Order versioning system requires understanding order state machine
  • Catalog IDs vs custom amounts require different payment flows
  • Webhook signature verification is essential — must validate HMAC-SHA256

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Square API.

$99

Scores are editorial opinions as of 2026-03-06.

5173
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered