Payment Orchestration Build vs Buy: What Breaks Either Way

You have one payment provider and a reason to add a second. A market the incumbent does not serve, a local method your customers expect, or a board that asked what happens on the morning the provider is down.
The payment orchestration decision is not build or buy. It is which parts you own either way, and three of them cannot be handed to anybody. Whether your stored card credentials can leave your current provider at all. What reference each provider will accept, so two settlement files can be matched. And how you will tell whether the routing changed anything. Settle those three and build or buy mostly answers itself. Skip them and both routes fail in the same place, a few months in, when finance asks why the numbers do not tie.
Whether to add a second provider at all is a separate question, and our post on why a second provider is not configuration answers it. This one starts after that decision is made. It also assumes you already know which declines are worth recovering, because routing a payment and recovering a failed one are two different jobs.
Build or buy a payment routing layer: the short answer
Buy the payment orchestration layer if you need a second provider live this quarter and your payments team is one person. Build it if routing logic is itself a competitive asset. Either way, settle three things first: whether your stored cards can move between providers, how you will match two settlement files, and how you will prove the routing helped.
Two things make that answer concrete.
The rule builder is not the product. Rules demo well, and they are the easiest part to write. The part you cannot write is custody of the card credential, and that is what you are really renting.
You can price the vault and not the routing. Checked on 2026-11-22, gr4vy.com/pricing/ returned HTTP 404 and primer.io/pricing returned HTTP 404. Spreedly's pricing page was the one that published a figure: its Independent Vault product, offering a compliant vault with unlimited storage, is listed as "Starting at $750 per month", while its Performance Optimization product, which is where the routing sits, is listed as "Contact Sales" and carries no price. So of the three pricing pages we checked, only the storage half had a public price, and the routing half had none.
Can your stored cards actually move to the second provider?
Only if the card numbers can leave with you. A provider token works only with the service that issued it, so a migration needs an export of the full card numbers, plus each card's latest network transaction ID and, for Mastercard card on file series, the Transaction Link Identifier. A network token is tied to the card scheme instead. Settle this before you design a single routing rule.
There are two kinds of stored card and they behave in opposite ways. Gr4vy's network token documentation, read 2026-11-22, puts the difference plainly: an acquirer or payment service provider token "can only be used by the service that generated the token", which "introduces considerable friction when using another service for failover, redundancy, or migration", while a network token "is tied to the scheme of the card" and "can be used by any acquirer or PSP that can transact for that scheme".
On how tightly a network token is tied to you, be careful what you repeat. You will read that a network token is locked to the merchant that requested it. EMVCo's payment tokenisation page, read 2026-11-22, does not say that. It says a payment token "is constrained in how it can be used. For example, to a specific merchant, device or payment scenario", and, under its benefits, that a token "should not be usable beyond a specific merchant, device or payment scenario". Both sentences give the merchant tie as one instance of a constraint, alongside device and payment scenario, rather than as a general rule. The flat version appears in vendor documentation: Gr4vy's page says the token "is limited to the merchant it's been created for" and that "a network token cannot be used to process a transaction with another merchant". We could not read the general rule from a primary standards source. Where it would be settled is the EMV Payment Tokenisation Specification Technical Framework, version 2.4, which EMVCo's own page lists as published on 9 July 2026. So ask your provider who holds the token requestor role, get the answer in writing, and do not design around a sentence you found in a blog post.
What a migration actually needs is the card numbers, not the tokens. Gr4vy's vault token import guide, read 2026-11-22, is blunt about it: "Card tokens issued by your current payment service can't be imported, as they only work with that payment service." Before you migrate, that page says, ask the token holder for an export of the full card numbers. The token holder can be you or it can be your current payment service, so where the provider holds the vault, the provider has to agree to hand those numbers over. That is a commercial conversation with the party you are partly leaving, and it belongs at the start of the project rather than in the week before cutover.
Two fields get forgotten in that export and both break recurring charges. The same guide says to include the latest network transaction ID for each card, because without it "merchant-initiated transactions on imported cards can't reference the previous transaction". And for Mastercard cards in a card-on-file series, you need the Transaction Link Identifier. Gr4vy's TLID page, last updated 26 October 2026 by its own note and read 2026-11-22, says Mastercard began returning the TLID on 2 June 2026 and requires it on every later merchant-initiated transaction in a stored credential series from 23 October 2026. That page also says some acquirers communicate their own compliance dates and to check with yours, which is exactly the clause a summary drops.
And the migration does not end on cutover day. The import guide states that the platform "only records refunds, chargebacks, and other updates for transactions that it processed", so updates about transactions made before the migration are not recorded and keep arriving at the old provider. You run two dispute surfaces until the old tail expires. Put that in the project plan.

Keeping a stored card usable over time is a different problem, and our post on why stored cards go stale covers it. The question here is whether the credential can move at all.
How does a payment routing rule actually get evaluated?
Gr4vy's Flow documentation, read 2026-11-22, states the mechanic in one line: "Each rule is evaluated from top to bottom; the first matched rule is used to change the outcome." The action a rule changes, on the same page, is a transaction being "declined or routed to a specific connection".
First match wins means the order is the logic, and that holds for multi-acquirer routing on any platform built this way. Whoever can drag a rule up the list can change where your money goes, so if you build this, the rule list needs ordering, versioning and a review trail. That is a product surface with permissions on it, not a configuration file.
The conditions you can test on are more specific than a feature list suggests. Gr4vy's card transactions Flow page, read 2026-11-22, lists amount, card scheme, card type, card country, card issuer name, card product name, card source, customer country, currency, BIN range on up to the first eight digits of the card, an anti-fraud provider's decision, browser language, a merchant initiated flag and arbitrary metadata keys. One line in it is worth reading twice: "Each rule defines a single currency for which it applies." A cost based routing rule is therefore not one rule. It is one rule per currency you take, each needing its own test.
The gap worth knowing about is the no-match case. Across the five pages of Gr4vy documentation we read on 2026-11-22, the Flow overview, the card transactions Flow page, the identifiers and reconciliation guide, the network tokens overview and the vault token import guide, each carrying more than 98 per cent text against its own raw HTML, none states what happens when no rule matches. A sweep for "no rule matches", "default rule", "fallback rule" and "catch all" returned zero across all five, against positive controls in the same run that found "first matched rule" once and "split routing" seventeen times. So the default route is a decision on your side of the line, and it is easy to make by accident.
How do you reconcile payments across two providers?
You need one reference that you mint and that both providers accept and return. Most providers limit the length of reference fields, so a standard UUID is often too long to send, and your matching key is set by the shortest field the least accommodating provider allows. Never key your records on a provider's own transaction id.
Gr4vy's identifiers and reconciliation guide, read 2026-11-22, was the most useful page on this subject in everything we read, and it sorts identifiers into three groups: the ones you supply, the ones the platform mints, and the ones each provider returns. Reconciliation, it says, "is a two-step process: the platform maps the PSP record to a platform record, and then the platform maps that record back to your system".
Then comes the sentence that contains the entire problem. "Because most PSPs have character limits for reference fields, standard UUIDs are often too long to send." So the platform sends a shorter reconciliation identifier instead. And some connectors cannot send even that, because "the PSP field enforces additional length or character rules", in which case an alternate reference derived from the transaction id goes across.
Your matching key is the shortest field the least accommodating provider will accept. That is a data model decision, made for you by a third party's input validation, and it is the thing to establish in the first week rather than the first month close.
Two more rules from the same guide. Do not key your database on a provider's own transaction id: "PSPs frequently update API versions, which can change the format or the field used for transaction IDs", so those ids are for reference and logging only. And when a payment runs on a network token, the provider receives the token rather than the card number, so "its dashboard can show different card digits than the platform". Your support team will try to match on the last four digits, and the digits will not agree.
There is a field designed for exactly this one job. EMVCo's page describes the Payment Account Reference as a way "to link transactions that use EMV Payment Tokens with the PAN for which the Payment Tokens have been issued". If you want one customer's payments to reconcile across two providers and two instrument types, ask both providers whether they return it.

How the fees themselves arrive, and why a decomposed fee cannot be rebuilt from a blended statement, is a separate piece of work with its own section in our gateway integration post.
How do you prove the routing helped?
You split the traffic and you label it. Gr4vy's card transactions Flow page documents a split routing outcome that spreads matched transactions across one to four variants, each with a percentage, with a variant chosen at random per transaction using those weights, and the percentages required to total exactly 100 before the rule will save. Its own instructions tell you to give each variant a descriptive name, and the first example they offer is "Control", which tells you how the feature is meant to be used.
One row in that page's limits table decides your whole experiment design. Against "Failover scope" it gives the limit as "Within a single variant only", and never across them. Failover order lives inside a variant, so a variant is a complete routing path rather than a single connection. You are comparing paths, not providers, and if you forget that you will attribute a failover recovery to the wrong arm.
Two operational notes from the same page, both easy to trip over on day one. A variant shows up in the reporting only once at least one transaction has gone through it, so an empty arm looks like a broken integration. And historical data for a deleted variant stays visible, which is what you want when you read an old experiment back.
What none of this gives you is a stopping rule. No sample size, no significance test, no guidance on how long to leave it running. Across the six vendor build or buy pages we read on 2026-11-22, from Comcarde, Spreedly, Gr4vy, Corefy, IXOPAY and Yuno, a sweep for sample size, statistical significance, confidence intervals and holdbacks returned zero on every one of them. The split is the easy half.
Two things make the comparison honest. Make it inside one segment, because a blended authorisation rate hides the one issuing country that is dragging the average, which is the segmentation our post on authorisation rate by scheme and issuing country sets out. And store the variant label on the payment itself, so it survives into the warehouse and into the dashboard that shows it. A per variant number nobody can see is not evidence.
This post carries no authorisation rate uplift figure, because none we came across while researching it described a method, a sample or a control. Measure your own, in your own segments, and treat anybody else's as marketing.
How hard is it to build your own payment processor?
Hard enough that you should not, and it is almost certainly not what you are being asked to do. A processor needs scheme membership, acquiring arrangements and settlement, which is a regulated business rather than a roadmap item. What people mean by this question is the routing layer that sits on top of two providers you already have contracts with.
That layer is five pieces:
- an ordered rule set with an explicit default
- custody of the credential, or a path that forwards to wherever it lives
- your own reference, minted by you and fitted to each provider's shortest reference field
- a traffic split with the variant label stored on the payment
- a reporting surface that reads the result back
None of the five is hard to write. All five are permanent once money flows through them, which means standing work: someone on call for the routing layer, changes each time a provider updates its API, and new scheme rules such as the Mastercard TLID requirement above.
The expense is in the second provider's exceptions, not the first provider's integration. The first one teaches you the happy path. The second one is where you find out whether your two providers define partial capture, dispute finality and the authoritative webhook the same way, so compare their documentation on those three before you estimate. If the second route is a bank rail rather than a card provider, that is a direct rail integration and a different project again. And if the product itself moves money rather than taking payments for something else, the module list changes completely, which we cost as building a financial product rather than taking payments for one.
Which parts of payment orchestration do you own either way?
It means deciding which parts of the routing layer move onto someone else's roadmap. You own part of this layer whichever way you go. The honest version of the question is which parts move onto someone else's roadmap.
What has to be decided | If you buy | If you build |
|---|---|---|
Rule evaluation order | Theirs, first match wins, ordered in their dashboard | Yours, including who is allowed to reorder it |
The route when no rule matches | Yours to establish, and ask before you sign | Yours, and written down |
Custody of the stored credential | Theirs, with an export clause you negotiate | Yours, with the scope that comes with it |
The reference each provider accepts | Theirs, and you store what they return | Yours, fitted to the tightest field |
Traffic split and the per variant readout | Theirs, if the product has it | Yours, assignment and reporting both |
Disputes from before a migration | Yours, at the old provider | Yours, at the old provider |
The row to argue over is custody. The other rows can be changed later. That one sets whether you can leave, and it is the row that is hardest to renegotiate once your customers' cards are sitting on the other side of it. If you build and hold the card numbers yourself, your systems come into PCI DSS scope, which is the standing compliance cost of that column.
A hybrid is also open to you, and it is what the table already implies: buy routing for the new market and keep your existing direct integration for the incumbent provider.
What should you evaluate in an orchestration platform?
Evaluate an orchestration platform by asking five questions before you compare features. We sell neither an orchestration platform nor a vault, so this post ranks none of them. Of the six build or buy pages we read on 2026-11-22, four of the five questions below were answered on none of them. The fifth, what you get back if you leave, was answered only in general terms: Gr4vy's own build or buy post says reputable platforms give you full ownership of your data and tools to export it, and Adyen's evaluation list asks what happens to your payment data and customer tokens if you want to move away. Neither says what the export contains, which is the part that decides whether a migration is possible at all.
- Will you export the full card numbers if we leave, under what notice, and in what format?
- Do you provision network tokens, or pass through tokens we provision ourselves?
- What reference do you send each provider, and what happens on a provider whose reference field will not take it?
- Can we split traffic and read the result back by variant?
- What is the route when no rule matches?
Then read who is paying for each sentence. Adyen's knowledge hub page on payment orchestration, read 2026-11-22, argues at length that orchestration can create more problems than it solves, and Adyen is a payment service provider, so that page is also an argument for integrating directly with a provider. Gr4vy's documentation stresses that a network token can be used by any acquirer or provider that can transact for its scheme, and Gr4vy sells a platform whose value depends on that being true. Both can be factually correct at the same time. The sentences worth carrying away from either are the operational ones in the documentation rather than the arguments on the marketing pages, which is why almost everything cited in this post is a docs page.
When is a single provider still the right answer?
Usually, yes. One provider, integrated properly, with the payment states modelled and the event handling correct, beats two providers held together by a routing layer nobody owns. Adding the second provider is a real project, not a setting, and the cost lands on reconciliation and support rather than on the integration.
A second provider earns its place in three situations. You cannot stop taking money, so you need a path that is not the incumbent. A market you want is closed to your provider. Or a locally important payment method is missing and the method, not the provider, is what you are buying. Redundancy as a feeling is not one of the three.
Marketplaces are the case that runs the other way. Splitting a payment between sellers tends to push you towards one provider's native facility rather than away from it, because the split is usually a feature of the provider holding the funds, so check that before adding a routing layer. If you are costing the whole build rather than this one layer, our ecommerce app development cost post is the wider picture, and our fintech and banking software development page covers what changes when the money movement is the product.
Ask the three questions in the order they bite. Can the credential move. What key matches the two files. How will you know it worked. A team that can answer all three has already done the difficult thinking, and a team that cannot will struggle on either route, because those three stay on your side of the line whichever way you go.
Frequently asked questions
Payment orchestration is a layer that sits between your application and two or more payment providers, decides which provider a given transaction goes to, and stores or forwards the card credential so the same customer can be charged through either one. In practice it is five things: an ordered rule set with an explicit default, credential custody, identifier mapping for reconciliation, a traffic split, and a way to read back which route performed better. You can buy that layer from a vendor or build it, and either way the credential custody question has to be settled first.
Buy it if you need the second provider live within the quarter and payments is not a team you staff. Build it if the routing decision is itself part of your product, for example if you route on something only you know about the transaction. Before choosing either, answer three questions: can your stored card credentials leave your current provider, what single reference will match two providers' settlement files, and how will you measure whether a routing change helped. Those answers change the estimate far more than the build or buy choice does.
Not as tokens. Gr4vy's vault token import documentation, read on 2026-11-22, states that card tokens issued by your current payment service cannot be imported because they only work with that service, and that the migration therefore needs an export of the full card numbers from the current provider. That export depends on your contract and on the provider agreeing to it. A network token behaves differently, because Gr4vy's network token documentation describes it as tied to the card scheme rather than to a single provider, but the constraints on a given token are a question for your provider rather than something to assume.
On Gr4vy's platform, documented and read on 2026-11-22, rules are evaluated from top to bottom and the first rule that matches is the one that changes the outcome, and the action it changes is either declining the transaction or routing it to a specific connection. Conditions can test the amount, the card scheme, the card country, the issuer and product name, the currency, a BIN range on up to the first eight digits, a fraud provider's decision and your own metadata. Each rule applies to a single currency, so a cost based rule is really one rule per currency you accept.
Of the three pricing pages we checked on 2026-11-22, only Spreedly's carried a figure. Gr4vy's and Primer's pricing URLs both returned HTTP 404, so no price was found there. On Spreedly's page, its Independent Vault product is listed as starting at $750 per month, while the performance and routing product is listed as contact sales and carries no price. So you can get a public price for storing the credentials and you will need a sales conversation for the routing, which is worth knowing before you build a comparison spreadsheet around published rates.
With one reference that you mint and that both providers will accept and return. Gr4vy's identifiers and reconciliation guide, read on 2026-11-22, describes reconciliation as a two step mapping from the provider's record to the platform's record and then back to yours, and warns that most providers limit the length of reference fields, so a standard UUID is often too long to send. Do not use a provider's own transaction id as a primary key, because providers change the field and the format across API versions. And expect the card digits in a provider's dashboard to differ from yours whenever a network token was used.
It can, but plan against your own measurement rather than a published figure. None of the uplift numbers we came across while researching this described a method, a sample or a control. The way to get a number you can trust is to split your own traffic, name one arm as the control, keep the comparison inside a single card scheme and issuing country, and store the arm label on the payment so the result can be read back later. Until you have run that, treat any published uplift as a sales figure.

Vikas Choudhary
Vikas has around fifteen years of experience building software and now builds generative AI systems at Zyneto. His work covers retrieval augmented generation, agentic AI, knowledge graphs, AI memory, and the evaluation and guardrails that decide whether any of it is safe to put in front of customers. He has shipped enterprise copilots, document AI, chatbots and predictive analytics for e-commerce, fintech and marketing teams, and works day to day in Python, JavaScript and SQL. He follows multimodal models, business process automation and enterprise AI security closely, and mentors engineers moving into AI. He writes about architecture, inference cost and the failure modes that only show up at production scale.
Zyneto builds custom software, AI and automation
Tell us what you are building and we will reply with a clear next step.









