Async Integration Module
This wrapper class facilitates asynchronous interaction with Paystack Integration API. The Integration API allows you manage some settings on your integration.
- class AsyncIntegrationClientAPI(secret_key: str = None)
Paystack Integration API Reference: Integration
- async fetch_timeout()→ PayStackResponse
Fetch payment session timeout
- Returns:
The response from the API.
- Return type:
PayStackResponse object
- async update_timeout(timeout: int)→ PayStackResponse
Update payment session timeout
- Parameters:
timeout (int) – The new payment session timeout before session
- Returns:
The response from the API.
- Return type:
PayStackResponse object
Note
timeout is in seconds. Set 0 to cancel the timeout