View Source Paystack.TransferControl (Paystack v0.7.0)
The Transfers Control API allows you manage settings of your transfers
Link to this section Summary
Functions
Fetch the available balance on your integration
This is used in the event that you want to be able to complete transfers programmatically without use of OTPs. No arguments required. You will get an OTP to complete the request.
In the event that a customer wants to stop being able to complete transfers programmatically, this endpoint helps turn OTP requirement back on. No arguments required.
Fetch all pay-ins and pay-outs that occured on your integration
Finalize the request to disable OTP on your transfers.
Generates a new OTP and sends to customer in the event they are having trouble receiving one.
Link to this section Functions
Specs
check_balance() :: Paystack.Api.t()
Fetch the available balance on your integration
Specs
disable_otp() :: Paystack.Api.t()
This is used in the event that you want to be able to complete transfers programmatically without use of OTPs. No arguments required. You will get an OTP to complete the request.
Specs
enable_otp() :: Paystack.Api.t()
In the event that a customer wants to stop being able to complete transfers programmatically, this endpoint helps turn OTP requirement back on. No arguments required.
Specs
fetch_balance_ledger() :: Paystack.Api.t()
Fetch all pay-ins and pay-outs that occured on your integration
Specs
fetch_balance_ledger(map() | list()) :: Paystack.Api.t()
Specs
finalize_disable_otp(String.t()) :: Paystack.Api.t()
Finalize the request to disable OTP on your transfers.
Specs
resend_otp(map()) :: Paystack.Api.t()
Generates a new OTP and sends to customer in the event they are having trouble receiving one.