Home โ€บ Payments โ€บ Square

Square API โ€” pricing, fees & how to get a key

Square is a payments platform for both in-person and online sales. The API lets you take card payments, issue refunds, manage a catalog and read order data. There's no monthly fee on the standard plan โ€” you pay a flat percentage per transaction, with the rate depending on whether the card is tapped in person or entered online. Here's the pricing, the free sandbox, and how to start.

Square pricing (reference, July 2026)

Payment typeFee per transaction
In-person (tap / chip / swipe)2.6% + 10ยข
Online / API (e-commerce)2.9% + 30ยข
Manually keyed / card-on-file3.5% + 15ยข
Invoices (card)2.9% + 30ยข
Developer sandbox free$0
โš ๏ธ Reference prices, July 2026 โ€” confirm on squareup.com/us/en/payments/our-fees. Rates vary by country, and high-volume sellers can negotiate custom pricing. Currency conversion and chargebacks add cost on top of the headline rate. ยท Report outdated price โ†’
โœ“ Last verified: 2026-07-15ยท Source: official provider pricing pageยท Auto-monitored โ€” report change โ†’

The free tier

Square's developer sandbox is free forever โ€” full API access with test cards, so you can build and certify a checkout without taking a real payment. There's no monthly platform fee either: you only pay when money actually moves. That makes Square cheap to prototype on, and the flat 2.9% + 30ยข online rate is easy to model. Want to see what you keep at your volume? Use the payment fee calculator.

How to get a Square API key (step by step)

1. Sign up free at developer.squareup.com.
2. In the Developer Dashboard, click + Add application.
3. Open the app and copy the Sandbox Access Token for testing (switch to Production when you go live).
4. Send it as a Bearer token on every request.

List locations (sandbox):

# replace $SQUARE_TOKEN
curl https://connect.squareupsandbox.com/v2/locations -H "Authorization: Bearer $SQUARE_TOKEN" -H "Square-Version: 2026-05-21"

Cheaper / alternative options

For pure online checkout, Stripe charges the same headline 2.9% + 30ยข but has a deeper API and more global coverage. If you sell digital goods or SaaS and want tax handled for you, a merchant of record like Paddle or Lemon Squeezy bundles VAT/sales-tax at ~5%. To accept crypto with a flat 1% fee, see Coinbase Commerce. Square wins when you also sell in person and want one provider for POS and online โ€” the in-person 2.6% + 10ยข rate is among the cheapest for tap-to-pay.

FAQ

Does Square charge a monthly API fee?

No. The developer platform, sandbox and standard plan have no monthly fee. You pay only the per-transaction processing rate when you take a payment.

How do I get a Square API key?

Create a free account at developer.squareup.com, add an application, and copy the access token from the Developer Dashboard. Sandbox and Production each have their own token.

Square vs Stripe โ€” which is cheaper?

Online they're effectively tied at 2.9% + 30ยข. Square is usually cheaper for in-person payments (2.6% + 10ยข) and bundles POS hardware; Stripe has the richer developer API and wider international support. Pick by where your sales happen.

What's the real effective rate I'll pay?

Add the percentage and the fixed fee together for your average order. On a $25 online order, 2.9% + 30ยข = $1.03, an effective ~4.1%. Small orders pay a higher effective rate because the fixed 30ยข weighs more โ€” model it with the payment fee calculator.

Not affiliated with Square. Prices are reference estimates โ€” always verify on the official pricing page.

Host your project:DigitalOcean โ€” $200 free โ†—Hostinger VPS

Exchanges

BybitBinanceOKXKuCoinBitgetGate.ioMEXC

Tools & Hosting

๐Ÿ“ˆ TradingView๐Ÿ”’ NordVPN๐Ÿ’ณ RevolutDigitalOcean $200Hostinger