TL;DR
- To build a BNPL app like Afterpay, you are building five systems: an installment ledger, a risk layer, a merchant integration layer, a payments engine and a consumer app.
- Revenue comes from merchant commission, roughly 4% to 6% of sale value plus a fixed fee, which means approval volume and settlement accuracy drive the business.
- The ledger goes first. Risk, merchants and the app all depend on it, and rebuilding it later touches every downstream system.
- EngineerBabu builds these products end to end, from the decision engine to merchant SDKs, with senior engineers on the project throughout.
To build a BNPL app like Afterpay means shipping a pay-in-four installment product where the consumer pays no interest and the merchant funds the model through commission.
The architecture splits into five systems:
- A ledger that tracks four scheduled payments per order,
- A risk layer that approves in under two seconds,
- A merchant layer covering checkout plugins and settlement,
- A payments engine handling retries and failures, and
- The consumer app.
Each has a different failure mode. This guide covers what each system does, how the revenue works, and the sequence that avoids expensive rework.
How Afterpay’s Model Actually Works
Four equal payments, due every two weeks, with the first taken at checkout. No interest, no application fee, no monthly account fee for the consumer.
The merchant pays instead. Afterpay charges Australian retailers a flat fee of $0.30 per transaction plus 4% to 6% commission on the sale value, with the exact rate set in each merchant agreement. That is several times a card processing fee, and merchants accept it because BNPL lifts conversion and basket size.
Late fees exist but are tightly capped. On Pay in 4, Afterpay charges $10 the day after a missed payment and $7 more if it is still overdue a week later, limited to the lower of 25% of order value or $68 per order.
Those caps matter for your model. Late fee revenue cannot carry the unit economics, so approval quality and merchant volume have to.
This is a structurally different product from a revolving account, which is worth understanding before you commit. Teams weighing both models should compare it against the BNPL app development like Tamara approach used in other markets.
The Five Systems You Are Really Building
A BNPL app looks like a checkout button and feels like a bank. These five systems carry almost all of the engineering risk in the project. Get the dependency order wrong and you rebuild the expensive one twice.
1. The installment ledger
This is the product. Every order creates four scheduled payments, and the ledger has to reconcile to the cent through refunds, partial refunds, reschedules, late fees and write-offs.
Build it append-only. A mutable status field tells you where an order sits now, while an event stream tells you how it got there, which is what disputes and audits require. Design it so a payment can be replayed without double-charging.
Treat the ledger as a service with its own database from the start, since building scalable custom apps around a shared schema is where most BNPL platforms hit their first wall.
2. The risk and approval layer
Afterpay approves at checkout in seconds, which rules out heavyweight underwriting. Your layer runs device signals, order value, customer history, velocity checks and a credit assessment in one pass.
First-payment default is the metric that matters. A consumer who misses the installment taken at checkout rarely recovers, so the model should weight the first 25% heavily.
Keep rules and models separate. Rules handle hard stops like velocity and sanctions, while models handle scoring, and fintech APIs for financial software supply the bureau and bank data both depend on.
3. The merchant integration layer
Merchants are your second product and your revenue source. They need checkout plugins for Shopify, WooCommerce, Magento and BigCommerce, plus a hosted SDK for custom storefronts.
Behind the plugin sits the harder work: settlement reporting, refund and partial-refund handling, dispute workflows, commission calculation and payout scheduling. Each of these becomes a support ticket if it is approximate.
Settlement timing is the most common complaint. Merchants want funds within one to two business days, which means your payout logic cannot wait on consumer repayment.
4. The payments and retry engine
Four scheduled debits per order means four chances to fail. At scale, failed payments are routine operations, not edge cases.
The engine needs a repayment state machine, card and direct debit support, PayTo for account-based mandates, retry scheduling, and clean handling of return codes. Late fee application has to respect per-order caps automatically.
Choosing rails early shapes everything downstream, so evaluate payment gateways for startups against retry support and failure reporting rather than headline pricing.
5. The consumer app
The app is the thinnest system by engineering weight and the heaviest by conversion impact. Onboarding, order history, upcoming payments, card management, repayment rescheduling and hardship requests.
Keep the approval moment fast and legible. Users abandon when a decision takes more than a few seconds or when the available spending limit is unclear.
In-app discovery is increasingly where the volume sits. In-store BNPL is forecast to grow 18.15% annually through 2031 in Australia, per Mordor Intelligence, which makes a card or QR flow worth scoping early.
How The App Makes Money?
Understanding the revenue model changes what you prioritize in the build.
| Revenue line | Typical contribution | What drives it |
| Merchant commission | Majority of revenue | Approved transaction volume and average order value |
| Fixed per-transaction fee | Small but stable | Transaction count |
| Late fees | Minor, capped | Delinquency rate, limited by per-order caps |
| In-app referral and ad placement | Growing | Active user base and merchant directory traffic |
Two implications follow. First, every approved order earns, so approval rate is a revenue lever, not just a risk setting. Second, every default costs you the full principal, because there is no interest margin absorbing losses.
That tension is the whole product. A risk model that is slightly too tight kills revenue, and one slightly too loose kills margin, which is why mobile first lending products instrument their approval funnel obsessively.
Tech Stack, Team And Timeline
The stack below reflects what works for a pay-in-4 product at launch scale, not what a mature platform eventually runs.
| Layer | Practical choice |
| Consumer app | React Native or Flutter, single codebase across iOS and Android |
| Ledger and core services | Java, Go or Node with PostgreSQL, strict transactional guarantees |
| Risk layer | Python services for scoring, rules engine kept separate |
| Messaging | Kafka or SQS for payment events and webhooks |
| Merchant plugins | Platform-native extensions plus a hosted JavaScript SDK |
| Infrastructure | AWS or GCP, isolated environments, full audit logging |
A realistic launch team is eight to twelve people: two to three backend engineers on ledger and payments, one risk engineer, two mobile engineers, one frontend for the merchant portal, a designer, a QA engineer and a product lead with credit experience.
Expect nine to fourteen months to a market-ready build, with the ledger and risk layer consuming the first four. A cross-platform consumer app shortens that, which is why React Native development services are common on the mobile side.
The Build Sequence That Avoids Rework
Order matters more than speed here. Each phase produces something the next one consumes.
Phase 1: Ledger and money model
Model the order, installment, payment attempt, refund and fee entities before anything else. Decide how partial refunds redistribute across remaining installments, and how a late fee interacts with the per-order cap.
Write the reconciliation tests first. A ledger that balances under normal flow but drifts under refund-plus-retry is the single most expensive defect in this product category, because every downstream system has already assumed its numbers were correct.
Phase 2: Risk layer and decision logging
Build approval as a service with explicit inputs, a versioned ruleset and a stored decision record. Integrate bureau and bank data behind an abstraction so providers can be swapped.
Log inputs alongside outputs. A stored approval with no record of what produced it cannot be defended to a funder or a regulator, and it cannot be used to retrain the model either. Shadow-run the model against synthetic volume before any live traffic.
Phase 3: Merchant layer and settlement
Ship the merchant portal and one checkout plugin before building four. Settlement, refunds and commission reporting need to be correct against real orders before you widen distribution.
Onboard a small set of pilot merchants and run genuine transactions through refunds and disputes. Merchant trust is slow to earn and fast to lose, so a narrow launch with accurate payouts beats broad availability with reconciliation gaps.
Phase 4: Consumer app and controlled launch
With the ledger, risk and merchant layers stable, the app becomes assembly rather than invention. Focus the build on onboarding completion, payment clarity and self-service rescheduling.
Launch to a capped cohort with conservative limits, then loosen as default data arrives. Comparing an MVP vs full scale development path here usually favors the MVP, because your risk model needs real repayment behavior before it is worth trusting.
Where Afterpay Clones Fail
- Treating the ledger as a database table. Teams model installments as rows with a status column, then discover refunds and retries cannot be represented. This rebuild touches every other system.
- Approving on thin signals. Copying a competitor’s limits without their default data produces predictable losses. Start conservative and widen with evidence.
- Shipping the consumer app first. It demos well and proves nothing. The app is the last dependency, not the first.
- Underestimating merchant operations. Settlement queries, refund disputes and commission disagreements arrive from day one, and support tooling is rarely scoped into the build.
- Ignoring licensing until late. In Australia, BNPL is regulated credit, so the obligations under BNPL regulation in Australia shape your data model before they shape your legal paperwork.
Where EngineerBabu Fits
Building a pay-in-4 product is less about app development and more about financial systems engineering. That is where most generalist agencies run out of depth.
EngineerBabu has delivered lending and payments platforms across markets, covering ledger architecture, credit decisioning, risk modeling, merchant integrations and the cloud infrastructure underneath. The delivery runs on a CMMI Level 5 process, with senior engineers staying on the project rather than rotating off after kickoff.
If you are scoping this build, you can hire fintech developers onsite, remote or hybrid to extend your own team, or hand over the full build.
Final Thoughts
If you want to build a BNPL app like Afterpay, resist the instinct to start with the screens. The product is a ledger with an interface attached.
Get the money model right, log every decision, launch narrow, and widen on data rather than optimism. That sequence is what separates a BNPL platform from an installment feature that cannot scale.
About EngineerBabu
EngineerBabu is a technology development company building products across fintech, healthtech, and AI, from MVPs to scaled, production-ready platforms.
It holds a CMMI Level 5 rating, has worked with 4 unicorn clients, and has supported 200+ VC-funded products. The company is backed by Vijay Shekhar Sharma.
Founded by Mayank Pratap (Co-founder) · mayank@engineerbabu.com
FAQs
-
Do I need my own capital to launch a BNPL product?
Yes. You fund merchant payouts before consumers repay, so you need working capital or a receivables facility. Most platforms secure a warehouse line before scaling volume.
-
Can a BNPL app be profitable without charging interest?
It can, on merchant commission and transaction volume. Profitability depends on keeping default rates low enough that losses stay below commission earned per approved order.
-
How does Afterpay’s model differ from Klarna’s?
Klarna runs multiple products, including longer-term financing with interest. Afterpay stays on short, interest-free installments, which narrows the risk window but removes interest revenue entirely.
-
Is white-labeling faster than building from scratch?
Considerably faster, often three to four months. You trade control over credit policy, fee structure and merchant terms, which limits differentiation once you compete on approval rates.
-
How are refunds handled in a pay-in-4 product?
The refund reduces the outstanding balance and redistributes across remaining installments. Full refunds after partial payment require returning funds already collected from the consumer.
-
What approval rate should a new BNPL platform expect?
New platforms typically start conservative, below mature competitors, then widen as repayment data accumulates. Tuning without your own default history is guesswork that shows up as losses.