python_flutterwave package
Subpackages
- python_flutterwave.charge package
- Submodules
- python_flutterwave.charge.bank module
- python_flutterwave.charge.card module
- python_flutterwave.charge.mobile module
initiate_apple_pay_charge()
initiate_enaira_charge()
initiate_fawry_pay_charge()
initiate_franco_mobile_charge()
initiate_ghana_mobile_charge()
initiate_google_pay_charge()
initiate_mpesa_charge()
initiate_paypal_charge()
initiate_rwanda_mobile_charge()
initiate_tanzania_mobile_charge()
initiate_uganda_mobile_charge()
initiate_ussd_charge()
initiate_zambia_mobile_charge()
- python_flutterwave.charge.validation module
- Module contents
- python_flutterwave.tokenization package
Submodules
python_flutterwave.decorators module
python_flutterwave.exceptions module
- exception python_flutterwave.exceptions.TokenException(token, message)[source]
Bases:
FlutterwaveAPIException
python_flutterwave.objects module
- class python_flutterwave.objects.ChargeData(currency: str, token: str, country: str, amount: int, email: str, tx_ref: str)[source]
Bases:
object
Object containing your charge data
- Args:
currency (str): Currency to charge in token (str): Token id obtained country (str): Country Code amount (int): Charge Amount email (str): Customer Email tx_ref (str): Unique ref
- amount: int
- country: str
- currency: str
- email: str
- token: str
- tx_ref: str
- class python_flutterwave.objects.RetryStrategy(retry_interval: int, retry_amount_variable: int, retry_attempt_variable: int, last_retry_attempt: int = 10)[source]
Bases:
object
This object defines retries for failed tokenization attempts.
- Args:
retry_interval (int): Number in minutes for the next retry attempt. retry_amount_variable (int): Amount to be retried after the specified number of attempts in percentage. retry_attempt_variable (int): Number of retries to make after the initial tokenization attempt. last_retry_attempt (int): Maximum number of retries to attempt. If unspecified, It is set to 10 by default.
- last_retry_attempt: int = 10
- retry_amount_variable: int
- retry_attempt_variable: int
- retry_interval: int
Module contents
Wrapper around Flutterwave Payments API