View Source Paystack.SubAccount (Paystack v0.7.0)
The Subaccounts API allows you create and manage subaccounts on your integration. Subaccounts can be used to split payment between two accounts (your main account and a sub account)
Link to this section Summary
Functions
Create a subacount on your integration
Get details of a subaccount on your integration.
List subaccounts available on your integration.
Update a subaccount details on your integration
Link to this section Functions
Specs
create(map()) :: Paystack.Api.t()
Create a subacount on your integration
Specs
fetch(String.t()) :: Paystack.Api.t()
Get details of a subaccount on your integration.
Specs
list() :: Paystack.Api.t()
List subaccounts available on your integration.
Specs
list(map() | list()) :: Paystack.Api.t()
Specs
update(String.t(), map()) :: Paystack.Api.t()
Update a subaccount details on your integration