./finance/py-stripe, Stripe python bindings

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 8.6.0, Package name: py311-stripe-8.6.0, Maintainer: pkgsrc-users

Stripe python bindings. Stripe is a set of unified APIs and tools that
instantly enable businesses to accept and manage online payments.


Required to run:
[devel/py-setuptools] [devel/py-requests] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 1050.107 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-09 07:59:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-stripe: updated to 8.6.0

8.6.0 - 2024-03-07
* Update generated code
  * Add support for `documents` on `AccountSession.Components`
  * Add support for `request_three_d_secure` on \ 
`Checkout.Session.PaymentMethodOptionsCard` and \ 
`Checkout.Session.CreateParams.PaymentMethodOptionsCard`
  * Add support for `created` on `CreditNote.ListParams`
  * Add support for `sepa_debit` on \ 
`Invoice.PaymentSettings.PaymentMethodOptions`, \ 
`InvoiceCreateParams.PaymentSettings.PaymentMethodOptions`, and \ 
`InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions`
* Update README.md

8.5.0 - 2024-02-29
* Update generated code
  * Change `identity.VerificationReport.type` to be required
  * Change type of `identity.VerificationSession.type` from \ 
`Optional[Literal["document", "id_number"]]` to \ 
`Literal["document", "id_number"]`
  * Add support for `number` on `Invoice.CreateParams` and `Invoice.ModifyParams`
  * Add support for `enable_customer_cancellation` on \ 
`terminal.Reader.Action.ProcessPaymentIntent.process_config`, \ 
`Terminal.Reader.Action.ProcessSetupIntent.process_config`, \ 
`Terminal.Reader.ProcessPaymentIntentParams.process_config`, and \ 
`Terminal.Reader.ProcessSetupIntentParams.process_config`
  * Add support for `refund_payment_config` on \ 
`Terminal.Reader.Action.refund_payment` and \ 
`Terminal.Reader.RefundPaymentParams`
  * Add support for `payment_method` on `Token.CreateParams.bank_account`
  * Add `list_refunds` and `retrieve_refund` methods on resource `Charge`.
* Update README to use add_beta_version
* Fix type of ErrorObject.code
   2024-02-23 13:20:19 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 8.4.0

8.4.0 - 2024-02-22
* Update generated code
  - Add `InvoiceLineItem.modify` method.
* Add TaxIds API
  * Add support for `create`, `retrieve`, `delete`, and `list` methods on \ 
resource `TaxId`
  * The `instance_url` function on resource `TaxId` now returns the top-level \ 
`/v1/tax_ids/{id}` path instead of the `/v1/customers/{customer}/tax_ids/{id}` \ 
path.
* Remove http client base
* Testing: unify http client mock
   2024-02-21 14:11:19 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 8.3.0

8.3.0 - 2024-02-15
* Update generated code
  * Add support for `networks` on `Card`, `PaymentMethod.CreateParamsCard`, \ 
`PaymentMethod.ModifyParamsCard`, and `Token.CreateParamsCard`
  * Add support for new value `no_voec` on enums \ 
`Checkout.Session.CustomerDetails.TaxId.type`, `Invoice.CustomerTaxId.type`, \ 
`Tax.Calculation.CustomerDetails.TaxId.type`, \ 
`Tax.Transaction.CustomerDetails.TaxId.type`, and `TaxId.type`
  * Add support for new value `no_voec` on enums \ 
`Customer.CreateParams.tax_id_data[].type`, \ 
`Invoice.UpcomingLinesParams.customer_details.tax_ids[].type`, \ 
`Invoice.UpcomingParams.customer_details.tax_ids[].type`,  and \ 
`Tax.Calculation.CreateParams.customer_details.tax_ids[].type`
  * Add support for new value \ 
`financial_connections.account.refreshed_ownership` on enum `Event.type`
  * Add support for `display_brand` on `PaymentMethod.card`
  * Add support for new value \ 
`financial_connections.account.refreshed_ownership` on enums \ 
`WebhookEndpoint.CreateParams.enabled_events[]` and \ 
`WebhookEndpoint.UpdateParams.enabled_events[]`
* Remove broken child methods
  * Bugfix: remove support for `CreditNoteLineItem.list`, \ 
`CustomerCashBalanceTransaction.list`, and \ 
`CustomerCashBalanceTransaction.retrieve`. These methods were included in the \ 
library unintentionally and never functioned.
* Improve types in _http_client.py
   2024-01-19 11:52:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-stripe: updated to 7.13.0

7.13.0 - 2024-01-18
* Update generated code
  * Add support for providing details about `BankAccount`, `Card`, and \ 
`CardToken` on `Account.CreateExternalAccountParams.external_account` and \ 
`Account.CreateParams.external_account`
  * Add support for new value `nn` on enums \ 
`Charge.PaymentMethodDetails.Ideal.bank`, \ 
`PaymentIntent.ConfirmParamsPaymentMethodDataIdeal.bank`, \ 
`PaymentIntent.CreateParamsPaymenMethodDataIdeal.bank`, \ 
`PaymentIntent.UpdateParamsPaymentMethodDataIdeal.bank`, \ 
`PaymentMethod.Ideal.bank`, `PaymentMethod.CreateParamsIdeal.bank`, \ 
`SetupAttempt.PaymentMethodDetails.Ideal.bank`, \ 
`SetupIntent.ConfirmParamsPaymenMethodDataIdeal.bank`, \ 
`SetupIntent.CreateParamsPaymenMethodDataIdeal.bank`, and \ 
`SetupIntent.UpdateParamsPaymenMethodDataIdeal.bank`
  * Add support for new value `NNBANL2G` on enums \ 
`Charge.PaymentMethodDetails.Ideal.bic`, `PaymentMethod.Ideal.bic`, and \ 
`SetupAttempt.PaymentMethodDetails.Ideal.bic`
  * Change `CustomerSession.Components.buy_button` and \ 
`CustomerSession.Components.pricing_table` to be required
  * Add support for `issuer` on `Invoice.CreateParams`, \ 
`Invoice.UpcomingLinesParams`, `Invoice.UpcomingParams`, `Invoice.UpdateParams`, \ 
and `Invoice`
  * Add support for `liability` on `Invoice.automatic_tax`, \ 
`Invoice.CreateParams.automatic_tax`, \ 
`Invoice.UpcomingLinesParams.automatic_tax`, \ 
`Invoice.UpcomingParams.automatic_tax`, `Invoice.UpdateParams.automatic_tax`, \ 
`Subscription.automatic_tax`, `Subscription.CreateParams.automatic_tax`, and \ 
`Subscription.UpdateParams.automatic_tax`
  * Add support for `on_behalf_of` on `Invoice.UpcomingLinesParams` and \ 
`Invoice.UpcomingParams`
  * Add support for `pin` on `issuing.Card.CreateParams`
  * Add support for `revocation_reason` on `Mandate.PaymentMethodDetails.bacs_debit`
  * Add support for `customer_balance` on \ 
`PaymentMethodConfiguration.CreateParams`, \ 
`PaymentMethodConfiguration.UpdateParams`, and `PaymentMethodConfiguration`
  * Add support for `invoice_settings` on `Subscription.CreateParams` and \ 
`Subscription.UpdateParams`
   2024-01-14 16:19:03 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 7.12.0

7.12.0 - 2024-01-12
* Update generated code
  * Add support for new resource `CustomerSession`
  * Add support for `create` method on resource `CustomerSession`
  * Remove support for values `obligation_inbound`, `obligation_payout_failure`, \ 
`obligation_payout`, and `obligation_reversal_outbound` from enum \ 
`BalanceTransaction.type`
  * Add support for new values `eps` and `p24` on enums \ 
`Invoice.payment_settings.payment_method_types[]`, \ 
`InvoiceCreateParams.payment_settings.payment_method_types[]`, \ 
`InvoiceUpdateParams.payment_settings.payment_method_types[]`, \ 
`Subscription.payment_settings.payment_method_types[]`, \ 
`SubscriptionCreateParams.payment_settings.payment_method_types[]`, and \ 
`SubscriptionUpdateParams.payment_settings.payment_method_types[]`
  * Remove support for value `obligation` from enum \ 
`Reporting.ReportRunCreateParams.parameters.reporting_category`
  * Add support for `billing_cycle_anchor_config` on `SubscriptionCreateParams` \ 
and `Subscription`
   2024-01-06 19:39:19 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 7.11.0

7.11.0 - 2024-01-04
* Update generated code
 * Add support for `retrieve` on resource `tax.Registration`
 * Change type from `Optional[PaymentDetails]` to `PaymentDetails` of \ 
`payment_details` on field `AccountSession.Components`
 * Change type from `Optional[Payments]` to `Payments` of `payments` on field \ 
`AccountSession.Components`
 * Change type from `Optional[Payouts]` to `Payouts` of `payouts` on field \ 
`AccountSession.Components`
 * Change type from `Optional[Features]` to `Features` of `features` on fields \ 
`AccountSession.Components.PaymentDetails`, \ 
`AccountSession.Components.Payments`, and `AccountSession.Components.Payouts`
 * Change type from `Optional[InvoiceSettings]` to `InvoiceSettings` of \ 
`invoice_settings` on field `SubscriptionSchedule.DefaultSettings`

7.10.0 - 2023-12-22
* Update generated code
 * Add support for new resource `FinancialConnections.Transaction`
 * Add support for `list` and `retrieve` methods on resource `Transaction`
 * Add support for `subscribe` and `unsubscribe` methods on resource \ 
`FinancialConnections.Account`
 * Add support for `features` on `AccountSessionCreateParams.components.payouts`
 * Add support for `edit_payout_schedule`, `instant_payouts`, and \ 
`standard_payouts` on `AccountSession.components.payouts.features`
 * Change type of \ 
`Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`Checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`SetupIntent.payment_method_options.us_bank_account.financi
al_connections.prefetch[]`, \ 
`SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
`SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, \ 
and \ 
`SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]` \ 
from `literal('balances')` to `enum('balances'|'transactions')`
 * Add support for new value \ 
`financial_connections.account.refreshed_transactions` on enum `Event.type`
 * Add support for new value `transactions` on enum \ 
`FinancialConnections.AccountRefreshParams.features[]`
 * Add support for `subscriptions` and `transaction_refresh` on \ 
`FinancialConnections.Account`
 * Add support for `next_refresh_available_at` on \ 
`FinancialConnections.Account.balance_refresh`
 * Add support for new value `transactions` on enums \ 
`FinancialConnections.Session.prefetch[]` and \ 
`FinancialConnections.SessionCreateParams.prefetch[]`
 * Add support for new value `unknown` on enums \ 
`Issuing.Authorization.verification_data.authentication_exemption.type` and \ 
`Issuing.AuthorizationCreateParams.testHelpers.verification_data.authentication_exemption.type`
 * Add support for new value `challenge` on enums \ 
`PaymentIntent.payment_method_options.card.request_three_d_secure`, \ 
`PaymentIntentConfirmParams.payment_method_options.card.request_three_d_secure`, \ 
`PaymentIntentCreateParams.payment_method_options.card.request_three_d_secure`, \ 
`PaymentIntentUpdateParams.payment_method_options.card.request_three_d_secure`, \ 
`SetupIntent.payment_method_options.card.request_three_d_secure`, \ 
`SetupIntentConfirmParams.payment_method_options.card.request_three_d_secure`, \ 
`SetupIntentCreateParams.payment_method_options.card.request_three_d_secure`, \ 
and `SetupIntentUpdateParams.payment_method_options.card.request_three_d_secure`
 * Add support for `revolut_pay` on `PaymentMethodConfigurationCreateParams`, \ 
`PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
 * Change type of `Quote.invoice_settings` from `InvoiceSettingQuoteSetting | \ 
null` to `InvoiceSettingQuoteSetting`
 * Add support for `destination_details` on `Refund`
 * Add support for new value \ 
`financial_connections.account.refreshed_transactions` on enums \ 
`WebhookEndpointCreateParams.enabled_events[]` and \ 
`WebhookEndpointUpdateParams.enabled_events[]`

* Update generated code
* Remove api_base from RequestOptions type
* Support accessing reserved word resource properties via attribute

7.9.0 - 2023-12-14
* Update generated code

 * Add support for `payment_method_reuse_agreement` on resource classes \ 
`PaymentLink.ConsentCollection` and `checkout.Session.ConsentCollection` and \ 
parameter classes `PaymentLink.CreateParamsConsentCollection` and \ 
`checkout.Session.CreateParamsConsentCollection`
 * Add support for `after_submit` on parameter classes \ 
`PaymentLink.CreateParamsCustomText`, `PaymentLink.ModifyParamsCustomText`, and \ 
`checkout.Session.CreateParamsCustomText` and resource classes \ 
`PaymentLink.CustomText` and `checkout.Session.CustomText`
 * Add support for `created` on parameter class `radar.EarlyFraudWarning.ListParams`
* Track usage of deprecated `save`
 * Reports uses of the deprecated `.save` in `X-Stripe-Client-Telemetry`. (You \ 
can disable telemetry via `stripe.enable_telemetry = false`, see the \ 
[README](https://github.com/stripe/stripe-python/blob/master/README.md#telemetry).)
* Mark defunct and internal methods as deprecated
* Add more types to _http_client.py

7.8.2 - 2023-12-11
* Do not raise a DeprecationWarning in `stripe.app_info`

7.8.1 - 2023-12-08
* Fix __getattr__ to raise AttributeError rather than returning None. This fixes \ 
a regression in 7.8.0 that caused `stripe.checkout`/`stripe.issuing` etc. to \ 
return `None`.
* Add missing explicit reexport for `OAuth`, `Webhook`, `WebhookSignature`
   2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319)
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
   2022-10-13 10:49:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-stripe: updated to 4.2.0

4.2.0 - 2022-09-23
* API Updates
  * Add `upcoming_lines` method to the `Invoice` resource.
  * Update links in documentation to be absolute.
* Add abstract methods for SearchableAPIResource