Classic API Migration Playbook

Classic API Migration Playbook

This guide helps developers migrate from the Classic (Direct Post / Three-Step Redirect) API to the current gateway API, which offers improved security, better tokenization, and a more consistent developer experience.

The Classic API remains functional but is no longer receiving new features. We recommend migrating all integrations to the current API.

What Changed

FeatureClassic APICurrent API
AuthenticationUsername + Password in POSTAPI Security Key
Card TokenizationDirect card data POSTCollect.js / Payment Component
Three-Step RedirectRequired for hosted flowReplaced by Hosted Checkout
Customer VaultSupportedSupported (improved)
Response FormatQuery string onlyQuery string or JSON

Migration Steps

  1. Generate an API Security Key — See Get Your API Keys. Replace username/password with security_key.
  2. Replace direct card POSTing — Implement Collect.js to tokenize cards on the frontend.
  3. Update transaction endpoint — The URL is the same; update the authentication field.
  4. Migrate Customer Vault — Existing vault entries remain valid. Update auth to use Security Key.
  5. Test in sandbox — Test all transaction types before deploying to production.

Authentication Change

# Classic (deprecated)
username=myuser&password=mypass&type=sale&amount=10.00

# Current API
security_key=YOUR_PRIVATE_KEY&type=sale&amount=10.00

See Migration Code Examples for before/after samples in multiple languages.

Take Your Business to the Next Level

Find out how our innovative payment solutions can benefit your business. Reach out to us for more information or to get started!

Let's Get Started