========================================= Asynchronous Paystack Wrapper ========================================= .. currentmodule:: paystackease.apaystack The **AsyncPayStackBase** class serves as a comprehensive wrapper around various client APIs, providing a unified interface to interact with the PayStack API asynchronously. It encapsulates individual client APIs for different aspects of PayStack services, such as payments, customers, disputes, and more, simplifying the integration process and promoting code organization. ----------------------------- **USAGE** .. code-block:: python >>> import asyncio >>> from paystackease import AsyncPayStackBase >>> async def paystack_client(): >>> async with AsyncPayStackBase() as paystack: >>> response = await paystack.apple_pay.register_domain(domain_name="your-domain-name-here") >>> print(f"PayStackResponse: {response}") >>> asyncio.run(paystack_client()) .. note:: You can also pass the parameter ``secret_key`` to the AsyncPayStackBase class. This will override the environment variable. It is highly recommended to use the set the environment variable as ``PAYSTACK_SECRET_KEY`` and ensure it is safe.