Paystack · Schema

Paystack Transaction Split

A multi-party transaction split that routes funds from a single payment to multiple subaccounts.

PaymentsAfricaFintechRecurring BillingMarketplacesPayoutsMobile MoneyStripe

Properties

Name Type Description
id integer
split_code string Paystack-issued split code (prefixed with SPL_).
name string
type string
currency string
bearer_type string Who bears the Paystack fee.
bearer_subaccount stringnull
active boolean
is_dynamic boolean
subaccounts array
total_subaccounts integer
created_at string
View JSON Schema on GitHub

JSON Schema

paystack-split-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/paystack/main/json-schema/paystack-split-schema.json",
  "title": "Paystack Transaction Split",
  "description": "A multi-party transaction split that routes funds from a single payment to multiple subaccounts.",
  "type": "object",
  "required": ["split_code", "name", "type", "currency", "subaccounts"],
  "properties": {
    "id": { "type": "integer" },
    "split_code": {
      "type": "string",
      "pattern": "^SPL_[a-zA-Z0-9]+$",
      "description": "Paystack-issued split code (prefixed with SPL_)."
    },
    "name": { "type": "string" },
    "type": {
      "type": "string",
      "enum": ["percentage", "flat"]
    },
    "currency": { "type": "string" },
    "bearer_type": {
      "type": "string",
      "enum": ["account", "subaccount", "all-proportional", "all"],
      "description": "Who bears the Paystack fee."
    },
    "bearer_subaccount": { "type": ["string", "null"] },
    "active": { "type": "boolean" },
    "is_dynamic": { "type": "boolean" },
    "subaccounts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "subaccount": { "$ref": "paystack-subaccount-schema.json" },
          "share": { "type": "integer" }
        }
      }
    },
    "total_subaccounts": { "type": "integer" },
    "created_at": { "type": "string", "format": "date-time" }
  }
}