OSPRY Docs

Agency

Set up client rebilling with Stripe Connect

Who this is for: Agency accounts only, agency owners and admins · Where: Agency rail -> Sub Accounts -> Rebilling (/subaccounts/rebilling), linked from a client's /account/rebilling page

What this does

Rebilling lets your agency resell OSPRY to your clients on your own Stripe account instead of putting a card on file for each client. Once you connect your Stripe account, your clients are billed at retail on your Stripe, and Legion charges your agency floor separately - the difference is your margin.

What changed from card-on-file

Before rebilling, an agency kept a card on file for each client and Legion billed that card directly. With rebilling:

  • Your Stripe account is the merchant of record for every connected client. Legion never touches your clients' funds.
  • Legion charges your agency the floor rate (your wholesale cost) from your agency wallet, plus your monthly plan fee.
  • You charge your clients the retail rate on your connected Stripe. Retail minus floor is your margin, and you set the markup yourself (between 1.05x and 10.00x).
  • A client that visits its own /account/rebilling page always sees your agency named as its merchant of record, with the note to contact your agency for billing questions - the client itself never sees your floor rate, your markup, or your Stripe connection.

Steps

Connect your Stripe account

  1. Open Sub Accounts -> Rebilling in the Agency rail (or the "Manage your Stripe connection" / "Connect your Stripe" link on a client's /account/rebilling page).
  2. Under Your Stripe connection, click Connect with Stripe (recommended) and complete Stripe's onboarding.
  3. Once connected, the connection status shows active. Every eligible client sub-account under your agency starts billing through this connection automatically - there is nothing to configure per client.

Or connect a restricted key

  1. If you already manage a Stripe account outside of Stripe Connect, open the Or paste a restricted key (rk_...) section instead.
  2. Paste a Stripe restricted key with the required charge/customer permissions and click Connect key.
  3. Your key is encrypted at rest and never shown again. Use Rotate key to replace it later, or Disconnect to remove the connection.

Set your markup

  1. On the same Rebilling page, find Your markup (per meter).
  2. For each metered feature (resolution, enrichment, first-party resolution), enter a markup multiplier and click Save. Retail and your margin update immediately.

Fund your agency wallet

  1. Legion draws your agency's floor cost from your Legion wallet, separate from what you charge clients.
  2. Under Your Legion wallet (floor funding), check your balance and turn on auto-top-up so client usage never stalls on a drained wallet.

Tips & FAQs

  • Nothing to do per client. Once your Stripe connection is active, every current and future client sub-account bills through it automatically at your set markup.
  • Not connected yet? A client's /account/rebilling page still names your agency as the eventual merchant of record and links back here so you can finish the connection at any time.
  • Clients never see your economics. Your floor rate, markup, and margin are visible only to your agency; a client's own billing page only ever shows what it was charged and that your agency is its merchant of record.
  • Restricted key vs. Stripe Connect. Stripe Connect is the recommended path for most agencies. A restricted key is useful if you already have an established Stripe account you want to keep using as-is.