How a split works
- The quote’s destination wallet receives the payment, as it does without a split. It keeps the remainder: whatever the shares don’t assign.
- Each share names a recipient wallet and either a
percentageof the delivered amount or a flatamount. - All wallets (recipients and destination) must be custodial wallets of your integration that hold the quote’s destination currency. The destination wallet can’t also be a recipient.
Provider fees: fee_bearer
A conversion into a fiat currency can arrive with a provider fee already taken off. Shares are
always worked out on the gross amount, before the fee, so “60%” or “ZAR 1,000” means the same
with or without a fee. fee_bearer decides who gives up the fee:
Each wallet is credited its share net of its part of the fee. Crypto payments carry no fee, so
fee_bearer changes nothing there. If the shares can’t be covered once the fee is taken off, the
split is skipped with insufficient_delivered_amount.
Create a saved split, or send one inline
Save a split you reuse withPOST /v1/splits:
id as split_code when you create the quote. For a one-off, send the same
object inline as split instead. Send one or the other, not both.
fee_bearer is optional and defaults to merchant. You can change it later with
PATCH /v1/splits/{split_id}.
The quote keeps a copy of the split, fee_bearer included. Editing or deactivating a saved split
later never changes a quote that already uses it.
Splits are available on onramps, on conversions whose destination is a crypto currency, and on
conversions into a fiat currency enabled for splits (otherwise the quote returns
invalid_input). Offramps and transfers can’t be split.Follow the split
Onramps and conversions carry asplit block (null when the quote had no split):
The block also carries the split’s
fee_bearer. legs lists every wallet credited, the
destination’s remainder included (is_remainder: true), each with its amount (what the wallet
received, net of its part of any provider fee), its fee (that part; zero when there was no fee)
and its status: processing, success, held or failed.
If an onramp or conversion ends without a payment the split could apply to (for example it
failed or was returned), its split stays
in_progress and no split.completed event follows.Held shares
Each recipient’s share counts toward that recipient’s own limits, just like a deposit. A share can beheld, with a hold_reason:
tier_limit: the recipient’s customer is over their limit. The share is released automatically when their limit allows it, for example after they’re verified at a higher tier.payin_frozenorpayin_disabled: the destination wallet’s pay-in is blocked.
Webhooks
Subscribe your endpoint to thesplit category:
split.completedfires once per payment, when its split iscompletedorskipped.split.leg_releasedfires when a held share is released.
Transactions
The payment’s owndeposit transaction still shows the full amount credited to the destination
wallet, and a provider fee still has its own fee transaction. Each recipient’s share is a child
transaction of type split, from the destination wallet to the recipient, for the amount the
recipient received; when the recipient bore part of a fee, its metadata.fee_amount holds that
part. List them with
GET /v1/transactions?type=split&include_related=true, optionally with the recipient’s
wallet_id.
Worked example
A buyer pays for an order worth 100 USDC on your marketplace. Seller A gets 60%, seller B 25%, and your marketplace wallet keeps the rest.
When the payment settles you receive
onramp.success, then split.completed with all three legs
success. If seller B is over their limit, their leg is held (tier_limit) and the other two
are success; split.leg_released follows when B’s share is released.
With a provider fee
A USDC → ZAR conversion settles ZAR 6,000.00 with a ZAR 100.00 provider fee. Seller A gets 60%.
Either way the wallets receive ZAR 5,900.00 in total: the amount that arrived after the fee.
Limits
- Wallets must be custodial, belong to your integration and hold the destination currency.
- 1 to 20 shares per split.
- Conversions can be split into a crypto destination, or into a fiat currency enabled for splits.