pypaystack2 3.2.0__tar.gz → 3.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/PKG-INFO +1 -1
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/pyproject.toml +1 -1
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/_metadata.py +2 -2
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/payment_requests.py +6 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/payment_requests.py +6 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/README.md +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/__init__.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/base_clients.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/cli.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/enums.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/exceptions.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/fees_calculation_mixin.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/main_clients.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/models/__init__.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/models/payload_models.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/models/response_models.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/py.typed +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/__init__.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/__init__.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/apple_pay.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/bulk_charges.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/charge.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/customers.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/dedicated_accounts.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/direct_debits.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/disputes.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/integration.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/miscellaneous.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/payment_pages.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/plans.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/products.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/refunds.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/settlements.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/splits.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/subaccounts.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/subscriptions.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/terminals.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/transactions.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/transfer_recipients.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/transfers.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/transfers_control.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/verification.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/virtual_terminals.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/__init__.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/apple_pay.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/bulk_charges.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/charge.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/customers.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/dedicated_accounts.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/direct_debits.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/disputes.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/integration.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/miscellaneous.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/payment_pages.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/plans.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/products.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/refunds.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/settlements.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/splits.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/subaccounts.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/subscriptions.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/terminals.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/transactions.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/transfer_recipients.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/transfers.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/transfers_control.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/verification.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/virtual_terminals.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/types.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/utils.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/__init__.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/cli.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/enums.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/logging_config.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/models.py +0 -0
- {pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/webhook/webhook_proxy_server.py +0 -0
|
@@ -34,6 +34,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
|
|
|
34
34
|
has_invoice: bool | None = None,
|
|
35
35
|
invoice_number: int | None = None,
|
|
36
36
|
split_code: str | None = None,
|
|
37
|
+
metadata: dict[str, Any] | None = None,
|
|
37
38
|
alternate_model_class: type[PaystackDataModel] | None = None,
|
|
38
39
|
) -> Response[PaymentRequest] | Response[PaystackDataModel]:
|
|
39
40
|
"""Create a payment request for a transaction on your integration
|
|
@@ -54,6 +55,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
|
|
|
54
55
|
This field is to help override whatever value Paystack decides. Auto increment for
|
|
55
56
|
subsequent invoices continue from this point.
|
|
56
57
|
split_code: The split code of the transaction split. e.g. SPL_98WF13Eb3w
|
|
58
|
+
metadata: Additional informations to the request
|
|
57
59
|
alternate_model_class: A pydantic model class to use instead of the
|
|
58
60
|
default pydantic model used by the library to present the data in
|
|
59
61
|
the `Response.data`. The default behaviour of the library is to
|
|
@@ -91,6 +93,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
|
|
|
91
93
|
("has_invoice", has_invoice),
|
|
92
94
|
("invoice_number", invoice_number),
|
|
93
95
|
("split_code", split_code),
|
|
96
|
+
("metadata", metadata),
|
|
94
97
|
]
|
|
95
98
|
payload = add_to_payload(optional_params, payload)
|
|
96
99
|
return await self._handle_request( # type: ignore
|
|
@@ -336,6 +339,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
|
|
|
336
339
|
draft: bool | None = None,
|
|
337
340
|
invoice_number: int | None = None,
|
|
338
341
|
split_code: str | None = None,
|
|
342
|
+
metadata: dict[str, Any] | None = None,
|
|
339
343
|
alternate_model_class: type[PaystackDataModel] | None = None,
|
|
340
344
|
) -> Response[PaymentRequest] | Response[PaystackDataModel]:
|
|
341
345
|
"""Update a payment request details on your integration
|
|
@@ -356,6 +360,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
|
|
|
356
360
|
This field is to help override whatever value Paystack decides. Auto increment for
|
|
357
361
|
subsequent invoices continue from this point.
|
|
358
362
|
split_code: The split code of the transaction split. e.g. SPL_98WF13Eb3w
|
|
363
|
+
metadata: Additional informations to the request
|
|
359
364
|
alternate_model_class: A pydantic model class to use instead of the
|
|
360
365
|
default pydantic model used by the library to present the data in
|
|
361
366
|
the `Response.data`. The default behaviour of the library is to
|
|
@@ -395,6 +400,7 @@ class AsyncPaymentRequestClient(BaseAsyncAPIClient):
|
|
|
395
400
|
("draft", draft),
|
|
396
401
|
("invoice_number", invoice_number),
|
|
397
402
|
("split_code", split_code),
|
|
403
|
+
("metadata", metadata),
|
|
398
404
|
]
|
|
399
405
|
payload = add_to_payload(optional_params, payload)
|
|
400
406
|
return await self._handle_request( # type: ignore
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/payment_requests.py
RENAMED
|
@@ -34,6 +34,7 @@ class PaymentRequestClient(BaseAPIClient):
|
|
|
34
34
|
has_invoice: bool | None = None,
|
|
35
35
|
invoice_number: int | None = None,
|
|
36
36
|
split_code: str | None = None,
|
|
37
|
+
metadata: dict[str, Any] | None = None,
|
|
37
38
|
alternate_model_class: type[PaystackDataModel] | None = None,
|
|
38
39
|
) -> Response[PaymentRequest] | Response[PaystackDataModel]:
|
|
39
40
|
"""Create a payment request for a transaction on your integration
|
|
@@ -54,6 +55,7 @@ class PaymentRequestClient(BaseAPIClient):
|
|
|
54
55
|
This field is to help override whatever value Paystack decides. Auto increment for
|
|
55
56
|
subsequent invoices continue from this point.
|
|
56
57
|
split_code: The split code of the transaction split. e.g. SPL_98WF13Eb3w
|
|
58
|
+
metadata: Additional informations to the request
|
|
57
59
|
alternate_model_class: A pydantic model class to use instead of the
|
|
58
60
|
default pydantic model used by the library to present the data in
|
|
59
61
|
the `Response.data`. The default behaviour of the library is to
|
|
@@ -91,6 +93,7 @@ class PaymentRequestClient(BaseAPIClient):
|
|
|
91
93
|
("has_invoice", has_invoice),
|
|
92
94
|
("invoice_number", invoice_number),
|
|
93
95
|
("split_code", split_code),
|
|
96
|
+
("metadata", metadata),
|
|
94
97
|
]
|
|
95
98
|
payload = add_to_payload(optional_params, payload)
|
|
96
99
|
return self._handle_request( # type: ignore
|
|
@@ -336,6 +339,7 @@ class PaymentRequestClient(BaseAPIClient):
|
|
|
336
339
|
draft: bool | None = None,
|
|
337
340
|
invoice_number: int | None = None,
|
|
338
341
|
split_code: str | None = None,
|
|
342
|
+
metadata: dict[str, Any] | None = None,
|
|
339
343
|
alternate_model_class: type[PaystackDataModel] | None = None,
|
|
340
344
|
) -> Response[PaymentRequest] | Response[PaystackDataModel]:
|
|
341
345
|
"""Update the payment request details on your integration
|
|
@@ -356,6 +360,7 @@ class PaymentRequestClient(BaseAPIClient):
|
|
|
356
360
|
This field is to help override whatever value Paystack decides. Auto increment for
|
|
357
361
|
subsequent invoices continue from this point.
|
|
358
362
|
split_code: The split code of the transaction split. e.g. SPL_98WF13Eb3w
|
|
363
|
+
metadata: Additional informations to the request
|
|
359
364
|
alternate_model_class: A pydantic model class to use instead of the
|
|
360
365
|
default pydantic model used by the library to present the data in
|
|
361
366
|
the `Response.data`. The default behaviour of the library is to
|
|
@@ -396,6 +401,7 @@ class PaymentRequestClient(BaseAPIClient):
|
|
|
396
401
|
("draft", draft),
|
|
397
402
|
("invoice_number", invoice_number),
|
|
398
403
|
("split_code", split_code),
|
|
404
|
+
("metadata", metadata),
|
|
399
405
|
]
|
|
400
406
|
payload = add_to_payload(optional_params, payload)
|
|
401
407
|
return self._handle_request( # type: ignore
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/__init__.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/apple_pay.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/bulk_charges.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/customers.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/direct_debits.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/disputes.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/integration.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/miscellaneous.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/payment_pages.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/products.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/refunds.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/settlements.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/subaccounts.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/subscriptions.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/terminals.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/transactions.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/transfers.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/async_clients/verification.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/__init__.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/apple_pay.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/bulk_charges.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/customers.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/direct_debits.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/disputes.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/integration.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/miscellaneous.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/payment_pages.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/products.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/settlements.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/subaccounts.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/subscriptions.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/terminals.py
RENAMED
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/transactions.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/transfers.py
RENAMED
|
File without changes
|
|
File without changes
|
{pypaystack2-3.2.0 → pypaystack2-3.2.1}/src/pypaystack2/sub_clients/sync_clients/verification.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|