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.

Updated · 11 min read

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.

1integration for payments, payouts, identity and compliance
300+payout rails
15account capabilities in Frame's API, from card payments to KYB11

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. Accept payments

    Use hosted checkout or payment links for no-code flows, or embed the Frame.js card element in your own checkout, which tokenizes card details in an iframe18. Frame decides for each transaction whether 3D Secure is needed16.

  6. 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.

  7. 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.

  8. 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.

Architectures compared: FrameOS, a processor API plus separate vendors, and building as a registered payment facilitator
CapabilityFrameOSProcessor API + separate vendorsBuild as a registered PayFac
Embedded sub-merchant onboardingYesPartlyYou build it
KYC/KYB and watchlist screeningYesSeparate vendorBuild or buy
Underwriting decisionsFrame underwriting on processing history, disputes and business profileProcessor policyYour team, under sponsor bank oversight
Real-time transaction monitoringSonar, includedAdd-on or separate vendorBuild or buy
Payouts with compliance screening300+ rails, every payout screenedSeparate payout providerBuild on bank rails
Geocompliance (GPS, WiFi, device)YesSeparate vendorBuild or buy
Dispute alerts and representmentYesPartlyBuild or buy
Audit trailExportable audit trail on every checkSplit across vendorsYou build it
Integrations to maintainOneSeveralSeveral, 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?
An embedded payments API lets a software platform accept payments on behalf of the businesses that use it and pay those businesses out, all inside the platform's own product. It typically covers sub-merchant onboarding, identity verification (KYC and KYB), payments, payouts, dispute handling and event notifications. The businesses on the platform are treated by the card networks as sponsored merchants, so due diligence and monitoring are part of the integration.
How is an embedded payments API different from a payment gateway API?
A payment gateway API sends a single merchant's transactions to a processor. An embedded payments API serves many merchants at once: it onboards and verifies each business on your platform, routes their payments, splits and pays out funds, and monitors each seller after launch. A gateway answers how to charge a card. An embedded payments API answers how to run payments for every business on your platform.
Do I need to become a payment facilitator to use an embedded payments API?
You don't need to become one. Becoming a registered payment facilitator means finding a sponsor bank, registering with the card networks through your acquirer and taking on liability for your sub-merchants. Using an embedded payments API from a provider such as Frame lets you offer payments in your product without building that program yourself. Payment facilitation as a service and registered PayFac models are compared on Frame's PFaaS page.
Can I start building before my platform is approved?
Yes. Frame gives instant sandbox access, so your engineers can build the onboarding, payment and payout flows while Frame reviews your platform; Frame calls this build while we review. Going live is a key swap: production keys replace sandbox keys and nothing else in the integration changes. Not every business is automatically approved, though, and in regulated categories licensing and the sponsor bank's risk appetite both matter.
Who verifies my sub-merchants' identity?
FrameOS runs the checks inside the platform: KYC on individuals and KYB on businesses, with document verification, liveness, watchlist screening, and bank account, phone and address verification. KYC Prefill starts from a name and phone number, and every check carries an exportable audit trail. Responsibility stays with you, though: Frame's Platform Agreement makes the platform solely responsible for its end users' identity, eligibility and compliance, with Frame providing tools to help.
Does an embedded payments API reduce my PCI scope?
It can. If card data is collected by a PCI DSS compliant provider's hosted or embedded payment page and never touches your servers, you may qualify for a shorter self-assessment such as SAQ A, which under PCI DSS v4.0.1 also requires protection from script attacks on your site. Your assessor or acquirer confirms the right questionnaire. Frame includes PCI compliance support and offers tokenization and hosted checkout.
What does Frame charge for payments through its API?
Card payments start at 2.0% + $0.39 per successful transaction, personalized by risk profile, processing history and dispute rates. ACH is 0.8% per transaction, instant payouts are 1.5%, disputes are $25 each and 3D Secure is $0.05 per attempt. Nothing is charged to set up the integration or to keep it running in a quiet month.

Sources

  1. Visa: Beyond the Acquirer, Additional Visa Acceptance Entities (Feb 2024), accessed November 2, 2026.
  2. Visa Ecosystem Risk Programs Guide: Visa Acceptance Risk Standards (Oct 2024), accessed November 2, 2026.
  3. PCI Security Standards Council: FAQ clarifies new SAQ A eligibility criteria for e-commerce merchants (Feb 2025), accessed November 2, 2026.
  4. FinCEN: CDD Final Rule, accessed November 2, 2026.
  5. IETF: The Idempotency-Key HTTP Header Field (Internet-Draft), accessed November 2, 2026.
  6. Visa Acquirer Monitoring Program fact sheet (2025), accessed November 2, 2026.
  7. IRS: FAQs on Form 1099-K threshold under the One, Big, Beautiful Bill (IR-2025-107), accessed November 2, 2026.
  8. Visa Payment Facilitator and Marketplace Risk Guide (Apr 2021), accessed November 2, 2026.
  9. Stripe Docs: Recommended Connect integrations and charge types, accessed November 2, 2026.
  10. Frame: Pricing, accessed November 18, 2026.
  11. Frame: Capabilities (developer docs), accessed November 18, 2026.
  12. Frame: Onboarding (developer docs), accessed November 18, 2026.
  13. Frame: Events and webhooks (developer docs), accessed November 18, 2026.
  14. Frame: Idempotency (developer docs), accessed November 18, 2026.
  15. Frame: Frame.js installation (developer docs), accessed November 18, 2026.
  16. Frame: 3D Secure (developer docs), accessed November 18, 2026.
  17. Frame: KYB (developer docs), accessed November 18, 2026.
  18. Frame: Web SDKs (developer docs), accessed November 18, 2026.
  19. 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.

Build while we review.

Get sandbox access to FrameOS today and integrate onboarding, payments and payouts while Frame reviews your platform.