Start at the End
Your customer sees a payment form. They enter their card. They click “Pay.” They see a confirmation. That’s it. That’s what you’re building toward. Everything else is infrastructure to make that moment happen reliably, securely, and at scale.
Key Terms
Before we go further, let’s define a few concepts you’ll see throughout these docs:| Term | What it means |
|---|---|
| Payment gateway | Service that processes card transactions (Stripe, Adyen, Worldpay, etc.). You need an account with at least one. |
| Merchant account | Your account with a payment gateway that lets you accept payments and receive funds. |
| Token | A reference to stored card details. You use tokens instead of raw card numbers for security. Cards can be tokenized with Orchestra (gateway-agnostic) or with the payment gateway directly (gateway-specific). |
| PCI DSS | Security standard for handling card data. More card data you touch = more compliance burden. |
The Form: Build or Borrow?
When it comes to building that payment form, Orchestra gives you two paths, each with different tradeoffs:| Approach | What You Get | What You Handle | Payment Methods |
|---|---|---|---|
| 1. Payments Library | Pre-built UI, hosted card entry, PCI handled | Styling, callback handling | Cards + APMs (Apple Pay, Google Pay, PayPal, UPI and more) |
| 2. REST API | Full control over UI and flow | Building the form, tokenization flow | Cards only |


- You want the fastest path to production with minimal PCI compliance burden
- You need to support alternative payment methods (Apple Pay, Google Pay, PayPal, UPI)
- Pre-built UI components work for your use case
- You need pixel-perfect brand control over every aspect of the payment experience
- You’re already using a token vault provider
- You need to integrate payments into mobile apps or custom flows
What Payment Methods Can You Accept?
Beyond traditional card payments, the Payments Library gives you access to multiple payment methods that your customers might prefer:| Payment Method | Geographic Coverage | Notes |
|---|---|---|
| Cards (Visa, Mastercard, Amex, etc.) | Global | Via any configured gateway |
| Google Pay | 70+ countries | Pre-built UI included |
| Apple Pay | 70+ countries | Pre-built UI included |
| PayPal | 200+ countries | Pre-built UI included |
| UPI | India | Pre-built UI included |
| Bank transfers | Select markets | Regional availability varies |
Need a payment method we don’t support yet? We can add new payment methods at no cost to you. Contact us to discuss your requirements and timeline.
Behind the Form: What Actually Happens
When the customer clicks “Pay”:
The orchestration advantage: This unified API is why you can switch from Stripe to Adyen by changing one parameter instead of rewriting your integration. The same request format works across all supported providers.
The Payment Lifecycle
When you’re ready to collect money from a customer, you have two approaches to choose from, depending on your business needs: 1. Charge (and optionally tokenize) - This is the straightforward approach: authorize and capture (an optionally tokenize) in one step, and money moves immediately. You’ll use this when you can fulfill the order right away, like with digital goods, subscription signups, or in-person purchases. 2. Authorize → Capture - This two-step approach lets you reserve funds now and collect later. It’s perfect for situations where you need some time before fulfilling the order, like shipping physical goods, hotel check-outs where the final amount might vary, or any scenario where you want to hold funds before finalizing the charge.
Why Multiple Gateways?
Here’s an important point upfront: if you’re only using one payment gateway, you should integrate with them directly. Stripe’s API is excellent, Adyen’s dashboard is powerful, and direct integrations are often the right choice when you only need one provider. We’re not trying to compete with single-gateway integrations. Orchestra becomes valuable when your business needs multiple gateways working together:| Reason | Example |
|---|---|
| Failover | Primary gateway down? Route to backup automatically. |
| Geographic coverage | Adyen for EU, local processor for Brazil, different provider for APAC. |
| Payment methods | Gateway A for cards, Gateway B for bank transfers, PayPal for wallets. |
| Cost optimization | Route Visa to cheaper processor, Amex to the one with better rates. |
| Partner requirements | Your merchants have existing processor relationships you need to support. |
| Avoiding lock-in | Add/remove gateways without rewriting integration code. |
| Future growth | Need a new gateway next year? Add credentials, update routing logic. Your integration code doesn’t change. See all 90+ supported gateways. If we don’t support it yet, we’ll add it (2-4 weeks, no cost to you). |

Challenges Orchestra Helps You Overcome
Here’s where multi-gateway payment integration gets complicated - and how Orchestra helps:Challenge: Gateway goes down, you lose sales When your payment gateway has an outage, every transaction fails and you lose sales. Orchestra helps you build resilience by supporting automatic sequential failover:
Challenge: Storing cards securely (PCI DSS compliance) Handling raw card numbers puts you in PCI DSS scope (the security standard governing how businesses handle cardholder data). Options:
| Approach | How | PCI Impact |
|---|---|---|
| Full Outsourcing | Card entry happens in Orchestra’s hosted card forms. Process a charge, or tokenize the card for later use, directly from the card form. Card data never touches your servers. | SAQ-A eligible if you’re a merchant, SAQ-D if you’re a service provider* |
| Token Vault | Receive or collect card details independently and store them with Orchestra. You receive a token to use for future charges. | Card data transits your server only once for a short time frame |
| Third-Party Vault Enhancement | Use cards stored with a third-party token vault to process charges through your selected PSP. Card never reaches your system. | SAQ-A eligible if you’re a merchant, SAQ-D if you’re a service provider* |
Challenge: You want routing control, not a black box Some payment orchestrators make routing decisions for you using their own rules engine. That’s not how Orchestra works, and we consider this a competitive advantage. When you use someone else’s routing rule engine, you’re constrained by the types of rules and logic that they thought of. That might cover most cases, but who’s to say your business fits that category? With Orchestra, you set up your own rules based on your own logic and criteria. You’re not limited by someone else’s assumptions about how routing should work - you have complete flexibility to implement exactly what your business needs.
The Infrastructure You’ll Need
Before you can start processing payments through Orchestra, you’ll need to set up a few pieces of infrastructure:- Payment gateway accounts - You’ll need relationships with actual payment gateways like Stripe, Adyen, Worldpay, or others to process payments. Orchestra routes transactions to these providers, but doesn’t replace them.
- Gateway credentials stored in Orchestra - Once you have accounts with your chosen processors, you’ll store each processor’s API keys with Orchestra. This lets you reference them by name in your API requests rather than managing credentials in your own code.
- Orchestra API key - Finally, you’ll need an API key from Orchestra to authenticate your requests to our platform.
Orchestra uses major currency units (49.99), not minor units/cents (4999). If your payment gateway works in minor units, Orchestra converts automatically from major to minor units - keeping your requests to Orchestra consistent across all payment gateways.
cardToken come from?
- 1. Payments Library: The hosted popup returns it in your callback after the customer enters their card
- 2. REST API: You send card details to the
/tokenizeendpoint, receive a token back

What Orchestra Doesn’t Do
To set clear expectations, here’s what Orchestra isn’t designed to do:- Generally not a payment processor - Orchestra typically doesn’t process payments itself. You’ll need merchant accounts with payment processors, and Orchestra routes transactions to them on your behalf. However, we can provide payment processing services through agreements with our US and EU partners where that makes sense for your integration.
- Not a single-gateway replacement - If you only need one payment gateway like Stripe, you should use Stripe directly. Orchestra adds value when you need to work with multiple providers.
- Not a fraud engine - For fraud detection and prevention, you’ll want to use your payment gateways’ built-in fraud tools or dedicated fraud prevention services. Orchestra passes through fraud-related data but doesn’t make fraud decisions. However, we can integrate with external fraud services on demand.
- Not a reconciliation system - While Orchestra returns transaction references that you can use for reconciliation, the actual reconciliation of funds happens in your payment processor dashboards. However, we can add reconciliation capabilities on demand.
- Not a rules engine - Orchestra doesn’t provide a drag-and-drop UI for configuring routing rules. Your routing logic lives in your application code, where you have full control and flexibility.
Clear boundaries: Orchestra is primarily a routing and translation layer between your application and payment processors. You typically need your own processor accounts, fraud tools, and reconciliation systems. We handle the integration complexity, though we can also provide payment processing services through partnerships where appropriate.
Ready to Build?
At this point, you should have a solid understanding of how payment orchestration works and how Orchestra implements it. You’ve learned about the customer experience you’re building toward, the two integration approaches available to you, how payment operations flow, and the infrastructure you’ll need to get started. You also understand when Orchestra makes sense (multiple gateways) and when it doesn’t (single gateway), along with the key challenges it helps you overcome around failover, PCI compliance, and routing control. Ready for your next step? Let’s build a working charge in 5 minutes.Quickstart
First API call in 5 minutes