Stories: Square

Payment API Refunds: Full, Partial and Pending States
How Stripe, Adyen, PayPal and Square handle full, partial and asynchronous refunds.

Authorize and Capture in Payment APIs, Compared
How separate authorization and capture works at Stripe, Adyen, PayPal and Square, from hold windows to expiry.

Payment API Authentication: API Keys, OAuth 2.0 and Mutual TLS
API keys, OAuth 2.0 tokens and mutual TLS compared across Stripe, Adyen, PayPal, Square and Visa.

Payment API Sandbox Testing: What Test Mode Proves and What It Can't
How Stripe, Adyen, PayPal and Square sandboxes force failures, and where each says test mode differs from production.

Payment API Rate Limits: Handling a 429 at Stripe, Square and PayPal
How Stripe, Square and PayPal throttle API calls, and how to retry a 429 without charging twice.

Payment API Versioning: Dated Headers vs Version Numbers in the URL
How Stripe, Square, Adyen and PayPal ship breaking changes, and what each model means for your code.

Idempotency Keys in a Payment API: Retrying Without Charging Twice
How idempotency keys let a payment API call be retried safely, and where Stripe, Adyen, PayPal and Square differ.
