Pypaystack2

Latest version: v3.0.0

Safety actively analyzes 723144 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

3.0.0

Added

- Pydantic v2 to project dependencies.
- Utility methods for fees calculation `calculate_fee`, `to_base_unit`, `to_subunit`.
- `ClientNetworkError`. An exception raised for all network related errors.

Changed

- `auth_key` parameter to `secret_key`.
- secret key environmental variable name from `PAYSTACK_AUTHORIZATION_KEY` to `PAYSTACK_SECRET_KEY`
- `MissingAuthKeyException` to `MissingSecretKeyException`
- Rename wrappers to clients. All usages of wrappers are now deprecated in favour of clients.
`Paystack` wrapper class in the past is now `PaystackClient` likewise all other api wrappers
are now sub clients e.g. `ApplePay` is now `ApplePayClient`

Fixed

- Unused `amount` parameter in `TransactionClient.export`

Removed

- Support for `python<=3.10`
- Package defined `HTTPMethod` enum. Now using `HTTPMethod` from the standard lib.
- `validate_amount` and `validate_interval` helper methods
- `InvalidMethodException`, `InvalidDataException`

2.1.1

2.1.0

2.0.3

2.0.2

2.0.1

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.