Skip to main content
Ideal for: Paying more than one party out of a single customer payment — a marketplace paying its sellers, a platform taking commission, a business settling across branches or departments.

How it works

A sub-account is a settlement destination you register once. It represents whoever gets paid — a seller, a partner, a department — and has its own bank details and a subAccountCode. A split is what you send at payment time. It names which sub-accounts share a given payment and how much each receives.
1

Create your sub-accounts

Register each party once, on this page. You get back a subAccountCode for each.
2

Split the payment between them

At payment time, reference those codes — either through a pre-configured split rule, or inline per transaction. See split settlement.
3

SeerBit settles each party

Funds reach each sub-account directly. You do not receive the whole amount and pay people out afterwards.
Sub-accounts are not payouts. A split settles automatically as part of the payment. If you need to send money to someone independently of a customer payment, use payouts instead.

Prerequisites

Before you begin, ensure you have the following:
  • SeerBit Merchant Account - Sign up at dashboard.seerbit.com
  • API Keys - Retrieve your Public Key and Secret Key from your merchant dashboard under Settings > API Keys.
    • Public Key (starts with SBTESTPUBK* for test environment or SBPUBK* for live)
    • Secret Key (starts with SBTESTSECK* for test environment or SBSECK* for live)

Authentication

Sub-account calls are authenticated with a bearer token, generated from your public and secret keys.

Authentication

How to generate the token, and which credential every other SeerBit API expects.

Creating a sub-account

Once you have your Bearer token, you can create sub-accounts for your business operations. POST

Request Headers

Request Parameters

Complete Request Example cURL
Response Examples

Integration notes and best practices

Authentication token management

  • Token Validity: Bearer tokens have a limited lifespan. Implement token refresh logic in your application.
  • Secure Storage: Store your Secret Key securely. Never expose it in client-side code or version control systems.
  • Token Format: Always prefix your token with Bearer in the Authorization header (note the space).

Sub-account configuration

  1. Public Key
    • Public keys start with SBPUBK_ prefix.
    • Available in your dashboard under Settings > API Keys.
    • Replace YOUR_PUBLIC_KEY with your actual merchant public key.
  2. Bank Code Verification
    • Use the official CBN (Central Bank of Nigeria) bank codes.
    • Common bank codes:
      • 057 - Zenith Bank
      • 033 - United Bank for Africa (UBA)
      • 058 - Guaranty Trust Bank (GTB)
      • 011 - First Bank of Nigeria
      • 032 - Union Bank
    • Contact SeerBit support for a complete list of supported banks
  3. Pocket Integration:
    • When isSubPocket is set to true, the subPocket field becomes mandatory.
    • Ensure the Pocket ID exists and is active before linking
    • Pocket IDs can be obtained from the SeerBit Pocket API
    • If you’re not using pockets, set isSubPocket to false and omit the subPocket field
  4. Account Name Validation:
    • The bankAccountName must match the registered account name with the bank.
    • Account name mismatches may cause settlement failures
    • Verify account details before creating the sub-account.

Common use cases

  1. Marketplace Settlement
    Create sub-accounts for each vendor on your marketplace to automatically split payments.
  2. Franchise Management
    Set up sub-accounts for each franchise location to track and settle payments independently.
  3. Multi-Business Management
    Manage multiple business units with separate settlement accounts under one parent merchant account.

Splitting settlement to sub-accounts

Once your sub-accounts exist, you split a payment across them at payment time — either with a splitCode referencing a rule you configured in advance, or with a splits object defined inline per transaction.

Split settlement

Both split modes, with payloads, the splits object fields and worked examples.

Notes

  • Register a sub-account before you reference it. A split naming a subAccountCode that does not exist will fail.
  • Use the redirectLink from the payment response to send the customer to the SeerBit checkout and complete the transaction.
  • Transaction fees are handled by the checkout. Who bears the fee is a dashboard setting, and the hosted checkout calculates it — do not add the fee to amount yourself. See transaction fees. Within a split, transactionFee decides which party absorbs it.
  • Sub-accounts settle directly. Each party’s share reaches their own account; the full amount does not pass through yours first.
  • Sub-accounts created with test keys only work in test mode. See test and live modes.