<aside> đź’ˇ

A six step operating model for retiring legacy payment APIs

</aside>

This playbook lays out how I would deprecate legacy payment APIs, covering the key decisions, trade-offs and execution needed to move merchants to the right long-term platform. The goal is to create a consistent, repeatable deprecation process that minimizes merchant disruption and enables a safe transition to the new platform.

Why this playbook: I spent 12 years building payment infrastructure at PayPal, including working on large-scale merchant API migrations. That experience taught me that the technical solution is often the easier part. The harder part is making a change that works for the business, merchants and engineering teams at the same time—while protecting payment reliability and maintaining trust through the transition.

Why payment API migrations are uniquely hard

1. Money moves through it. That changes everything.

When a payment API breaks, a merchant can lose transactions, revenue, and customers in real time. Unlike a typical API migration, merchants are being asked to change a working, business-critical integration, where the cost of something going wrong is immediate but the benefit of migrating may not be. This is why merchants often defer migration until there is a clear reason, a credible deadline, and confidence that the transition will not disrupt their payment flow.

2. A working API doesn't always mean a working payment flow.

A payment integration spans APIs, webhooks, order systems, reconciliation jobs, and internal business logic. A migration can therefore look successful at the API layer while still breaking the end-to-end payment flow—for example, a change in payment status semantics could lead to incorrect order fulfillment or reconciliation.

3. The provider controls the deadline; the merchant controls the release.

Even when the new API is ready, merchants may need engineering, QA, security, compliance, and production approvals before deploying it. Large or regulated merchants may also have limited release windows. A migration that takes days to build can take months to safely deploy.

Step 1: Assess Before You Deprecate

Before planning the migration, assess whether deprecating the API is worth the disruption to merchants.

Look at both sides:

The output is a clear Proceed / Wait / Do not deprecate decision, backed by three answers:

  1. Why does the API need to go?
  2. Why would merchants want to move? Identify what the new API does better from the merchant's perspective—better reliability, fewer payment failures, new capabilities, simpler integration, or something else they actually value.
  3. Can merchants migrate safely? Confirm that the replacement supports key use cases and understand any capability gaps or behavioral differences.

Only once the decision is “Proceed”, move to next steps.