Skip to Content
KingsPay Docs
Connected Accounts

Overview

Run payments for other businesses from your own platform account.

Connected accounts let a platform account run payments for other business accounts, its connected accounts. A marketplace, a franchise, or a SaaS product that takes payments for its users would use this.

With one API key, a platform can:

  • Act as a connected account. Create charges, list payouts, or call any other endpoint as one of its connected accounts. See Making Requests.
  • Take a fee from each charge. Keep part of every charge it creates for a connected account. See Application Fees.
  • Move money between balances. Send funds to a connected account, or bring them back to the platform. See Transfers.

Setting up a connection

Both the platform and each connected account are ordinary business accounts. The KingsPay team connects them for you: contact us with the platform account and the accounts to connect. A connection is active as soon as it is created, and the team can revoke it later.

Every request that involves a connected account checks that the connection is still active. Once a connection is revoked, those requests fail.

Who owns what

Platform accountConnected account
Charges created on its behalfOwns them; the money goes to its balance
Application fees from those chargesReceives themPays them, as part of the charge's fee
Events for those chargesReceives them on its own webhook destinations
application_fee.* eventsReceives them

Each account receives events only for its own objects. To follow charges created for a connected account, either set up a webhook destination on that account, or read them with the Get Payment Charge endpoint and the On-Behalf-Of header.

On this page