Skip to main content
POST
Add a recipient to a transaction split
For subaccount, provide virtualAccountId. For external_bank, provide a supported bankCode and a 10-digit accountNumber; FossaPay performs name enquiry before saving it.

Authorizations

x-api-key
string
header
required

Path Parameters

splitCode
string
required

Public code returned when the split was created.

Pattern: ^SPL_[A-Fa-f0-9]{16}$

Body

application/json
type
enum<string>
required
Available options:
subaccount,
external_bank
allocation
string
required

Percentage or flat NGN allocation, depending on the split type.

virtualAccountId
string<uuid>
accountNumber
string
Pattern: ^[0-9]{10}$
bankCode
string

Response

201 - application/json

Recipient added successfully

success
boolean
required
message
string
required
data
any
required

The split, recipient, preview, or transaction collection returned by the endpoint