Skip to main content

Overview

Transaction splits distribute an eligible NGN collection between one or more recipients and your business master wallet. You create a split once, add recipients, choose who covers the collection fee, activate it, and then attach it to the payment sources that should use it. Every split has a public code such as SPL_0123456789ABCDEF. Use that code in API and SDK integrations instead of exposing the split’s internal database ID.

Prerequisites

  • A verified FossaPay business
  • An active API key
  • An active NGN master wallet
  • At least one eligible recipient
  • Sufficient master-wallet balance for recipient payout fees
Transaction splits currently support NGN only.

How it works

1

Create the split

Choose a unique name, percentage or flat, and one or both supported collection types.
2

Add recipients

Add an existing NGN subaccount or a verified external Nigerian bank account and assign its percentage or flat amount.
3

Configure the fee payer

Keep the master-wallet default, distribute the fee evenly, or assign it to a specific recipient.
4

Preview and activate

Preview a representative amount, confirm the allocation, and activate the split.
5

Attach payment sources

Pass splitCode when creating a checkout or payment link, or assign existing products, storefronts, and payment links through the source endpoint.
6

Track settlement

Use split webhooks and the split-transactions endpoint to track recipient payouts separately from the original collection.

Split types

Percentage

Each recipient receives a percentage of the allocation base. Recipient percentages may total up to 100; any unassigned percentage remains in the master wallet.
An allocation of 10 means 10%, not NGN 10. Percentage allocations support up to four decimal places.

Flat

Each recipient receives a whole-NGN amount. A flat split requires minimumPaymentAmount, and the remaining amount stays in the master wallet.
The minimum must be high enough to cover every recipient allocation and the configured fee treatment.

Collection types

A split can support both collection types.

Add recipients

External bank

FossaPay performs a bank-name enquiry before saving the recipient. The account number must contain exactly 10 digits.

Existing subaccount

The wallet must be an active NGN subaccount owned by the authenticated business. The business master wallet is not added as a recipient; it automatically keeps the calculated remainder.

Choose who covers the collection fee

Update a draft or paused split with one of these values:
If a checkout customer pays the platform fee, that fee sits outside the split allocation and is not deducted from a split participant again. If the business covers it, the split’s fee-payer rule is applied.
Recipient payout fees are separate from the collection fee. They are charged to the business master wallet while the recipient receives the calculated allocation.

Preview before activation

Preview a real amount and collection type:
Check eligible, recipient allocations, the platform fee, and masterRemainder before activating the split.

Attach a split to payments

One API checkout

Pass splitCode when creating the checkout:
The checkout response contains the attached split code and version. Pass splitCode when creating the payment link. The link retains the split, so every eligible payment through that link uses it without sending the code again. Use the source endpoint to assign multiple resources in one request:
PUT /api/v1/splits/:splitCode/sources replaces all source assignments for that split. Include every source that should remain assigned; an empty list clears that category. A source cannot belong to two splits at the same time.

Edit an active split

Pause the split before changing its name, collection types, minimum amount, fee payer, or recipients. Existing payments retain the split configuration version captured when they were attached. Reactivate the split when the new configuration is ready. Pausing a split stops new payments from attaching to it. It does not cancel a payment or recipient payout already being processed.

Settlement and webhooks

The original collection and its recipient settlement are separate lifecycles. A successful collection can be fulfilled once its normal checkout or deposit event is verified; split settlement may continue asynchronously. Do not fulfill an order from a split event. Continue using the relevant signed checkout or collection event for fulfillment, and use split events for settlement tracking.

Endpoint map

Go-live checklist

  • Create the split with the intended collection types.
  • Add and verify every recipient.
  • Confirm percentage or flat allocations.
  • Set the correct collection-fee payer.
  • Preview representative minimum and maximum payment amounts.
  • Confirm the master wallet can cover recipient payout fees.
  • Activate the split before attaching sources.
  • Store the public splitCode, not the internal split ID.
  • Configure and verify split webhook events.
  • Handle partial failure and reconciliation states operationally.

Next steps

Create a split

Open the interactive API playground

Create a checkout

Attach an active split to a checkout

Webhook events

Track split settlement events

Node SDK

Manage splits from the official SDK