EMBEDDED PAYMENTS API
One embedded payments API, with compliance inside it.
FrameOS gives platforms one API for sub-merchant onboarding, identity, payments, payouts and disputes, so the compliance work runs in the same calls as the money.
In short
- An embedded payments API lets a software platform onboard the businesses on it, accept payments for them and pay them out, without each business opening its own merchant account.
- The core surface is six jobs: sub-merchant onboarding, KYC/KYB identity checks, payments, payouts, risk and disputes, and event notifications.
- Card networks treat the businesses on your platform as sponsored merchants, so due diligence and monitoring belong in the integration from the first sprint.
- FrameOS covers all six jobs in one integration, with instant sandbox access so engineering can build while Frame reviews the platform.
- Endpoint names, objects and code samples are in Frame's API documentation at docs.framepayments.com.
Why onboarding comes before the charge
An embedded payments API lets a software platform take payments on behalf of the businesses that use it, without each of those businesses opening its own merchant account.
For a developer, the embedded payments API is the contract between your product and the money. It defines how a new seller is onboarded and verified, how a charge is created and settled, how funds reach the seller, and how your system learns about each step. In card network terms, the businesses on your platform are sponsored merchants (often called sub-merchants), and Visa applies its merchant requirements to them as if they had contracted directly with an acquirer, the bank that processes card payments for merchants1.
Most API overviews skip that part. Teams often build the charge endpoint first and treat onboarding, identity checks and monitoring as a later project, but those checks decide whether your sellers get approved and whether they keep getting paid after launch. FrameOS puts payments, payouts, identity and compliance behind one API so those decisions happen in one system.
What follows is the API surface at the level a PM or tech lead needs to scope the work. Exact objects, parameters and code samples live in Frame's API documentation.
What the embedded payments API covers
Most embedded payments APIs cover the same six jobs, and providers differ mainly in how many separate vendors you need to cover all six.
Sub-merchant onboarding
Create an account for each business on your platform, request the capabilities it needs, and send the account holder through Frame's hosted or embedded onboarding session, which collects only what is still due12. FrameOS onboarding is co-branded and mobile-optimized.
Identity: KYC and KYB
Verify people (KYC, know your customer) and businesses (KYB, know your business) with document checks, liveness, watchlist screening, and bank account, phone and address verification. KYC Prefill starts from a name and phone number.
Payments
Visa, Mastercard, Amex, Discover, Apple Pay, Google Pay, Cash App Pay, ACH and RTP. Frame.js tokenizes card details in iframes to keep PCI scope small18, and Frame runs 3D Secure when the issuer, regulation or its risk engine requires it16. Hosted checkout and payment links cover no-code flows.
Payouts
Send sellers their funds across 300+ payout rails, including cards, ACH, Venmo, Cash App, PayPal and Apple Pay. Every outbound payout is screened before it moves.
Risk and disputes
Sonar monitors transactions in real time at no extra cost. Creator Shield screens creators for adverse media. Disputes run through alerts, a network feed and representment.
Events
Webhooks tell your system when a capability activates, a payment or payout succeeds or fails, or a dispute is created, so you are not polling for status. Each delivery is signed with HMAC-SHA256 and retried up to three times13.
Billing runs on the same platform: usage metering, hybrid subscription-plus-usage plans, prepaid wallets with auto top-up, Net 30 and Net 60 invoicing, and proration. If your platform charges its sellers for software as well as processing their payments, both can live in one integration through billing.
Onboarding a first seller, step by step
Here is an illustrative flow for a platform onboarding its first seller; the exact objects and calls are in the docs.
Get sandbox access
You get sandbox keys straight away, so engineering starts building while Frame's underwriters review your platform. Integration and approval run in parallel.
Create the sub-merchant
When a business signs up on your product, create its account with the capabilities it needs, such as bank_account_receive for payouts. Then create an onboarding session and redirect the holder to Frame's hosted flow, or open the embedded onboarding component12. The flow is co-branded and built for mobile, where many sellers sign up.
Verify the business and its people
Run KYB on the entity and KYC on the individuals behind it. Frame's KYB asks for at least one owner and one controller, and each of them completes their own KYC before the business check starts17. FinCEN's customer due diligence rule for banks defines beneficial owners as anyone owning 25 percent or more of a legal entity plus an individual who controls it4, which is why bank-sponsored onboarding typically asks for owners and a controller.
Handle the verification outcome
Each capability reports its status: active, or pending with the fields still owed listed in currently_due. A terminal verification_rejected error means the check will not pass however often it is retried11. Build your UI for all three outcomes and give the middle one a clear path back into onboarding.
Monitor and respond to disputes
Sonar watches transaction patterns in real time. When a dispute arrives, Frame fires a charge.dispute.created webhook13, and alerts, automated evidence assembly and representment help you respond inside the network deadline.
Pay the seller
Send funds over the rail the seller prefers. Each payout is screened, and identity and location are verified before the money moves.
Go live
Move from sandbox to production once Frame approves your platform. The environment follows the API key, so you swap sandbox keys for production keys and nothing else in the integration needs to change15.
Compliance in the request path
In an embedded model, compliance runs inside the API calls that create sellers and move their money.
Sub-merchant due diligence
Visa's acceptance risk standards require a payment facilitator to provide the names of principals and their country of domicile for each sponsored merchant, and they treat a sponsored merchant's acts and omissions as those of the payment facilitator2. Visa's payment facilitator guide also says sellers' transactions and behavior must be monitored continuously8. That is why identity data and transaction data belong in the same system: the checks at onboarding and the signals after launch describe the same seller.
PCI scope
How you collect card data decides how much PCI DSS (the card industry's data security standard) work lands on your team. For e-commerce merchants that embed a PCI DSS compliant provider's payment page in an iframe, SAQ A, the shortest self-assessment questionnaire, now also requires confirming the site is protected from script attacks3. Confirm the right questionnaire with your assessor or acquirer. PCI compliance support is included with Frame10, and Frame's web SDKs render card fields as iframes to minimize PCI scope18.
Dispute thresholds
Visa's Acquirer Monitoring Program (VAMP) divides fraud reports plus disputes by settled card-not-present transactions. From April 1, 2026, a merchant in the U.S., Canada, the EU or Asia Pacific is classed as Excessive at a ratio of 150 basis points (1.5%) with at least 1,500 fraud and dispute events in a month6. In integration terms, that means storing every fraud report and dispute against the sub-merchant it belongs to, so you can compute each seller's ratio as well as the platform's. Our post on VAMP compliance covers the calculation in more detail.
Payouts and tax reporting
On the payout side, Frame screens every outbound payout before it moves. Plan for information reporting as well: the IRS says third party settlement organizations need not file Form 1099-K for a payee unless payments exceed $20,000 and the number of transactions exceeds 200 in the year7. Your platform needs accurate payee data to make that determination.
One API vs a stitched stack
The alternative to one embedded payments API is usually five integrations and an audit trail split across all of them.
| Capability | FrameOS | Processor API + separate vendors | Build as a registered PayFac |
|---|---|---|---|
| Embedded sub-merchant onboarding | Yes | Partly | You build it |
| KYC/KYB and watchlist screening | Yes | Separate vendor | Build or buy |
| Underwriting decisions | Frame underwriting on processing history, disputes and business profile | Processor policy | Your team, under sponsor bank oversight |
| Real-time transaction monitoring | Sonar, included | Add-on or separate vendor | Build or buy |
| Payouts with compliance screening | 300+ rails, every payout screened | Separate payout provider | Build on bank rails |
| Geocompliance (GPS, WiFi, device) | Yes | Separate vendor | Build or buy |
| Dispute alerts and representment | Yes | Partly | Build or buy |
| Audit trail | Exportable audit trail on every check | Split across vendors | You build it |
| Integrations to maintain | One | Several | Several, plus card network registration |
This table compares architectures rather than named providers, so coverage in the middle column depends on which vendors you choose.
Charge design also allocates liability, so read it before you write code. Stripe's Connect documentation, for example, states that with destination charges or separate charges and transfers, the platform is responsible for related negative balances9. Whichever provider you use, find out which account absorbs refunds, disputes and losses for each charge type. Frame's Platform Agreement, for instance, says the platform remains solely responsible for the financial risks of providing its own services19. If you are weighing whether to own that liability yourself, see payment facilitation as a service.
Build notes: retries, events, failures
These patterns hold for any payments integration, and they matter more when the money belongs to someone else.
- Make every write safe to retry. The IETF's Idempotency-Key header draft describes how clients can retry POST requests without creating duplicates5; Frame requires that header on POST /v2/transfers, so a retry returns the original response instead of creating a second transfer14.
- Treat events as the source of truth for state changes and reconcile against them. A customer who closes the tab before the redirect still paid, and Frame may deliver an event more than once, so dedupe on its ID13.
- Model the full sub-merchant lifecycle, because underwriting and monitoring can move an account into review or restriction months after signup.
- Test the failure paths before launch: declines, 3D Secure challenges, disputes and failed payouts.
- Track dispute and fraud ratios for each sub-merchant as well as for the platform as a whole, so one seller cannot put the program at risk.
- Keep references to the exportable audit trail Frame keeps on each identity check, so compliance questions from auditors can be answered from the record.
FrameOS pricing and limits for builders
What it costs to run payments through the API, and where FrameOS draws its limits.
FrameOS
2.0% + $0.39
per successful card transaction, personalized by risk profile10
- No setup fees, no monthly minimums
- ACH 0.8%, instant payouts 1.5%, disputes $25
- Sonar monitoring included at no extra cost
- PCI compliance, onboarding and migration support included
Worth knowing
Underwriting applies
before you go live
- Drawback: Not every business is automatically approved; underwriting still matters
- Drawback: Regulated categories need the right licensing, and the sponsor bank has to support the risk profile
- Drawback: Your platform stays responsible for its users' compliance; Frame supplies the tools19
- Drawback: Instant payouts to wallets and KYC checks are priced through sales10
FrameOS is built for platforms in complex categories, including vertical SaaS and creator platforms. If your sellers operate in categories general processors avoid, see high-risk payments for platforms. Start with the docs or book time with the team from the link below.
FAQ
What is an embedded payments API?
How is an embedded payments API different from a payment gateway API?
Do I need to become a payment facilitator to use an embedded payments API?
Can I start building before my platform is approved?
Who verifies my sub-merchants' identity?
Does an embedded payments API reduce my PCI scope?
What does Frame charge for payments through its API?
Sources
- Visa: Beyond the Acquirer, Additional Visa Acceptance Entities (Feb 2024), accessed November 2, 2026.
- Visa Ecosystem Risk Programs Guide: Visa Acceptance Risk Standards (Oct 2024), accessed November 2, 2026.
- PCI Security Standards Council: FAQ clarifies new SAQ A eligibility criteria for e-commerce merchants (Feb 2025), accessed November 2, 2026.
- FinCEN: CDD Final Rule, accessed November 2, 2026.
- IETF: The Idempotency-Key HTTP Header Field (Internet-Draft), accessed November 2, 2026.
- Visa Acquirer Monitoring Program fact sheet (2025), accessed November 2, 2026.
- IRS: FAQs on Form 1099-K threshold under the One, Big, Beautiful Bill (IR-2025-107), accessed November 2, 2026.
- Visa Payment Facilitator and Marketplace Risk Guide (Apr 2021), accessed November 2, 2026.
- Stripe Docs: Recommended Connect integrations and charge types, accessed November 2, 2026.
- Frame: Pricing, accessed November 18, 2026.
- Frame: Capabilities (developer docs), accessed November 18, 2026.
- Frame: Onboarding (developer docs), accessed November 18, 2026.
- Frame: Events and webhooks (developer docs), accessed November 18, 2026.
- Frame: Idempotency (developer docs), accessed November 18, 2026.
- Frame: Frame.js installation (developer docs), accessed November 18, 2026.
- Frame: 3D Secure (developer docs), accessed November 18, 2026.
- Frame: KYB (developer docs), accessed November 18, 2026.
- Frame: Web SDKs (developer docs), accessed November 18, 2026.
- Frame: Platform agreement, accessed November 18, 2026.
Third-party details reflect each source as of the date accessed and can change. This page is general information, not legal or financial advice. Not every business is automatically approved: underwriting still matters, and a processor and its sponsor bank both decide whether to take on a business.
About the author
Youssef Guirguis, Head of Brand and Marketing
Youssef Guirguis leads brand and marketing at Frame, where he shapes how the company communicates about payments, compliance, and risk to the merchants navigating these issues.
Keep reading
Build while we review.
Get sandbox access to FrameOS today and integrate onboarding, payments and payouts while Frame reviews your platform.