
—
When a merchant asks to refund a sale through your app, the amount is only part of the request. Your app has to identify the seller and confirm who may issue the refund before charging the right balance. If your company collected a fee, you also need to decide what happens to it.
A payment API needs to keep each merchant’s records separate and let your app follow the money. It must also report changes that happen after a request succeeds. When a sale is reversed, your team needs to know which balance pays.
Match Each Merchant to Its Payment Account
Give every merchant its own record in your app and link it to the right account with the payment provider. Keep the business separate from the customer paying it and from the employee signed in to manage it.
Check how that link works throughout the API. Can an employee see only the merchants they manage? Does a refund identify the original seller? Where does a failed payout appear? Answer those questions about the accounts before comparing how many lines of code it takes to charge a customer.
1. Stripe Connect
Stripe Connect offers several charge models. Each treats merchant balances and platform fees differently. Your team can compare them to decide which parts of a payment to record in each connected account.
Direct Charges and Shared Purchases
Direct charges fit SaaS merchants selling to their own customers and can include an application fee for the platform. Destination charges and separate charges and transfers offer other ways to collect and divide the money. These include payments that involve several connected accounts.
Choose the model that fits how you plan to work with merchants. Your choice determines where Stripe records payments and which balance pays the fees. It also controls whose balance covers refunds and chargebacks. Your finance team needs to know who pays those costs, just as developers need to know how to write the request.
Merchant Operations Inside the Product
Embedded components let merchants update account details, view payments and disputes, handle payouts and export reports inside your website. Your team can use those screens where building its own would add little value.
Choose the charge model with your product team and the people building the integration. Finance staff also need to agree on whose balance pays when a payment is reversed. Record that choice in the API design so staff can find it without reading the code.
2. Adyen for Platforms
Adyen for Platforms lets you control balances and split funds. It checks merchants before they can use payment services. To assess its APIs, trace where you want the money to go and then work back to the payment request.
Merchant Checks Control Access to Payments
Adyen asks for details based on the merchant’s country and legal entity when the business signs up. Its checks control whether the merchant can accept payments or receive payouts. Later account changes and routine reviews can mean the business needs to supply more details.
Your app needs to track changes in what a merchant may do. Finishing signup does not mean a business can keep using every payment function without further checks. Show staff what Adyen now needs and what they must do to resolve the request.
Split Instructions Continue Through Reversals
Adyen can split funds at authorization and capture, and can also split refunds and chargebacks. You can use balance accounts and internal transfers to move funds after a sale. It also offers managed or custom payouts.
Under Adyen’s liable-account rules, your company may have to cover merchant balances that stay below zero. Review those rules in the contract and account design. The API lets you control how funds move, but your agreement still decides who pays when a merchant lacks funds.
3. Finix
Finix gives software platforms APIs for merchant payments, with hosted or custom signup. Its launch checklist covers the work around taking a payment, so you can check whether your app is ready for merchants.
Separate the Buyer From the Merchant
Finix calls its API resources Identity, Payment Instrument and Transfer, among others. In its ACH flow, the buyer’s payment instrument is the source of funds. The merchant has a separate identity. Keep those roles clear in your app’s records.
Link each API resource to what it means in your app. A saved bank account or card tells you how a buyer pays. It should not serve as the record of the merchant who gets the funds.
Finish Payment and Merchant Signup Flows
Your app must handle rejected merchant applications, failed payments, refunds, disputes, payouts, fees and webhooks. Finix reviews your platform before live processing. A payment that works in the sandbox does not mean you have finished the work to go live.
Build secure ways to receive events and send cases to staff when they need help. Finix supplies the payment infrastructure. Your team still has to make sure each change reaches the right merchant in the app. Include that work when you estimate the build.
4. Checkout.com
Checkout.com‘s Integrated Platforms uses sub-entities and sub-merchants under one integration. Its APIs let you manage business records, requirements, files and members. You can collect the details needed to check merchants through the API or with prebuilt signup forms.
You can split funds at authorization or capture and set fixed, variable or combined commissions for users. Other resources cover bank payment instruments, payout schedules and reserves. Your team can inspect those objects to see how it would manage merchants and divide their funds.
Review the Full and Lite account models separately. Full pays sub-entities to their external bank accounts. Lite settles to the platform’s bank accounts, leaving the platform to distribute funds and collect its fees. If you choose Lite, your team must plan how to get the money to merchants. Confirm the account model and which functions it supports in each country when your platform signs up.
5. PayPal Multiparty Payments
PayPal Multiparty Payments lets you sign up sellers who give your platform permission to act on their accounts. You can collect partner fees and handle purchases from several merchants. PayPal checks sellers against its risk and compliance requirements.
A multi-seller order can include purchase units from several merchants in one buyer checkout. Each settles as a separate merchant transaction and appears separately on the buyer’s payment method. Your app needs to keep track of those separate sales within the order.
The way sellers sign up changes which features they can use. Onboarding before payment supports Checkout and Expanded Checkout, while onboarding after payment does not support Expanded Checkout or saved payment methods. Expanded Checkout also requires sellers to have business accounts. Your team can build in the sandbox, but must apply for live credentials and get approval before launch. Confirm how sellers will sign up before building around a feature.
Test Merchant Access Before Payment Volume
Set up two merchants and give their employees different account permissions. While signed in as the first merchant’s employee, try to view or change the second merchant’s payment. Check whether you can refund it too, and repeat the tests through your app’s server routes. Controls in the browser alone cannot protect the records.
Your app should deny access before it returns private data or acts on a request. Also test a staff member assigned to both merchants, then remove access to one account. These checks show whether your app keeps merchants separate through the full request path. Sending lots of successful payments through one account cannot answer that question.
Check Retries and Duplicate Events Separately
Retrying a Request After a Timeout
Test a request whose response never reaches your app. The payment may exist even though the client saw a timeout. Before your app sends another charge, check the provider’s rules for retries and how it prevents the same charge from going through twice.
Repeat the exercise for refunds and transfers. Save the reference your app needs to find the first request, and decide when staff should check an unclear result. Retrying must not create a second transaction. Keep a record your team can find again for each charge or refund, and do the same for transfers.
Receiving an Event More Than Once
Send the same payment event twice and check whether your app acts on it twice. Sending another receipt may be confusing. Creating another refund or granting the same paid service twice can be more serious.
Use the provider’s supported method to check that an event came from it. Then apply the event to the right merchant and payment, and save a record of what your app processed. Use each provider’s own event format and rules for delivery order when you run these tests.
Reconcile the Payment With Its Later Changes
Keep a payment record linked to its refund, dispute, fees and payout records. Choose a test merchant and follow those changes through your app and the provider’s reports. Finance staff should be able to explain the balance without asking engineers to piece the payment together from logs.
Include a failed payout and an account that needs more checks. Your app should show whether the problem is with a customer payment or the merchant’s account. Staff may need to take different steps, and only some staff may have permission to act. Give them enough account detail to resolve the case.
Make Missing Updates Visible
Also test a time when your app cannot receive updates. Find out how your team will retrieve changes it missed and bring its records back into line with the provider’s. Ask which API queries and reports let you do that before you rely on real-time events alone to update a payment’s status.
Give support staff a way to tell whether a payment is still in progress or its record is out of date. A screen that still says pending may mean the provider is waiting, or your app may have missed an update. Your team needs a way to find out which case applies without asking for another payment.
Require a Complete Merchant-Level Record
Before choosing the API, ask your team to show one merchant’s full payment history, with access limited to the right staff. It should be possible to identify what the customer paid, what changed later, which fees applied and what reached the merchant.
Include a retry and a reversal in the test. If a developer has to explain a balance from memory, your app needs more work. Choose an API whose account model lets engineers and support staff work from the same records as finance. They should all be able to explain what happened to the money.
—
