The Problem Orchestra Solves
Without Orchestra, integrating multiple payment providers means:- Writing and maintaining separate integrations for each provider
- Handling different APIs, data formats, and authentication methods
- Building your own failover logic when a provider goes down
- Re-integrating when you want to add or switch providers
Where Orchestra Fits
What Orchestra Handles
| Orchestra Does | You Handle |
|---|---|
| Provider API translation | Business logic (what to charge, when) |
| Credential management | Customer data (accounts, orders) |
| Transaction routing | User interface |
| Token storage | Compliance for your stored data |
| Failover execution | Provider account setup |
Transaction Flow
1
You make an API call
Your server sends a charge request to Orchestra with the amount, currency, and payment details.
2
Orchestra routes the transaction
Based on the
paymentGatewayAccountName you specify, Orchestra sends the transaction to the appropriate provider.3
Provider processes the payment
Stripe, Adyen, or whichever provider you specified processes the transaction with the card network and issuing bank.
4
Orchestra returns the result
You receive a standardized response with the transaction ID and status.
Key Concepts
Payment Gateway Accounts
A Payment Gateway Account is your connection to a specific provider. You create one for each provider account you want to use:- “stripe-production” → Your Stripe live account
- “stripe-test” → Your Stripe test account
- “adyen-backup” → Your Adyen account for failover
Tokens
Orchestra’s tokenization stores card details securely and gives you a token reference. Tokens are provider-agnostic—a card tokenized while routing through Stripe can later be charged through Adyen.Routing
You control routing by specifying thepaymentGatewayAccountName in each request. This lets you:
- Use different providers for different markets
- Route high-value transactions to preferred providers
- Implement A/B testing across providers
Sandbox vs Production
Orchestra provides both environments:| Environment | Use | Provider Mode |
|---|---|---|
| Sandbox | Development, testing | Connect to provider test/sandbox accounts |
| Production | Live transactions | Connect to provider live accounts |
Use separate API keys and Payment Gateway Accounts for sandbox and production. Don’t mix test credentials with live ones.