Multi-Tenant Payment Platforms and Marketplaces
Multi-tenant payment platforms serve many merchants from one shared install, and each merchant expects its own records to stay private. For example, a marketplace pays its sellers, while a software firm runs card payments for each of its own customers. So the platform team needs one engine that serves every merchant, yet it never mixes one merchant's data with another's. DaletPay is built for that need, because tenant isolation starts in the database and each action is checked and recorded. This page shows how the platform team uses those controls, and what it must still set up on its side.
In fact, each provider connection belongs to one tenant and one environment. A sandbox key for one merchant cannot reach the live account of another merchant. Also, most gated actions are written to an audit trail with the name of the operator. As a result, multi-tenant payment platforms get one set of rules for every tenant they host.
Key takeaway
DaletPay runs one engine for every tenant on a platform. Each tenant's rows are filtered at the database level, and each action is gated and recorded.
Why does a shared tool turn into a risk as you grow?
Many multi-tenant payment platforms start with one shared sheet or admin screen. At first, that works well for two merchants. With twenty merchants, however, one wrong filter can show the payments of another merchant. Indeed, the harm is not only technical, since contracts promise privacy and a leak hurts trust.
For instance, a support agent may need to help one merchant without seeing the rest. Similarly, a finance lead may need to close one month for a single merchant. Without clear walls, each request turns into a manual exception.
So multi-tenant payment platforms need a wall that does not rest on perfect queries. Otherwise, one slip can reach every merchant at once.
How does tenant isolation work in DaletPay, step by step?
Tenant isolation starts in the database. The schema uses PostgreSQL row-level security, so a query made for one tenant returns only rows of that tenant. Also, the app sets the tenant context on each request. Then the database holds the wall, whatever the app code does with the query.
Why does the database hold the wall, not the app?
For example, app code changes every week, and one new query can forget a filter. However, the database rule stays in place for every query. Thus, tenant isolation does not rest on each developer getting each line right. For multi-tenant payment platforms, that is the core of the design.
Next, multi-tenant payment platforms add capability checks. Specifically, a user can run only the actions their role allows. The capability is checked on each route before any work starts. Likewise, each provider connection carries a tenant and an environment, so a sandbox key cannot touch a live account.
The diagram shows one engine in the centre, with storage split by tenant beside it. The platform overview page explains how the four clients share the engine. In short, this shared payment engine gives one code path and one set of tenant controls.
What does the team set up before a merchant can go live?
Some controls are built in, and some depend on your own setup. The platform team should own both kinds and write them down. Thus, multi-tenant payment platforms keep one clear record of who set what.
The security controls page lists the checks behind each item. Likewise, the provider credential page explains how stored keys are protected. Also, credentials are encrypted at rest and shown only in masked form.
How should you add each new merchant, one step at a time?
On multi-tenant payment platforms, onboarding should follow the same steps for every merchant. That habit keeps the audit trail easy to read. It also makes the support load easy to plan.
- Create the tenant of the merchant, and assign the operators who will manage it.
- Set up merchant provider connections in sandbox, with the sandbox keys of that merchant.
- Run the test actions, the refunds, the webhook checks and a first sweep.
- Ask the merchant to approve the live connections in writing.
- Turn on the live connections, and record the change with the name of the approver.
Each step leaves an audit record, so the onboarding history can be reviewed later. In addition, the implementation plan gives a template for the sandbox tests in step three.
How do a marketplace and a software platform differ in use?
On multi-tenant payment platforms, marketplace payments often follow one pattern. The platform collects payments for many sellers and then pays them out. So the platform team watches the payouts of each seller apart from the rest. Then each payout is checked against the sales of that seller.
The dispute and payout workspace page describes the payout views that help. In contrast, a software platform often bills many customers on recurring plans. In that case, the subscriptions of each customer belong to the tenant of that customer. Where the provider supports subscriptions, the subscription view shows each plan for the tenant that owns it.
Which limits should the team plan for from the first day?
Tenant isolation protects the data, but it does not set the business rules. However, the platform team still decides who may act for a merchant through platform admin controls. It also decides how disputes are split and what happens when a merchant leaves. Those choices belong in the platform terms, and the software should reflect them.
First, run a sandbox test with at least two merchants before any live onboarding. In addition, test the deployment and the walls in your own setting. That work remains your task. Therefore, multi-tenant payment platforms should plan time for it in the first sprint.
What does a single shared engine give the whole platform?
- One set of rules means every merchant gets the same checks, statuses and audit trail.
- Clear walls come from row-level security and connections scoped to one tenant.
- Lower support load follows, since operators find the records of one merchant fast.
- Easier reviews result, because auditors read one trail with each change tied to a person.
A shared payment engine is simpler to run, yet it is also one place where a mistake can spread. So test the walls as carefully as the features. On multi-tenant payment platforms, both tests matter in equal measure.
Example: a new shop joins with two of its own providers.
In one common case on multi-tenant payment platforms, a new merchant wants one card provider and one bank transfer provider. The steps below match daily practice. It shows the onboarding order in order.
First, the platform creates the tenant and assigns two operators. Then the merchant provider connections are set up, and both sandbox keys are entered as write-only values. Next, the team runs the test actions and compares the statuses with each provider dashboard. Finally, the merchant approves the live connections, and the audit record shows each approver.
Another merchant on the same platform sees none of this work. Indeed, its rows are kept apart, and its operators hold other roles. Overall, platform payment operations stay calm for both merchants.
Which roles suit your staff, and which suit each merchant?
First, split roles between the platform team and each merchant. Platform admin controls are held by a small group that manages the install and the tenants. Merchant operators work only inside their own tenant. Meanwhile, support agents see the records that answer a question, and finance analysts see reports for their tenant.
Platform admin controls deserve the closest care. Keep the number of platform admins small, because each one can reach every tenant. So each one should have a named reason, a review date and an approver. Specifically, platform admin controls should be read on a fixed schedule.
As multi-tenant payment platforms grow, old grants tend to stay. Therefore, check platform admin controls each quarter and remove what no one uses. This short review closes the most common gap.
How do you split the duties with each merchant in writing?
First, multi-tenant payment platforms should write down which party does what. The platform keeps the software running, the walls intact and the audit trail complete. The merchant keeps its provider contracts, its bank accounts and its business rules. Also, each party names one contact for incidents, and each contact has a backup.
Agree on response times for a suspected leak and for a provider outage. Notably, a time agreed before an incident is far easier to keep than one agreed during it. Also, merchant provider connections need a named owner on both sides. Hence, payments for many merchants never wait on an unclear owner.
How can the platform add new tenants safely over time?
Multi-tenant payment platforms should add tenants in small batches. Each batch follows the onboarding steps, and its merchant provider connections are tested in sandbox. Only then does the next batch start. Also, watch the audit trail closely in the first month of each tenant, because early mistakes are easier to fix.
Next, plan capacity as the tenant count grows. Reports, sweeps and webhook queues are all driven by payment volume. Therefore, measure those queues each month, and set a limit that triggers a review early. The audit trail for risk reviews page shows what reviewers look for on multi-tenant payment platforms.
How should each merchant get reports on its own tenant?
On multi-tenant payment platforms, each merchant should get reports for its own tenant only. Build each report from the view of that tenant, and check that totals match the records behind them. Also, a merchant who wants a combined report should get a separate file. That file explains how the figures were joined.
Next, agree on the report schedule in the onboarding contract. A weekly summary and a monthly close report cover most needs. Extra reports should be asked for in writing. Overall, clear reports help multi-tenant payment platforms keep the trust of each merchant.
Test the tenant walls before your first merchant goes live.
First, set up two sandbox tenants and try to read the records of one tenant from the other. The check should fail every time. Then run the onboarding steps for both tenants and read the audit trail.
The implementation plan includes this test in the first sprint. It also covers tenant isolation, platform admin controls and merchant provider connections for multi-tenant payment platforms.
Common questions teams ask about platforms and how it works
How does DaletPay keep merchants apart on one platform?
Each tenant's rows are separated in the database by PostgreSQL row-level security. The application also sets the tenant context on each request, and capability checks decide which actions a user can run. So one merchant's provider keys and payments stay hidden from another, even on the same installation.
Can a platform team see every merchant's data?
Access depends on the roles you set, so a platform administrator needs a separate role from a merchant operator. Grant each role only the rights its job needs, and review those grants on a schedule. Most gated actions are recorded with the operator, so cross-tenant work shows in the audit trail.
Are merchant provider keys stored separately?
Each provider connection belongs to one tenant and one environment. Credentials are encrypted at rest with the configured key, and they are shown only in masked form. Production raises an error when the key is missing, so confirm the key setup before onboarding the first merchant.
What does a merchant onboarding involve?
Onboarding creates the tenant context and connects the merchant's providers in sandbox. Next, the team tests the actions and enables live connections with the merchant's approval. The merchant keeps its provider relationships, and each step is recorded for review.
Does a multi-tenant setup change the provider contracts?
No, each merchant keeps its own contracts, settlement accounts and terms with the provider. DaletPay connects to those accounts with the credentials the merchant provides. Platform terms should say clearly who owns each relationship and who can act on it.
See how DaletPay fits the providers your team uses today
Book a short meeting for a walkthrough with your own providers in mind, or join an in-person class to learn the method first.