python_flutterwave.tokenization package

Submodules

python_flutterwave.tokenization.tokenized_charge module

python_flutterwave.tokenization.tokenized_charge.fetch_bulk_tokenized_charges(bulk_id: int)[source]

This endpoint allows you to get bulk tokenized charges transactions

Args:

bulk_id (int): id returned in the bulk charge response

Returns:

dict: Response Details

python_flutterwave.tokenization.tokenized_charge.fetch_bulk_tokenized_charges_status(bulk_id: int)[source]

This endpoint allows you to query the status of a bulk tokenized charge

Args:

bulk_id (int): id returned in the bulk charge response

Returns:

dict: Response Details

python_flutterwave.tokenization.tokenized_charge.initiate_bulk_tokenized_charges(retry_strategy: RetryStrategy, bulk_data: list[ChargeData]) dict[source]

Tokenize multiple cards at once

Args:

retry_strategy: RetryStrategy

bulk_data: list[ChargeData]

Returns:

dict: Response Details

python_flutterwave.tokenization.tokenized_charge.initiate_tokenized_charge(amount: int, email: str, tx_ref: str, currency: str, token: str) dict[source]

This endpoint helps you tokenize a customer’s card

Args:

tx_ref (int): Unique reference peculiar to the transaction.

amount (int): Amount to be charged for the transaction.

email (str): The customer’s email address.

currency (str): Currency to be used

token (str): Card token returned from the transaction verification endpoint as data.card.token

Returns:

dict: Response Details

python_flutterwave.tokenization.tokenized_charge.update_card_token(email: str, full_name: str, phone_number: str, token: str)[source]

This endpoints allow developers update the details tied to a customer’s card token.

Args:

email (str): The customer’s email address.

full_name (str): The customer’s email address.

phone_number (str): Customer’s phone number.

token (str): Card token returned from the transaction verification endpoint as data.card.token

Returns:

dict: Response Details

Module contents

Tokenize your customers’ cards with Flutterwave for faster payments.