View Source Paystack.SplitPayment (Paystack v0.7.0)

The Transaction Splits API enables merchants split the settlement for a transaction across their payout account, and one or more Subaccounts.

https://paystack.com/docs/api/#split

Link to this section Summary

Functions

Add a Subaccount to a Transaction Split, or update the share of an existing Subaccount in a Transaction Split

Create a split payment on your integration

Get details of a split on your integration.

List/search for the transaction splits available on your integration.

Remove a subaccount from a transaction split

Update a transaction split details on your integration

Link to this section Functions

Link to this function

add_subaccount(split_id, params)

View Source

Specs

add_subaccount(String.t(), map()) :: Paystack.Api.t()

Add a Subaccount to a Transaction Split, or update the share of an existing Subaccount in a Transaction Split

Specs

create(map()) :: Paystack.Api.t()

Create a split payment on your integration

Specs

fetch(String.t()) :: Paystack.Api.t()

Get details of a split on your integration.

Specs

list() :: Paystack.Api.t()

List/search for the transaction splits available on your integration.

Specs

list(map() | list()) :: Paystack.Api.t()
Link to this function

remove_subaccount(split_id, sub_account_code)

View Source

Specs

remove_subaccount(String.t(), String.t()) :: Paystack.Api.t()

Remove a subaccount from a transaction split

Link to this function

update(split_id, params)

View Source

Specs

update(String.t(), map()) :: Paystack.Api.t()

Update a transaction split details on your integration