Module paystack::subaccounts
source · Expand description
Subaccounts
This file contains the models for working with the subaccounts endpoint.
Structs
- This struct is used to create the body for creating a subaccount on your integration.
- Builder for
CreateSubaccountBody
. - Represents the JSON response for subaccount creation.
- This struct is used to create the body for deleting a subaccount on your integration.
- Represents the JSON response for fetch subaccount.
- Response from List Subaccount route
- This struct represents the subaccount. It can be used as the payload for the API end points that require a subaccount as a payload. It is also possible to extract a single field from this struct to use as well. The Struct is constructed using the
SubaccountBuilder
- Builder for
SubaccountBody
. - Represents the data of th Subaccounts
- Data of the list Subaccount response
Enums
- Error type for CreateSubaccountBodyBuilder
- Error type for SubaccountBodyBuilder