- #1520 API Updates
- Add support for new values
electric_vehicle_charging
,emergency_services_gcas_visa_use_only
,government_licensed_horse_dog_racing_us_region_only
,government_licensed_online_casions_online_gambling_us_region_only
,government_owned_lotteries_non_us_region
,government_owned_lotteries_us_region_only
, andmarketplaces
on enumsIssuingCardCreateParams.spending_controls.allowed_categories[]
,IssuingCardCreateParams.spending_controls.blocked_categories[]
,IssuingCardCreateParams.spending_controls.spending_limits[].categories[]
,IssuingCardUpdateParams.spending_controls.allowed_categories[]
,IssuingCardUpdateParams.spending_controls.blocked_categories[]
,IssuingCardUpdateParams.spending_controls.spending_limits[].categories[]
,IssuingCardholderCreateParams.spending_controls.allowed_categories[]
,IssuingCardholderCreateParams.spending_controls.blocked_categories[]
,IssuingCardholderCreateParams.spending_controls.spending_limits[].categories[]
,IssuingCardholderUpdateParams.spending_controls.allowed_categories[]
,IssuingCardholderUpdateParams.spending_controls.blocked_categories[]
, andIssuingCardholderUpdateParams.spending_controls.spending_limits[].categories[]
- Add support for
reconciliation_status
onPayout
- Add support for new value
lease_tax
on enumsTaxRateCreateParams.tax_type
andTaxRateUpdateParams.tax_type
- Add support for new values
- #1517 API Updates
- Add support for new value
yoursafe
on enumsPaymentIntentConfirmParams.payment_method_data.ideal.bank
,PaymentIntentCreateParams.payment_method_data.ideal.bank
,PaymentIntentUpdateParams.payment_method_data.ideal.bank
,PaymentMethodCreateParams.ideal.bank
,SetupIntentConfirmParams.payment_method_data.ideal.bank
,SetupIntentCreateParams.payment_method_data.ideal.bank
, andSetupIntentUpdateParams.payment_method_data.ideal.bank
- Add support for new value
igst
on enumsTaxRateCreateParams.tax_type
andTaxRateUpdateParams.tax_type
- Add support for new value
- #1514 API Updates
- Add support for
refund_payment
method on resourceTerminal.Reader
- Add support for new value
name
on enumsBillingPortalConfigurationCreateParams.features.customer_update.allowed_updates[]
andBillingPortalConfigurationUpdateParams.features.customer_update.allowed_updates[]
- Add support for
custom_fields
onCheckout.Session
,CheckoutSessionCreateParams
,PaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
- Add support for
interac_present
onTerminalReaderPresentPaymentMethodParams
- Change type of
TerminalReaderPresentPaymentMethodParams.type
fromliteral('card_present')
toenum('card_present'|'interac_present')
- Add support for
refund_payment
onTerminal.Reader.action
- Add support for
- #1512 API Updates
- Add support for
resume
method on resourceSubscription
- Add support for
payment_link
onCheckoutSessionListParams
- Add support for
trial_settings
onCheckoutSessionCreateParams.subscription_data
,SubscriptionCreateParams
,SubscriptionUpdateParams
, andSubscription
- Add support for
shipping_cost
onCreditNoteCreateParams
,CreditNotePreviewLinesParams
,CreditNotePreviewParams
,CreditNote
,InvoiceCreateParams
,InvoiceUpdateParams
, andInvoice
- Add support for
amount_shipping
onCreditNote
andInvoice
- Add support for
shipping_details
onInvoiceCreateParams
,InvoiceUpdateParams
, andInvoice
- Add support for
subscription_resume_at
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
- Change
IssuingCardholderCreateParams.individual.first_name
,IssuingCardholderCreateParams.individual.last_name
,IssuingCardholderUpdateParams.individual.first_name
, andIssuingCardholderUpdateParams.individual.last_name
to be optional - Add support for
invoice_creation
onPaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
- Add support for new value
America/Ciudad_Juarez
on enumReportingReportRunCreateParams.parameters.timezone
- Add support for new value
paused
on enumSubscriptionListParams.status
- Add support for new values
customer.subscription.paused
andcustomer.subscription.resumed
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #1510 API Updates
- Add support for new values
cs-CZ
,el-GR
,en-CZ
, anden-GR
on enumsPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
- Add support for new values
- #1507 API Updates
- Add support for
verification_session
onEphemeralKeyCreateParams
- Add support for new values
refund.created
andrefund.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #1505 Bump Gson to 2.10.1
- #1502 API Updates
- Add support for
card_issuing
onIssuing.Cardholder.individual
- Add support for
- #1501 Add fix for per-request ApiBase
- #1476 Solution For "Regarding ability to override stripe api url per API re…
- #1500 Deprecate ApiResource.classUrl, etc.
- Mark
ApiResource.className
,ApiResource.singleClassUrl
,ApiResource.classUrl
,ApiResource.instanceUrl
, andApiResource.subresourceUrl
as deprecated
- Mark
- #1499 Fix publish command
- #1497 API Updates
- Add support for new value
merchant_default
on enumsCashBalanceUpdateParams.settings.reconciliation_mode
,CustomerCreateParams.cash_balance.settings.reconciliation_mode
, andCustomerUpdateParams.cash_balance.settings.reconciliation_mode
- Add support for
using_merchant_default
onCashBalance.settings
- Add support for new value
- #1496 Replace ReflectionCheckingTypeAdapterFactory with a ReflectionAccessFilter
- #1491 Don't delombok sources
- #1487 API Updates
- Change
CustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
. - Added parameterless overload of
Customer.listPaymentMethods
.
- Change
- #1484 API Updates
- Add support for
flow_data
onBillingPortalSessionCreateParams
- Add support for
flow
onBillingPortal.Session
- Add support for
- #1483 API Updates
- Add support for
india_international_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
invoice_creation
onCheckout.Session
andCheckoutSessionCreateParams
- Add support for
invoice
onCheckout.Session
- Add support for
metadata
onSubscriptionSchedule.phases[].items[]
,SubscriptionScheduleCreateParams.phases[].items[]
, andSubscriptionScheduleUpdateParams.phases[].items[]
- Add support for
- #1480 API Updates
- Add support for
hosted_instructions_url
onPaymentIntent.next_action.wechat_pay_display_qr_code
- Add support for
- #1479 API Updates
- Add support for
custom_text
onCheckout.Session
,CheckoutSessionCreateParams
,PaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
- Add support for
hosted_instructions_url
onPaymentIntent.next_action.paynow_display_qr_code
- Add support for
- #1471 Next major release changes
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15.
"
⚠️ Inline several "shared" classes for consistency (#1455)⚠️ RemovedLineItem.Product
property that was released by mistake. (#1456)⚠️ RemovedCharges
property onPaymentIntent
and replace it withLatestCharge
(#1473)⚠️ Removed deprecatedAmount
,Currency
,Description
,Images
,Name
properties fromSessionCreateParams.LineItem
(#1473)⚠️ Remove support fortos_shown_and_accepted
onCheckoutSessionCreateParams.payment_method_options.paynow
(#1473)⚠️ Removed deprecatedSku
resource (#1459)⚠️ RemovedRequestOptions.getStripeVersionOverride
,RequestOptions.setStripeVersionOverride
, andRequestOptions.clearStripeVersionOverride
(#1464)
Use of setStripeVersionOverride
is discouraged and can lead to unexpected errors during service calls because Java SDK class shapes are not guaranteed to match API responses on arbitrary versions.
If you were using these methods in conjunction with EphemeralKey
resource prefer the EphemeralKeyCreateParamsBuilder.setStripeVersion
.
EphemeralKeyCreateParams params = EphemeralKeyCreateParams.builder()
.setStripeVersion("XXXX-YY-ZZ")
.build();
If you have a use case that requires per-request version overrides, please file an issue on stripe-java repository to ensure we are aware and can add first-class support for it. In the meantime you can use unsafeSetStripeVersionOverride
method as a workaround.
RequestOptions.RequestOptionsBuilder builder = RequestOptions.builder();
builder.setApiKey(...)
.setClientId(...);
RequestOptionsBuilder.unsafeSetStripeVersionOverride(builder, "2022-11-15");
- #1474 API Updates
⚠️ Remove support fortos_shown_and_accepted
onCheckoutSessionCreateParams.payment_method_options.paynow
. The property was mistakenly released and never worked.
- #1472 API Updates
- Add support for new values
eg_tin
,ph_tin
, andtr_tin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,OrderCreateParams.tax_details.tax_ids[].type
,OrderUpdateParams.tax_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for
reason_message
onIssuing.Authorization.request_history[]
- Add support for new values
- #1466 API Updates
- Add support for
on_behalf_of
onCheckoutSessionCreateParams.subscription_data
,SubscriptionCreateParams
,SubscriptionSchedule.default_settings
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.default_settings
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.default_settings
,SubscriptionScheduleUpdateParams.phases[]
,SubscriptionUpdateParams
, andSubscription
- Add support for
tax_behavior
andtax_code
onInvoiceItemCreateParams
,InvoiceItemUpdateParams
,InvoiceUpcomingLinesParams.invoice_items[]
, andInvoiceUpcomingParams.invoice_items[]
- Add support for
- #1461 API Updates
- Add support for new values
jp_trn
andke_pin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,OrderCreateParams.tax_details.tax_ids[].type
,OrderUpdateParams.tax_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for
tipping
onTerminal.Reader.action.process_payment_intent.process_config
andTerminalReaderProcessPaymentIntentParams.process_config
- Add support for new values
- #1457 Bugfix: Don't require global API Key when API Key is propagated from list request
- #1458 API Updates
- Add support for
request_log_url
onStripeError
- Add support for
network_data
onIssuing.Authorization
- Add support for
- #1451 API Updates
- Add support for new value
bank_of_china
on enumsPaymentIntentConfirmParams.payment_method_data.fpx.bank
,PaymentIntentCreateParams.payment_method_data.fpx.bank
,PaymentIntentUpdateParams.payment_method_data.fpx.bank
,PaymentMethodCreateParams.fpx.bank
,SetupIntentConfirmParams.payment_method_data.fpx.bank
,SetupIntentCreateParams.payment_method_data.fpx.bank
, andSetupIntentUpdateParams.payment_method_data.fpx.bank
- Add support for new values
America/Nuuk
,Europe/Kyiv
, andPacific/Kanton
on enumReportingReportRunCreateParams.parameters.timezone
- Add support for
klarna
onSetupAttempt.payment_method_details
- Add support for new value
- #1450 Set JDK to 17 LTS
- #1448 API Updates
- Add support for
created
onCheckout.Session
- Add support for
setup_future_usage
onPaymentIntent.payment_method_options.pix
,PaymentIntentConfirmParams.payment_method_options.pix
,PaymentIntentCreateParams.payment_method_options.pix
, andPaymentIntentUpdateParams.payment_method_options.pix
- Deprecate
SessionCreateParams.subscription_data.items
(use theline_items
param instead). This will be removed in the next major version.
- Add support for
- #1445 API Updates
- Add support for
terms_of_service
onCheckout.Session.consent_collection
,Checkout.Session.consent
,CheckoutSessionCreateParams.consent_collection
,PaymentLink.consent_collection
, andPaymentLinkCreateParams.consent_collection
⚠️ Remove support forplan
onCheckoutSessionCreateParams.payment_method_options.card.installments
. The property was mistakenly released and never worked.- Add support for
amount
onIssuingDisputeCreateParams
andIssuingDisputeUpdateParams
- Add support for
statement_descriptor
onPaymentIntentIncrementAuthorizationParams
- Add
upcomingLines
method toInvoice
resource.
- Add support for
- #1444 API Updates
- Add support for
pix
onCharge.payment_method_details
,Checkout.Session.payment_method_options
,CheckoutSessionCreateParams.payment_method_options
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for new value
pix
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for new value
pix
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- Add support for
from_invoice
onInvoiceCreateParams
andInvoice
- Add support for
latest_revision
onInvoice
- Add support for new value
pix
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
- Add support for
pix_display_qr_code
onPaymentIntent.next_action
- Add support for new value
pix
on enumsPaymentLinkCreateParams.payment_method_types[]
andPaymentLinkUpdateParams.payment_method_types[]
- Add support for new value
pix
on enumPaymentMethodCreateParams.type
- Add support for
created
onTreasury.CreditReversal
andTreasury.DebitReversal
- Add support for
- #1435 API Updates
- Add support for
require_signature
onIssuing.Card.shipping
andIssuingCardCreateParams.shipping
- Add support for
- #1434 API Updates
- Add support for new value
terminal_reader_splashscreen
on enumFileListParams.purpose
- Fix
LineItem.Discount.discount
to reference the correctDiscount
class (com.stripe.model.Discount
)
- Add support for new value
- #1433 API Updates
- Add support for new values
de-CH
,en-CH
,en-PL
,en-PT
,fr-CH
,it-CH
,pl-PL
, andpt-PT
on enumsOrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale
,OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale
,PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
- Add support for
description
onPaymentLink.subscription_data
andPaymentLinkCreateParams.subscription_data
- Add support for new values
- #1432 Update README badge
- #1431 Update coveralls to only run for one java version
- #1430 API Updates
- Add support for
login_page
onBillingPortal.Configuration
,BillingPortalConfigurationCreateParams
, andBillingPortalConfigurationUpdateParams
- Add support for
customs
andphone_number
onIssuing.Card.shipping
andIssuingCardCreateParams.shipping
- Add support for new value
deutsche_bank_ag
on enumsPaymentIntentConfirmParams.payment_method_data.eps.bank
,PaymentIntentCreateParams.payment_method_data.eps.bank
,PaymentIntentUpdateParams.payment_method_data.eps.bank
,PaymentMethodCreateParams.eps.bank
,SetupIntentConfirmParams.payment_method_data.eps.bank
,SetupIntentCreateParams.payment_method_data.eps.bank
, andSetupIntentUpdateParams.payment_method_data.eps.bank
- Add support for
description
onQuote.subscription_data
,QuoteCreateParams.subscription_data
,QuoteUpdateParams.subscription_data
,SubscriptionSchedule.default_settings
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.default_settings
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.default_settings
, andSubscriptionScheduleUpdateParams.phases[]
- Add support for
- #1428 Show test coverage in README
- #1427 Update README.md to clarify that API version can only be change in beta
- #1422 API Updates
- Add support for new resource
CustomerCashBalanceTransaction
- Remove support for value
paypal
from enumsOrderCreateParams.payment.settings.payment_method_types[]
andOrderUpdateParams.payment.settings.payment_method_types[]
- Add support for
currency
onPaymentLink
- Add support for
network
onSetupIntentConfirmParams.payment_method_options.card
,SetupIntentCreateParams.payment_method_options.card
,SetupIntentUpdateParams.payment_method_options.card
,Subscription.payment_settings.payment_method_options.card
,SubscriptionCreateParams.payment_settings.payment_method_options.card
, andSubscriptionUpdateParams.payment_settings.payment_method_options.card
- Change
TreasuryOutboundTransferCreateParams.destination_payment_method
to be optional - Add support for new value
customer_cash_balance_transaction.created
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Change the return type of
Customer.fundCashBalance
test helper fromCustomerBalanceTransaction
toCustomerCashBalanceTransaction
.- This would generally be considered a breaking change, but we've worked with all existing users to migrate and are comfortable releasing this as a minor as it is solely a test helper method. This was essentially broken prior to this change.
- Add support for new resource
- #1425 Add beta readme.md section
- #1423 chore: Remove unused variable from SearchPagingIteratorTest.
- #1421 Add a support section to the readme
- #1420 Fix outdated test comment
- #1418 Fix latest JAR hyperlink and related tests
- #1419 Fix makefile indentation and improve regex
-
#1416 API Updates
- Add support for
payment_method_collection
onCheckout.Session
,CheckoutSessionCreateParams
,PaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
- Add support for
-
#1414 Stop publishing javadoc for beta Java SDKs
- #1413 API Updates
- Add support for
process_config
onTerminal.Reader.action.process_payment_intent
- Add support for
- #1412 API Updates
- Add support for
expires_at
onApps.Secret
andAppsSecretCreateParams
- Add support for
This release includes breaking changes resulting from:
- Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-08-01
- Cleaning up the SDK to remove deprecated/unused APIs and rename classes/methods/properties to sync with product APIs. Read more detailed description at https://github.com/stripe/stripe-java/wiki/Migration-guide-for-v21.
"
- Add
ApiKeyMissingException
. - Add
validate
field toCustomerCreateParams
. - Add
validate
field toCustomerUpdateParams
. - Add
validate
field toPaymentSourceCollectionCreateParams
. - Add
shippingCost
,shippingDetails
, andshippingOptions
properties tocheckout.Session
resource. - Add support for
shipping_cost
andshipping_details
onCheckout.Session
- Add support for new value
2022-08-01
on enumWebhookEndpointCreateParams.api_version
- Removed deprecated
AlipayAccount
and related classes. - Removed deprecated
BitcoinReceiver
and related classes. - Removed deprecated
BitcoinTransaction
and related classes. - Removed deprecated
Recipient
and related classes. - Removed deprecated
IssuerFraudRecord
and related classes. - Removed deprecated
Order
and related classes. - Removed deprecated
ThreeDSecure
and related classes. - Removed unused
QuoteFinalizeParams
,QuoteCollectionListParams
classes. - Removed unused
BillingDetails
class. - Removed
CashBalance.retrieveCashBalance
method. PreferCashBalance.retrieve
. - Removed
Rule.getDeleted
method. The property was never populated and always had the default value offalse
. - Removed
LineItem.getDeleted
method. The property was never populated and always had the default value offalse
. - Removed public constructors from
TestHelper
inner classes and made them static. - Removed instance
Account.refresh
,Account.disconnect
methods. - Removed deprecated
TREASURY__RECEIVED_CREDIT__REVERSED
,TREASURY__RECEIVED_DEBIT__CREATED
,ORDER__UPDATED
,ORDER_RETURN__CREATED
,ORDER__PAYMENT_SUCCEEDED
,TRANSFER__FAILED
,TRANSFER__PAID
webhook events. - Removed deprecated
LoginLink.redirectUrl
property. - Removed deprecated
Charge.order
property. - Removed deprecated
Card.recipient
property. - Removed
defaultCurrency
property fromCustomer
resource. Please useCurrency
property instead. - Removed
shipping
andshippingOptions
properties fromcheckout.Session
resource. Please useshippingCost
,shippingDetails
, andshippingOptions
properties instead. - Removed
InitiatingPaymentMethodDetails
class
- Default API version changed to "2022-07-28".
- Changed
CashBalance.retrieve
method from an instance to a static. - Renamed
PaymentIntent.FinancialAddresses
class toFinancialAddress
. - Check that apiKey is set (either globally or via request options) in
StripeCollection.autoPagingIterable
andStripeSearchResult.autoPagingIterable
, and throw an exception if it is not. - Changed type of
businessType
field inAccountCreateParams
fromObject
toBusinessType
- #1406 API Updates
- Add support for
customer_balance
onCheckout.Session.payment_method_options
andCheckoutSessionCreateParams.payment_method_options
- Add support for new value
customer_balance
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for new values
en-CA
andfr-CA
on enumsOrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale
,OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale
,PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
- Add support for
- #1405 chore: Update gson version in README.
- #1402 API Updates
- Add support for
installments
onCheckout.Session.payment_method_options.card
,CheckoutSessionCreateParams.payment_method_options.card
,Invoice.payment_settings.payment_method_options.card
,InvoiceCreateParams.payment_settings.payment_method_options.card
, andInvoiceUpdateParams.payment_settings.payment_method_options.card
- Add support for
default_currency
andinvoice_credit_balance
onCustomer
- Add support for
currency
onInvoiceCreateParams
- Add support for
default_mandate
onInvoice.payment_settings
,InvoiceCreateParams.payment_settings
, andInvoiceUpdateParams.payment_settings
- Add support for
mandate
onInvoicePayParams
- Add support for
- #1391 API Updates
- Add support for
blik_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
blik
onCharge.payment_method_details
,Mandate.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,PaymentMethod
,SetupAttempt.payment_method_details
,SetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_data
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_data
,SetupIntentCreateParams.payment_method_options
,SetupIntentUpdateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_options
- Change type of
Checkout.Session.consent_collection.promotions
,CheckoutSessionCreateParams.consent_collection.promotions
,PaymentLink.consent_collection.promotions
, andPaymentLinkCreateParams.consent_collection.promotions
fromliteral('auto')
toenum('auto'|'none')
- Add support for new value
blik
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for new value
blik
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- Add support for new value
blik
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
- Add support for new value
blik
on enumsPaymentLinkCreateParams.payment_method_types[]
andPaymentLinkUpdateParams.payment_method_types[]
- Add support for new value
blik
on enumPaymentMethodCreateParams.type
- Add support for
- #1390 API Updates
- Add support for
customer_details
onCheckoutSessionListParams
- Add support for
- #1388 API Updates
- Add support for
currency
onCheckoutSessionCreateParams
,InvoiceUpcomingLinesParams
,InvoiceUpcomingParams
,PaymentLinkCreateParams
,SubscriptionCreateParams
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.phases[]
, andSubscription
- Add support for
currency_options
onCheckoutSessionCreateParams.shipping_options[].shipping_rate_data.fixed_amount
,CouponCreateParams
,CouponUpdateParams
,Coupon
,OrderCreateParams.shipping_cost.shipping_rate_data.fixed_amount
,OrderUpdateParams.shipping_cost.shipping_rate_data.fixed_amount
,PriceCreateParams
,PriceUpdateParams
,Price
,ProductCreateParams.default_price_data
,PromotionCode.restrictions
,PromotionCodeCreateParams.restrictions
,ShippingRate.fixed_amount
, andShippingRateCreateParams.fixed_amount
- Add support for
restrictions
onPromotionCodeUpdateParams
- Add support for
fixed_amount
andtax_behavior
onShippingRateUpdateParams
- Add support for
- #1387 API Updates
- Add support for
customer
onCheckoutSessionListParams
andRefundCreateParams
- Add support for
currency
andorigin
onRefundCreateParams
- Add support for new values
financial_connections.account.created
,financial_connections.account.deactivated
,financial_connections.account.disconnected
,financial_connections.account.reactivated
, andfinancial_connections.account.refreshed_balance
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #1386 Support serializing nested objects in map
- #1384 API Updates
- Add support for
deliver_card
,fail_card
,return_card
, andship_card
test helper methods on resourceIssuing.Card
- Change type of
PaymentLink.payment_method_types[]
,PaymentLinkCreateParams.payment_method_types[]
, andPaymentLinkUpdateParams.payment_method_types[]
fromliteral('card')
toenum
- Add support for
hosted_regulatory_receipt_url
onTreasury.ReceivedCredit
andTreasury.ReceivedDebit
- Add support for
- #1380 API Updates
- Add support for
capture_method
onPaymentIntentConfirmParams
andPaymentIntentUpdateParams
- Add support for
- #1378 API Updates
- Add support for
promptpay_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
promptpay
onCharge.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for new value
promptpay
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for
subtotal_excluding_tax
onCreditNote
andInvoice
- Add support for
amount_excluding_tax
andunit_amount_excluding_tax
onCreditNoteLineItem
andInvoiceLineItem
- Add support for new value
promptpay
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- Add support for
rendering_options
onInvoiceCreateParams
andInvoiceUpdateParams
- Add support for new value
promptpay
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
- Add support for
total_excluding_tax
onInvoice
- Add support for
automatic_payment_methods
onOrder.payment.settings
- Add support for new value
promptpay
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
- Add support for
promptpay_display_qr_code
onPaymentIntent.next_action
- Add support for new value
promptpay
on enumPaymentMethodCreateParams.type
- Add support for
- #1379 Use the generated API version
- #1376 Document how to access unsupported parameters and properties
- #1375 API Updates
- Add support for
fund_cash_balance
test helper method on resourceCustomer
- Add support for
statement_descriptor_prefix_kana
andstatement_descriptor_prefix_kanji
onAccount.settings.card_payments
,Account.settings.payments
,AccountCreateParams.settings.card_payments
, andAccountUpdateParams.settings.card_payments
- Add support for
statement_descriptor_suffix_kana
andstatement_descriptor_suffix_kanji
onCheckout.Session.payment_method_options.card
,CheckoutSessionCreateParams.payment_method_options.card
,PaymentIntent.payment_method_options.card
,PaymentIntentConfirmParams.payment_method_options.card
,PaymentIntentCreateParams.payment_method_options.card
, andPaymentIntentUpdateParams.payment_method_options.card
- Add support for
total_excluding_tax
onCreditNote
- Change type of
CustomerCreateParams.invoice_settings.rendering_options
andCustomerUpdateParams.invoice_settings.rendering_options
fromrendering_options_param
toemptyStringable(rendering_options_param)
- Add support for
rendering_options
onCustomer.invoice_settings
andInvoice
- Add support for
- #1373 Trigger workflows on beta branches
- #1372 Update readme example to use typed params.
- #1370 API Updates
- Add support for
treasury
onAccount.settings
,AccountCreateParams.settings
, andAccountUpdateParams.settings
- Add support for
rendering_options
onCustomerCreateParams.invoice_settings
andCustomerUpdateParams.invoice_settings
- Add support for
eu_bank_transfer
onCustomerCreateFundingInstructionsParams.bank_transfer
,Invoice.payment_settings.payment_method_options.customer_balance.bank_transfer
,InvoiceCreateParams.payment_settings.payment_method_options.customer_balance.bank_transfer
,InvoiceUpdateParams.payment_settings.payment_method_options.customer_balance.bank_transfer
,Order.payment.settings.payment_method_options.customer_balance.bank_transfer
,OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer
,OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer
,PaymentIntent.payment_method_options.customer_balance.bank_transfer
,PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer
,PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer
,PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer
,Subscription.payment_settings.payment_method_options.customer_balance.bank_transfer
,SubscriptionCreateParams.payment_settings.payment_method_options.customer_balance.bank_transfer
, andSubscriptionUpdateParams.payment_settings.payment_method_options.customer_balance.bank_transfer
- Change type of
CustomerCreateFundingInstructionsParams.bank_transfer.requested_address_types[]
fromliteral('zengin')
toenum('iban'|'sort_code'|'spei'|'zengin')
- Change type of
CustomerCreateFundingInstructionsParams.bank_transfer.type
,Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type
,OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type
,OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type
,PaymentIntent.next_action.display_bank_transfer_instructions.type
,PaymentIntent.payment_method_options.customer_balance.bank_transfer.type
,PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.type
,PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.type
, andPaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.type
fromliteral('jp_bank_transfer')
toenum('eu_bank_transfer'|'gb_bank_transfer'|'jp_bank_transfer'|'mx_bank_transfer')
- Add support for
iban
,sort_code
, andspei
onFundingInstructions.bank_transfer.financial_addresses[]
andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[]
- Change type of
Order.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,PaymentIntent.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
, andPaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
fromliteral('zengin')
toenum
- Add support for
custom_unit_amount
onPriceCreateParams
andPrice
- Add support for
- #1369 API Updates
- Add support for
affirm
,bancontact
,card
,ideal
,p24
, andsofort
onCheckout.Session.payment_method_options
andCheckoutSessionCreateParams.payment_method_options
- Add support for
afterpay_clearpay
,au_becs_debit
,bacs_debit
,eps
,fpx
,giropay
,grabpay
,klarna
,paynow
, andsepa_debit
onCheckoutSessionCreateParams.payment_method_options
- Add support for
setup_future_usage
onCheckout.Session.payment_method_options.acss_debit
,Checkout.Session.payment_method_options.afterpay_clearpay
,Checkout.Session.payment_method_options.alipay
,Checkout.Session.payment_method_options.au_becs_debit
,Checkout.Session.payment_method_options.bacs_debit
,Checkout.Session.payment_method_options.boleto
,Checkout.Session.payment_method_options.eps
,Checkout.Session.payment_method_options.fpx
,Checkout.Session.payment_method_options.giropay
,Checkout.Session.payment_method_options.grabpay
,Checkout.Session.payment_method_options.klarna
,Checkout.Session.payment_method_options.konbini
,Checkout.Session.payment_method_options.oxxo
,Checkout.Session.payment_method_options.paynow
,Checkout.Session.payment_method_options.sepa_debit
,Checkout.Session.payment_method_options.us_bank_account
,CheckoutSessionCreateParams.payment_method_options.acss_debit
,CheckoutSessionCreateParams.payment_method_options.alipay
,CheckoutSessionCreateParams.payment_method_options.boleto
,CheckoutSessionCreateParams.payment_method_options.konbini
,CheckoutSessionCreateParams.payment_method_options.oxxo
,CheckoutSessionCreateParams.payment_method_options.us_bank_account
, andCheckoutSessionCreateParams.payment_method_options.wechat_pay
- Add support for
attach_to_self
onSetupAttempt
,SetupIntentCreateParams
,SetupIntentListParams
, andSetupIntentUpdateParams
- Add support for
flow_directions
onSetupAttempt
,SetupIntentCreateParams
, andSetupIntentUpdateParams
- Add support for
- #1367 API Updates
- Add support for
create
test helper onReceivedCredit
. - Add support for
create
test helper onReceivedDebit
. - Deprecates the ability to directly create instances of inner
TestHelper
classes.
- Add support for
- #1366 API Updates
- Add support for
radar_options
onChargeCreateParams
,Charge
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams
,PaymentIntentUpdateParams.payment_method_data
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for
account_holder_name
,account_number
,account_type
,bank_code
,bank_name
,branch_code
, andbranch_name
onFundingInstructions.bank_transfer.financial_addresses[].zengin
andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin
- Add support for new values
en-AU
anden-NZ
on enumsOrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale
,OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale
,PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
- Change type of
Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type
andPaymentIntent.payment_method_options.customer_balance.bank_transfer.type
fromenum
toliteral('jp_bank_transfer')
- Add support for
network
onSetupIntent.payment_method_options.card
- Add support for new value
simulated_wisepos_e
on enumTerminalReaderListParams.device_type
- Add support for
-
#1363 API Updates
- Add support for
affirm_payments
andlink_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
id_number_secondary
onAccountCreateParams.individual
,AccountUpdateParams.individual
,PersonCreateParams
,PersonUpdateParams
,TokenCreateParams.account.individual
, andTokenCreateParams.person
- Add support for new value
affirm
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for
hosted_instructions_url
onPaymentIntent.next_action.display_bank_transfer_instructions
- Add support for
id_number_secondary_provided
onPerson
- Add support for
card_issuing
onTreasuryFinancialAccountCreateParams.features
,TreasuryFinancialAccountUpdateFeaturesParams
, andTreasuryFinancialAccountUpdateParams.features
- Add support for
-
#1361 Fix version update script and the version in README.md
-
#1360 API Updates
- Add support for
treasury
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
- #1360 API Updates
- Add support for
treasury
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
- #1359 API Updates
- Add support for new resource
Apps.Secret
- Add support for
affirm
onCharge.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
- Add support for
link
onCharge.payment_method_details
,Mandate.payment_method_details
,OrderCreateParams.payment.settings.payment_method_options
,OrderUpdateParams.payment.settings.payment_method_options
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,PaymentMethod
,SetupAttempt.payment_method_details
,SetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_data
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_data
,SetupIntentCreateParams.payment_method_options
,SetupIntentUpdateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_options
- Add support for new values
affirm
andlink
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- Add support for new value
link
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
- Add support for new values
affirm
andlink
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
- Add support for new values
affirm
andlink
on enumPaymentMethodCreateParams.type
- Add support for new resource
- #1357 Revert master trigger
- #1356 Temporary allow triggering docs push from master
- #1355 Use github.actor as GRGIT_USER
-
#1354 API Updates
- Add support for new resources
Treasury.CreditReversal
,Treasury.DebitReversal
,Treasury.FinancialAccountFeatures
,Treasury.FinancialAccount
,Treasury.FlowDetails
,Treasury.InboundTransfer
,Treasury.OutboundPayment
,Treasury.OutboundTransfer
,Treasury.ReceivedCredit
,Treasury.ReceivedDebit
,Treasury.TransactionEntry
, andTreasury.Transaction
- Add support for
retrieve_payment_method
method on resourceCustomer
- Add support for
list_owners
andlist
methods on resourceFinancialConnections.Account
- Change
BillingPortalConfigurationCreateParams.features.customer_update.allowed_updates
to be optional - Add support for
afterpay_clearpay
,au_becs_debit
,bacs_debit
,eps
,fpx
,giropay
,grabpay
,klarna
,paynow
, andsepa_debit
onCheckout.Session.payment_method_options
- Add support for
treasury
onIssuing.Authorization
,Issuing.Dispute
,Issuing.Transaction
, andIssuingDisputeCreateParams
- Add support for
financial_account
onIssuing.Card
andIssuingCardCreateParams
- Add support for
client_secret
onOrder
- Add support for
networks
onPaymentIntentConfirmParams.payment_method_options.us_bank_account
,PaymentIntentCreateParams.payment_method_options.us_bank_account
,PaymentIntentUpdateParams.payment_method_options.us_bank_account
,PaymentMethod.us_bank_account
,SetupIntentConfirmParams.payment_method_options.us_bank_account
,SetupIntentCreateParams.payment_method_options.us_bank_account
, andSetupIntentUpdateParams.payment_method_options.us_bank_account
- Add support for
attach_to_self
andflow_directions
onSetupIntent
- Add support for
save_default_payment_method
onSubscription.payment_settings
,SubscriptionCreateParams.payment_settings
, andSubscriptionUpdateParams.payment_settings
- Add support for
czk
onTerminal.Configuration.tipping
,TerminalConfigurationCreateParams.tipping
, andTerminalConfigurationUpdateParams.tipping
- Add support for new values
treasury.credit_reversal.created
,treasury.credit_reversal.posted
,treasury.debit_reversal.completed
,treasury.debit_reversal.created
,treasury.debit_reversal.initial_credit_granted
,treasury.financial_account.closed
,treasury.financial_account.created
,treasury.financial_account.features_status_updated
,treasury.inbound_transfer.canceled
,treasury.inbound_transfer.created
,treasury.inbound_transfer.failed
,treasury.inbound_transfer.succeeded
,treasury.outbound_payment.canceled
,treasury.outbound_payment.created
,treasury.outbound_payment.expected_arrival_date_updated
,treasury.outbound_payment.failed
,treasury.outbound_payment.posted
,treasury.outbound_payment.returned
,treasury.outbound_transfer.canceled
,treasury.outbound_transfer.created
,treasury.outbound_transfer.expected_arrival_date_updated
,treasury.outbound_transfer.failed
,treasury.outbound_transfer.posted
,treasury.outbound_transfer.returned
,treasury.received_credit.created
,treasury.received_credit.failed
,treasury.received_credit.reversed
,treasury.received_credit.succeeded
, andtreasury.received_debit.created
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new resources
-
#1353 Update readme with new jar download URL
-
#1352 Finish automated Java releases
-
#1340 Publish Java package from Github actions
- #1351 API Updates
- Add support for
description
onCheckoutSessionCreateParams.subscription_data
,SubscriptionCreateParams
,SubscriptionUpdateParams
, andSubscription
- Add support for
consent_collection
,payment_intent_data
,shipping_options
,submit_type
, andtax_id_collection
onPaymentLinkCreateParams
andPaymentLink
- Add support for
customer_creation
onPaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
- Add support for
metadata
onSubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.phases[]
, andSubscriptionScheduleUpdateParams.phases[]
- Add support for new value
billing_portal.session.created
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #1350 API Updates
- Add support for
amount_discount
,amount_tax
, andproduct
onLineItem
- Add support for
- #1349 API Updates
- Add support for
default_price_data
onProductCreateParams
- Add support for
default_price
onProductUpdateParams
andProduct
- Add support for
instructions_email
onRefundCreateParams
andRefund
- Add support for
-
#1348 API Updates
- Add support for new resources
FinancialConnections.AccountOwner
,FinancialConnections.AccountOwnership
,FinancialConnections.Account
, andFinancialConnections.Session
- Add support for
financial_connections
onCheckout.Session.payment_method_options.us_bank_account
,CheckoutSessionCreateParams.payment_method_options.us_bank_account
,Invoice.payment_settings.payment_method_options.us_bank_account
,InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account
,PaymentIntent.payment_method_options.us_bank_account
,PaymentIntentConfirmParams.payment_method_options.us_bank_account
,PaymentIntentCreateParams.payment_method_options.us_bank_account
,PaymentIntentUpdateParams.payment_method_options.us_bank_account
,SetupIntent.payment_method_options.us_bank_account
,SetupIntentConfirmParams.payment_method_options.us_bank_account
,SetupIntentCreateParams.payment_method_options.us_bank_account
,SetupIntentUpdateParams.payment_method_options.us_bank_account
,Subscription.payment_settings.payment_method_options.us_bank_account
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account
, andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account
- Add support for
financial_connections_account
onPaymentIntentConfirmParams.payment_method_data.us_bank_account
,PaymentIntentCreateParams.payment_method_data.us_bank_account
,PaymentIntentUpdateParams.payment_method_data.us_bank_account
,PaymentMethod.us_bank_account
,PaymentMethodCreateParams.us_bank_account
,SetupIntentConfirmParams.payment_method_data.us_bank_account
,SetupIntentCreateParams.payment_method_data.us_bank_account
, andSetupIntentUpdateParams.payment_method_data.us_bank_account
- Add support for new resources
-
#1347 API Updates
- Add support for
registered_address
onAccountCreateParams.individual
,AccountUpdateParams.individual
,PersonCreateParams
,PersonUpdateParams
,Person
,TokenCreateParams.account.individual
, andTokenCreateParams.person
- Add support for
payment_method_data
onSetupIntentConfirmParams
,SetupIntentCreateParams
, andSetupIntentUpdateParams
- Add support for
- #1346 API Updates
- Add support for new resource
CashBalance
- Change type of
BillingPortal.Configuration.application
from$Application
todeletable($Application)
- Add support for
alipay
onCheckout.Session.payment_method_options
andCheckoutSessionCreateParams.payment_method_options
- Add support for new value
eu_oss_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for
cash_balance
onCustomer
- Add support for
application
onInvoice
,Quote
,SubscriptionSchedule
, andSubscription
- Add support for new resource
- #1345 API Updates
- Add support for
expire
test helper method on resourceRefund
- Change type of
BillingPortal.Configuration.application
fromstring
toexpandable($Application)
- Change
IssuingDisputeCreateParams.transaction
to be optional
- Add support for
- #1342 Add null checks before streaming expandable IDs in setters.
- #1339 API Updates
- Add support for new resources
FundingInstructions
andTerminal.Configuration
- Add support for
create_funding_instructions
method on resourceCustomer
- Add support for
customer_balance
onCharge.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntent<Method>Params.payment_method_data
,PaymentIntent<Method>Params.payment_method_options
,PaymentMethodCreateParams
, andPaymentMethod
- Add support for
cash_balance
onCustomerCreateParams
andCustomerUpdateParams
- Add support for new value
customer_balance
on enumsCustomerListPaymentMethodsParams.type
,PaymentMethodListParams.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
, andPaymentIntentUpdateParams.payment_method_data.type
- Add support for
amount_details
onPaymentIntent
- Add support for
display_bank_transfer_instructions
onPaymentIntent.next_action
- Add support for new value
customer_balance
on enumPaymentMethodCreateParams.type
- Add support for
configuration_overrides
onTerminal.Location
,TerminalLocationCreateParams
, andTerminalLocationUpdateParams
- Add support for new resources
- #1338 Add support for putExtraParam on EphemeralKeyCreateParams
- #1336 API Updates
- Add support for
increment_authorization
method on resourcePaymentIntent
- Add support for
incremental_authorization_supported
onCharge.payment_method_details.card_present
- Add support for
request_incremental_authorization_support
onPaymentIntent.payment_method_options.card_present
,PaymentIntentConfirmParams.payment_method_options.card_present
,PaymentIntentCreateParams.payment_method_options.card_present
, andPaymentIntentUpdateParams.payment_method_options.card_present
- Add support for
- #1335 API Updates
- Add support for
apply_customer_balance
method on resourcePaymentIntent
- Add support for new value
cash_balance.funds_available
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
-
#1333 API Updates
- Add support for
bank_transfer_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
- Add support for
capture_before
onCharge.payment_method_details.card_present
- Add support for
address
andname
onCheckout.Session.customer_details
- Add support for
customer_balance
onInvoice.payment_settings.payment_method_options
,InvoiceCreateParams.payment_settings.payment_method_options
,InvoiceUpdateParams.payment_settings.payment_method_options
,Subscription.payment_settings.payment_method_options
,SubscriptionCreateParams.payment_settings.payment_method_options
, andSubscriptionUpdateParams.payment_settings.payment_method_options
- Add support for new value
customer_balance
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
- Add support for
request_extended_authorization
onPaymentIntent.payment_method_options.card_present
,PaymentIntentConfirmParams.payment_method_options.card_present
,PaymentIntentCreateParams.payment_method_options.card_present
, andPaymentIntentUpdateParams.payment_method_options.card_present
- Add support for new values
payment_intent.partially_funded
,terminal.reader.action_failed
, andterminal.reader.action_succeeded
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
-
#1331 Pin JDK version and always build using Java 18
- This only impacts development and it's not a breaking change for users. We still support Java 1.8 and later.
- #1332 API Updates
- Add support for
cancel_action
,process_payment_intent
,process_setup_intent
, andset_reader_display
methods on resourceTerminal.Reader
- Add support for
action
onTerminal.Reader
- Add support for
- #1330 API Updates
- Add support for Search API
- Add support for
search
method on resourcesCharge
,Customer
,Invoice
,PaymentIntent
,Price
,Product
, andSubscription
- Add support for
- Add support for Search API
- #1329 API Updates
- Add support for PayNow and US Bank Accounts Debits payments
- Charge (API ref)
- Add support for
paynow
andus_bank_account
onCharge.payment_method_details
- Add support for
- Customer (API ref)
- Add support for new values
paynow
andus_bank_account
on enumCustomerListPaymentMethodsParams.type
- Add support for new values
- Mandate (API ref)
- Add support for
us_bank_account
onMandate.payment_method_details
- Add support for
- Payment Intent (API ref)
- Add support for
paynow
andus_bank_account
onpayment_method_options
onPaymentIntent
,PaymentIntentCreateParams
,PaymentIntentUpdateParams
, andPaymentIntentConfirmParams
- Add support for
paynow
andus_bank_account
onpayment_method_data
onPaymentIntentCreateParams
,PaymentIntentUpdateParams
, andPaymentIntentConfirmParams
- Add support for
paynow_display_qr_code
onPaymentIntent.next_action
- Add support for new values
paynow
andus_bank_account
on enumspayment_method_data.type
onPaymentIntentCreateParams
, andPaymentIntentUpdateParams
, andPaymentIntentConfirmParams
- Add support for
- Setup Intent (API ref)
- Add support for
us_bank_account
onpayment_method_options
onSetupIntent
,SetupIntentCreateParams
,SetupIntentUpdateParams
, andSetupIntentConfirmParams
- Add support for
- Setup Attempt (API ref)
- Add support for
us_bank_account
onSetupAttempt.payment_method_details
- Add support for
- Payment Method (API ref)
- Add support for
paynow
andus_bank_account
onPaymentMethod
andPaymentMethodCreateParams
- Add support for
us_bank_account
onPaymentMethodUpdateParams
- Add support for new values
paynow
andus_bank_account
on enumsPaymentMethod.type
,PaymentMethodCreateParams.type
. andPaymentMethodListParams.type
- Add support for
- Checkout Session (API ref)
- Add support for
us_bank_account
onpayment_method_options
onCheckout.Session
andCheckoutSessionCreateParams
- Add support for new values
paynow
andus_bank_account
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for
- Invoice (API ref)
- Add support for
us_bank_account
onpayment_settings.payment_method_options
onInvoice
,InvoiceCreateParams
, andInvoiceUpdateParams
- Add support for new values
paynow
andus_bank_account
on enumspayment_settings.payment_method_types[]
onInvoice
,InvoiceCreateParams
, andInvoiceUpdateParams
- Add support for
- Subscription (API ref)
- Add support for
us_bank_account
onSubscription.payment_settings.payment_method_options
,SubscriptionCreateParams.payment_settings.payment_method_options
, andSubscriptionUpdateParams.payment_settings.payment_method_options
- Add support for new values
paynow
andus_bank_account
on enumspayment_settings.payment_method_types[]
onSubscription
,SubscriptionCreateParams
, andSubscriptionUpdateParams
- Add support for
- Account capabilities (API ref)
- Add support for
paynow_payments
oncapabilities
onAccount
,AccountCreateParams
, andAccountUpdateParams
- Add support for
- Charge (API ref)
- Add support for
failure_balance_transaction
onCharge
- Add support for
capture_method
onafterpay_clearpay
,card
, andklarna
onpayment_method_options
onPaymentIntent
,PaymentIntentCreateParams
,PaymentIntentUpdateParams
, andPaymentIntentConfirmParams
(API ref) - Add additional support for verify microdeposits on Payment Intent and Setup Intent (API ref)
- Add support for
microdeposit_type
onnext_action.verify_with_microdeposits
onPaymentIntent
andSetupIntent
- Add support for
descriptor_code
onPaymentIntentVerifyMicrodepositsParams
andSetupIntentVerifyMicrodepositsParams
- Add support for
- Add support for
test_clock
onSubscriptionListParams
(API ref)
- Add support for PayNow and US Bank Accounts Debits payments
- #1328 API Updates
- Add support for
cancel
method on resourceRefund
- Add support for new values
bg_uic
,hu_tin
, andsi_tin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for
test_clock
onQuoteListParams
- Add support for new values
test_helpers.test_clock.advancing
,test_helpers.test_clock.created
,test_helpers.test_clock.deleted
,test_helpers.test_clock.internal_failure
, andtest_helpers.test_clock.ready
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for
- #1327 API Updates
- Add support for
status
onCard
- Add support for
- #1322 Upgrade GSON dependency to 2.9.0
- #1326 Update SearchResult pagination to match new API shape. This is a breaking change but the object shape is not exposed in the API currently and is therefore not being used.
- #1324 API Updates
- Add support for
mandate
onCharge.payment_method_details.card
- Add support for
mandate_options
onPaymentIntentCreateParams.payment_method_options.card
,PaymentIntentUpdateParams.payment_method_options.card
,PaymentIntentConfirmParams.payment_method_options.card
,PaymentIntent.payment_method_options.card
,SetupIntentCreateParams.payment_method_options.card
,SetupIntentUpdateParams.payment_method_options.card
,SetupIntentConfirmParams.payment_method_options.card
, andSetupIntent.payment_method_options.card
- Add support for
card_await_notification
onPaymentIntent.next_action
- Add support for
customer_notification
onPaymentIntent.processing.card
- Change
PaymentLinkCreateParams.line_items
to be required
- Add support for
- #1321 Delete PaymentIntentTypeSpecificPaymentMethodOptionsClient.java
- #1323 API Updates
- Add support for
test_clock
onCustomerListParams
- Add support for
- #1320 API Updates
- Add support for new resources
CreditedItems
andProrationDetails
- Add support for
proration_details
onInvoiceLineItem
- Add support for new resources
- #1319 API Updates
- Add support for
deletes_after
onTestHelpers.TestClock
- Add support for
- #1318 API Updates
- Add support for new resource
TestHelpers.TestClock
- Add support for
test_clock
onCustomerCreateParams
,Customer
,Invoice
,InvoiceItem
,QuoteCreateParams
,Quote
,Subscription
, andSubscriptionSchedule
- Add support for
pending_invoice_items_behavior
onInvoiceCreateParams
- Change type of
ProductUpdateParams.url
fromstring
toemptyStringable(string)
- Add support for
next_action
onRefund
- Add support for new resource
- #1315 API Updates
- Add support for
konbini_payments
onAccountUpdateParams.capabilities
,AccountCreateParams.capabilities
, andAccount.capabilities
- Add support for .payment_method_options.konbini and .payment_method_data.konbini on the PaymentIntent API.
- Add support for .payment_settings.payment_method_options.konbini on the Invoice API.
- Add support for .payment_method_options.konbini on the Subscription API
- Add support for .payment_method_options.konbini on the CheckoutSession API
- Add support for
konbini_display_details
onPaymentIntent.next_action
- Add support for
- #1313 API Updates
- Add support for
setup_future_usage
onPaymentIntentCreateParams.payment_method_options.acss_debit
,PaymentIntentCreateParams.payment_method_options.afterpay_clearpay
,PaymentIntentCreateParams.payment_method_options.alipay
,PaymentIntentCreateParams.payment_method_options.au_becs_debit
,PaymentIntentCreateParams.payment_method_options.bacs_debit
,PaymentIntentCreateParams.payment_method_options.bancontact
,PaymentIntentCreateParams.payment_method_options.boleto
,PaymentIntentCreateParams.payment_method_options.eps
,PaymentIntentCreateParams.payment_method_options.fpx
,PaymentIntentCreateParams.payment_method_options.giropay
,PaymentIntentCreateParams.payment_method_options.grabpay
,PaymentIntentCreateParams.payment_method_options.ideal
,PaymentIntentCreateParams.payment_method_options.klarna
,PaymentIntentCreateParams.payment_method_options.oxxo
,PaymentIntentCreateParams.payment_method_options.p24
,PaymentIntentCreateParams.payment_method_options.sepa_debit
,PaymentIntentCreateParams.payment_method_options.sofort
,PaymentIntentCreateParams.payment_method_options.wechat_pay
,PaymentIntentUpdateParams.payment_method_options.acss_debit
,PaymentIntentUpdateParams.payment_method_options.afterpay_clearpay
,PaymentIntentUpdateParams.payment_method_options.alipay
,PaymentIntentUpdateParams.payment_method_options.au_becs_debit
,PaymentIntentUpdateParams.payment_method_options.bacs_debit
,PaymentIntentUpdateParams.payment_method_options.bancontact
,PaymentIntentUpdateParams.payment_method_options.boleto
,PaymentIntentUpdateParams.payment_method_options.eps
,PaymentIntentUpdateParams.payment_method_options.fpx
,PaymentIntentUpdateParams.payment_method_options.giropay
,PaymentIntentUpdateParams.payment_method_options.grabpay
,PaymentIntentUpdateParams.payment_method_options.ideal
,PaymentIntentUpdateParams.payment_method_options.klarna
,PaymentIntentUpdateParams.payment_method_options.oxxo
,PaymentIntentUpdateParams.payment_method_options.p24
,PaymentIntentUpdateParams.payment_method_options.sepa_debit
,PaymentIntentUpdateParams.payment_method_options.sofort
,PaymentIntentUpdateParams.payment_method_options.wechat_pay
,PaymentIntentConfirmParams.payment_method_options.acss_debit
,PaymentIntentConfirmParams.payment_method_options.afterpay_clearpay
,PaymentIntentConfirmParams.payment_method_options.alipay
,PaymentIntentConfirmParams.payment_method_options.au_becs_debit
,PaymentIntentConfirmParams.payment_method_options.bacs_debit
,PaymentIntentConfirmParams.payment_method_options.bancontact
,PaymentIntentConfirmParams.payment_method_options.boleto
,PaymentIntentConfirmParams.payment_method_options.eps
,PaymentIntentConfirmParams.payment_method_options.fpx
,PaymentIntentConfirmParams.payment_method_options.giropay
,PaymentIntentConfirmParams.payment_method_options.grabpay
,PaymentIntentConfirmParams.payment_method_options.ideal
,PaymentIntentConfirmParams.payment_method_options.klarna
,PaymentIntentConfirmParams.payment_method_options.oxxo
,PaymentIntentConfirmParams.payment_method_options.p24
,PaymentIntentConfirmParams.payment_method_options.sepa_debit
,PaymentIntentConfirmParams.payment_method_options.sofort
,PaymentIntentConfirmParams.payment_method_options.wechat_pay
,PaymentIntent.payment_method_options.acss_debit
,PaymentIntent.payment_method_options.afterpay_clearpay
,PaymentIntent.payment_method_options.alipay
,PaymentIntent.payment_method_options.au_becs_debit
,PaymentIntent.payment_method_options.bacs_debit
,PaymentIntent.payment_method_options.bancontact
,PaymentIntent.payment_method_options.boleto
,PaymentIntent.payment_method_options.eps
,PaymentIntent.payment_method_options.fpx
,PaymentIntent.payment_method_options.giropay
,PaymentIntent.payment_method_options.grabpay
,PaymentIntent.payment_method_options.ideal
,PaymentIntent.payment_method_options.klarna
,PaymentIntent.payment_method_options.oxxo
,PaymentIntent.payment_method_options.p24
,PaymentIntent.payment_method_options.sepa_debit
,PaymentIntent.payment_method_options.sofort
, andPaymentIntent.payment_method_options.wechat_pay
- Add support for new values
bbpos_wisepad3
andstripe_m2
on enumTerminalReaderListParams.device_type
- Add generated test for the endpoints introduced in #1312
- Add support for
- #1312 API Updates
- Add support for
verify_microdeposits
method on resourcesPaymentIntent
andSetupIntent
- Add support for new value
grabpay
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
- Add support for
- #1311 Pin grgit version to 4.1.1.
- #1310 API Updates
- Add support for
pin
onIssuingCardUpdateParams
- Add support for
- #1307 API Updates
- Add support for new value
au_becs_debit
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for new value
- #1306 API Updates
- Add support for
phone_number_collection
onPaymentLinkCreateParams
andPaymentLink
- Add support for new values
payment_link.created
andpayment_link.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new value
is_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for
- #1304 API Updates
- Add support for new resource
PaymentLink
- Add support for
payment_link
onCheckout.Session
- Add support for new resource
- #1302 API Updates
- Add support for
bacs_debit
andeps
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Add support for
image_url_png
andimage_url_svg
onPaymentIntent.next_action.wechat_pay_display_qr_code
- Add support for
- #1301 API Updates
- Add support for
customer_creation
onCheckoutSessionCreateParams
andCheckout.Session
- Add support for
fpx
andgrabpay
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Add support for
PaidOutOfBand
onInvoice
- Add support for
- #1300 API Updates
- Add support for
mandate_options
onSubscriptionCreateParams.payment_settings.payment_method_options.card
,SubscriptionUpdateParams.payment_settings.payment_method_options.card
, andSubscription.payment_settings.payment_method_options.card
- Add support for
-
#1299 API Updates
- Add support for
au_becs_debit
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Add support for
-
#1298 API Updates
- Add support for new values
en-FR
,es-US
, andfr-FR
on enumsPaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
,PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
- Add support for
boleto
onSetupAttempt.payment_method_details
- Add support for new values
-
#1297 API Updates
- Add support for
processing
onPaymentIntent
- Add support for
- #1296 API Updates
- Add support for new resource
PaymentIntentTypeSpecificPaymentMethodOptionsClient
- Add support for
setup_future_usage
onPaymentIntentCreateParams.payment_method_options.card
,PaymentIntentUpdateParams.payment_method_options.card
,PaymentIntentConfirmParams.payment_method_options.card
, andPaymentIntent.payment_method_options.card
- Add support for new resource
- #1295 API Updates
- Add support for
metadata
onBillingPortalConfigurationCreateParams
,BillingPortalConfigurationUpdateParams
, andBillingPortal.Configuration
- Add support for
- #1294 API Updates
- Add support for new values
ge_vat
andua_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Change type of
PaymentIntentCreateParams.payment_method_data.billing_details.email
,PaymentIntentUpdateParams.payment_method_data.billing_details.email
,PaymentIntentConfirmParams.payment_method_data.billing_details.email
,PaymentMethodCreateParams.billing_details.email
, andPaymentMethodUpdateParams.billing_details.email
fromstring
toemptyStringable(string)
- Add support for
giropay
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Add support for new value
en-IE
on enumsPaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
,PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
- Add support for new values
- #1291 Test Java 16 and 17
- #1292 Pass credentials to nexusStaging rule.
- #1290 Update Javadoc task to not use module directories.
- #1289 API Updates
- Add support for
wallets
onIssuing.Card
- Add support for
- #1288 API Updates
- Add support for
interac_present
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Add support for new value
jct
on enumsTaxRateCreateParams.tax_type
andTaxRateUpdateParams.tax_type
- Add support for
- #1286 API Updates
- Add support for
automatic_payment_methods
onPaymentIntentCreateParams
andPaymentIntent
- Add support for
- #1284 API Updates
- Add support for new resource
ShippingRate
- Add support for
shipping_options
onCheckoutSessionCreateParams
andCheckout.Session
- Add support for
shipping_rate
onCheckout.Session
- Add support for new resource
- #1281 API Updates
- Add support for
expire
method on resourceCheckout.Session
- Add support for
status
onCheckout.Session
- Add support for
- #1279 API Updates
- Remove support for
ownership_declaration_shown_and_signed
onTokenCreateParams.account
. This API was unused. - Add support for
ownership_declaration_shown_and_signed
onTokenCreateParams.account.company
- Remove support for
- #1278 API Updates
- Add support for
ownership_declaration
onAccountUpdateParams.company
,AccountCreateParams.company
,Account.company
, andTokenCreateParams.account.company
- Add support for
proof_of_registration
onAccountUpdateParams.documents
andAccountCreateParams.documents
- Add support for
ownership_declaration_shown_and_signed
onTokenCreateParams.account
- Add support for
- #1275 Reorder fields
- #1274 API Updates
- Add support for
buyer_id
onCharge.payment_method_details.alipay
- Add support for
- #1273 API Updates
- Change type of
UsageRecordCreateParams.timestamp
frominteger
toliteral('now') | integer
- Change
UsageRecordCreateParams.timestamp
to be optional
- Change type of
- #1272 API Updates
- Add support for new value
klarna
on enumCheckoutSessionCreateParams.payment_method_types[]
- Add support for new value
- #1271 API Updates
- Add support for
payment_method_category
andpreferred_locale
onCharge.payment_method_details.klarna
- Add support for new value
klarna
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
- Add support for
klarna
onPaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntent.payment_method_options
,PaymentMethodCreateParams
, andPaymentMethod
- Add support for new value
klarna
on enumsPaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
, andPaymentIntentConfirmParams.payment_method_data.type
- Add support for new value
klarna
on enumPaymentMethodCreateParams.type
- Add support for
- #1269 API Updates
- Add support for
list_payment_methods
method on resourceCustomer
- Add support for
- #1268 API Updates
- Add support for
phone_number_collection
onCheckoutSessionCreateParams
andCheckout.Session
- Add support for
phone
onCheckout.Session.customer_details
- Change
PaymentMethodListParams.customer
to be optional - Add support for new value
customer_id
on enumRadarValueListCreateParams.item_type
- Add support for new value
bbpos_wisepos_e
on enumTerminalReaderListParams.device_type
- Add support for
- #1266 API Updates
- Add support for
klarna_payments
onAccountUpdateParams.capabilities
,AccountCreateParams.capabilities
, andAccount.capabilities
- Add support for
-
#1265 API Updates
- Add support for
amount_authorized
andovercapture_supported
onCharge.payment_method_details.card_present
- Add support for
-
#1261 Upgrade Gradle
-
#1209 Fix typo in README.md
- #1264 API Updates
- Add support for
full_name_aliases
onAccountUpdateParams.individual
,AccountCreateParams.individual
,PersonCreateParams
,PersonUpdateParams
,Person
,TokenCreateParams.account.individual
, andTokenCreateParams.person
- Add support for
- #1263 API Updates
- Add support for
default_for
onCheckoutSessionCreateParams.payment_method_options.acss_debit.mandate_options
,Checkout.Session.payment_method_options.acss_debit.mandate_options
,Mandate.payment_method_details.acss_debit
,SetupIntentCreateParams.payment_method_options.acss_debit.mandate_options
,SetupIntentUpdateParams.payment_method_options.acss_debit.mandate_options
,SetupIntentConfirmParams.payment_method_options.acss_debit.mandate_options
, andSetupIntent.payment_method_options.acss_debit.mandate_options
- Add support for
acss_debit
onInvoiceCreateParams.payment_settings.payment_method_options
,InvoiceUpdateParams.payment_settings.payment_method_options
,Invoice.payment_settings.payment_method_options
,SubscriptionCreateParams.payment_settings.payment_method_options
,SubscriptionUpdateParams.payment_settings.payment_method_options
, andSubscription.payment_settings.payment_method_options
- Add support for new value
acss_debit
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
- Add support for
livemode
onReporting.ReportType
- Add support for
- #1259 Add missing constant for
account_requirement
as apurpose
on File create and List APIs
- #1257 API Updates
- Add support for new value
rst
on enumsTaxRateCreateParams.tax_type
andTaxRateUpdateParams.tax_type
- Add support for new value
checkout.session.expired
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
- Add support for new value
- #1255 API Updates
- Add support for
future_requirements
onAccount
,Capability
, andPerson
- Add support for
alternatives
onAccount.requirements
,Capability.requirements
, andPerson.requirements
- Add support for
- #1254 API Updates
- Add support for
after_expiration
,consent_collection
, andexpires_at
onCheckoutSessionCreateParams
andCheckout.Session
- Add support for
consent
andrecovered_from
onCheckout.Session
- Add support for
- #1252 Add support for auto-paginatable
SearchResult
type
- #1250 API Updates
- Add support for
cancellation_reason
onBillingPortalConfigurationCreateParams.features.subscription_cancel
,BillingPortalConfigurationUpdateParams.features.subscription_cancel
, andBillingPortal.Configuration.features.subscription_cancel
- Add support for
- #1249 API Updates
- Add support for new value
fil
on enumCheckoutSessionCreateParams.locale
- Add support for new value
au_arn
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
, andTaxIdCreateParams.type
- Add support for new value
- #1248 API Updates
- Add support for
locale
onBillingPortalSessionCreateParams
andBillingPortal.Session
- Add support for
- #1246 API Updates
- Change type of
PaymentIntentCreateParams.payment_method_options.sofort.preferred_language
,PaymentIntentUpdateParams.payment_method_options.sofort.preferred_language
, andPaymentIntentConfirmParams.payment_method_options.sofort.preferred_language
fromenum
toemptyStringable(enum)
- Change type of
- #1242 API Updates
- Add support for
account_type
onBankAccount
,ExternalAccountUpdateParams
, andTokenCreateParams.bank_account
- Add support for
- #1241 API Updates
- Add support for
category_code
onIssuing.Authorization.merchant_data
andIssuing.Transaction.merchant_data
- Add support for
- #1239 API Updates
- Add support for new values
hr
,ko
, andvi
on enumCheckoutSessionCreateParams.locale
- Add support for
payment_settings
onSubscriptionCreateParams
,SubscriptionUpdateParams
, andSubscription
- Add support for new values
- #1238 API Updates
- Add support for
wallet
onIssuing.Transaction
- Add support for
ideal
onPaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
, andPaymentIntent.payment_method_options
- Add support for
- #1237 API Updates
- Add support for
quote.accepted
,quote.canceled
,quote.created
, andquote.finalized
events.
- Add support for
- #1236 API Updates
- Add support for
list_computed_upfront_line_items
method on resourceQuote
- Add support for
- #1233 Remove inappropriate list method from QuoteCollection
- #1231 API Updates
- Add support for new resource
Quote
- Add support for
quote
onInvoice
- Add support for new resource
- #1229 API Updates
- Add support for new value
boleto
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
, andInvoiceUpdateParams.payment_settings.payment_method_types[]
.
- Add support for new value
- #1228 API Updates
- Add support for
wechat_pay
onCharge.payment_method_details
,CheckoutSessionCreateParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntent.payment_method_options
,PaymentMethodCreateParams
, andPaymentMethod
- Add support for new value
wechat_pay
on enumsCheckoutSessionCreateParams.payment_method_types[]
InvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
- Add support for
wechat_pay_display_qr_code
,wechat_pay_redirect_to_android_app
, andwechat_pay_redirect_to_ios_app
onPaymentIntent.next_action
- Add support for
- #1227 API Updates
- Added support for
boleto_payments
onAccount.capabilities
- Added support for
boleto
andoxxo
onSessionCreateParams
andSession
- Added support for
- #1207 Streaming requests
- #1225 API Updates
- Added support for
boleto
onPaymentMethodCreateParams
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,Charge.payment_method_details
andPaymentMethod
PaymentMethodListParams.type
,PaymentMethodCreateParams.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
added new enum members:boleto
- Added support for
boleto_display_details
onPaymentIntent.next_action
TaxIdCreateParams.type
,InvoiceLineItemListUpcomingParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
, andCustomerCreateParams.tax_id_data[].type
, added new enum members:il_vat
.
- Added support for
- #1218 Remove Travis CI
- #1222 API Updates
- Add support for new TaxId types:
ca_pst_mb
,ca_pst_bc
,ca_gst_hst
, andca_pst_sk
.
- Add support for new TaxId types:
- #1221 API Updates
- Add support for
url
on CheckoutSession
- Add support for
- #1219 API Updates
- Added support for
TaxIdCollection
onSessionCreateParams
andSession.taxIdCollection
- Update
Location
to be expandable onReader
- Added support for
- #1217 API Updates
- Added support for
controller
onAccount
- Added support for
- #1215 API Updates
- Add support for new
TaxCode
API. - Add support for
tax_code
onProduct
,ProductCreateParams
,ProductUpdateParams
,PriceCreateParams.product_data
,PlanCreateParams.product
, and CheckoutSessionCreateParams.line_items[].price_data.product_data
. - Add support for
tax
toCustomer
,CustomerCreateParams
,CustomerUpdateParams
. - Add support for
default_settings[automatic_tax]
andphases[].automatic_tax
onSubscriptionSchedule
,SubscriptionScheduleCreateParams
, andSubscriptionScheduleUpdateParams
. - Add support for
automatic_tax
onSubscription
,SubscriptionCreateParams
,SubscriptionUpdateParams
;Invoice
,InvoiceCreateParams
, andInvoiceUpcomingParams
; CheckoutSession
and CheckoutSessionCreateParams
. - Add support for
tax_behavior
toPrice
,PriceCreateParams
,PriceUpdateParams
and to the many Param objects that containprice_data
:SubscriptionScheduleCreateParams
andSubscriptionScheduleUpdateParams
, beneathphases[].add_invoice_items[]
andphases[].items[]
SubscriptionItemCreateParams
andSubscriptionItemUpdateParams
, on the top-levelSubscriptionCreateParams
create andUpdateCreateParams
, beneathitems[]
andadd_invoice_items[]
InvoiceItemCreateParams
andInvoiceItemUpdateParams
, on the top-levelInvoiceUpcomingParams
andInvoiceUpcomingLinesParams
beneathsubscription_items[]
andinvoice_items[]
.- Checkout
SessionCreateParams
, beneathline_items[]
.
- Add support for
customer_update
to CheckoutSessionCreateParams
. - Add support for
customer_details
toInvoiceUpcomingParams
. - Add support for
tax_type
toTaxRate
,TaxRateCreateParams
, andTaxRateUpdateParams
.
- Add support for new
- #1214 API Updates
- Added support for
llc
,free_zone_llc
,free_zone_establishment
andsole_establishment
to thestructure
enum onAccount.company
,AccountCreateParams.company
,AccountUpdateParams.company
andTokenCreateParams.account.company
.
- Added support for
- #1212 API Updates
- Added support for
documents
onPersonUpdateParams
,PersonCollectionCreateParams
andTokenCreateParams.person
- Added support for
- #1211, #1205 API Updates
- Add support for the
Identity.VerificationSession
andIdentity.VerificationReport
APIs.
- Add support for the
- #1206 API Updates
- Add support for setting
AccountUpdateParams.business_profile.support_url
andAccountCreateParams.support_url
toEmptyParam
.
- Add support for setting
- #1204 API Updates
- Add support for
reference
onCharge.payment_method_details.afterpay_clearpay
- Add support for
afterpay_clearpay
onPaymentIntent.payment_method_options
- Add support for
- #1203 Fix flaky test: no telemetry by default in test suite
- #1202 API Updates
- Add support for
payment_intent
onEarlyFraudWarning
- Add support for
- #1201 API Updates
- Add support for
card_present
onPaymentIntent.payment_method_options
- Add support for
default_incomplete
as apayment_behavior
onSubscriptionItemCreateParams
,SubscriptionUpdateParams
, andSubscriptionCreateParams
. - Add support for
single_member_llc
as astructure
onAccountCreateParams.company
andAccountUpdateParams.company
.
- Add support for
- #1197 Fix GSON error in JDK16 (#1190) by marking RequestOptions transient
- #1195 Add support for ACSS Debit
- Add support for
acss_debit_payments
onAccount.capabilities
- Add support for
payment_method_options
onCheckout.Session
- Add support for
acss_debit
onSetupIntent.payment_method_options
,SetupAttempt.payment_method_details
,PaymentMethod
,PaymentIntent.payment_method_options
,PaymentIntentUpdateParams.payment_method_options
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_data
,Mandate.payment_method_details
andSetupIntent.payment_method_options
- Add support for
verify_with_microdeposits
onPaymentIntent.next_action
andSetupIntent.next_action
- Add support for
acss_debit
as member of thetype
enum onPaymentMethod
andPaymentIntent
, and insideCheckout.SessionCreateParams.payment_method_types[]
.
- Add support for
- #1194 API Updates
- Add support for
subscription_pause
onBillingPortal.ConfigurationUpdateParams.features
,BillingPortalCreateParams.features
andBillingPortal.Configuration.features
- Add support for
- #1193 API Updates
- Add support for
transfer_data
onCheckout.SessionCreateParams.subscription_data
- Add support for
- #1192 API Updates
- Add support for
card_issuing
onAccountCreateParams.settings
,AccountUpdateParams.settings
andAccount.settings
- Add support for
- #1191 API Updates
- Add support for new locale
th
onSessionCreateParams
.
- Add support for new locale
- #1189 API Updates
- Add support for
shipping_rates
onCheckout.SessionCreateParams
- Add support for
amount_shipping
onCheckout.Session.total_details
- Add support for
- #1187 API Updates
- Add support for Billing Portal Configuration API
- #1186 API Updates
- Add support for
on_behalf_of
toInvoice
- Add support
revolut
as an enum member onPaymentMethodCreateParams.Ideal.Bank
,PaymentIntentConfirmParams.Ideal.Bank
,PaymentIntentUpdateParams.Ideal.Bank
, andPaymentIntentCreateParams.Ideal.Bank
- Add support for
- #1185 API Updates
- Add support for
afterpay_clearpay
onPaymentMethod
,PaymentIntent.payment_method_data
, andCharge.payment_method_details
. - Add support for
afterpay_clearpay
as a payment method type onPaymentMethod.type
,PaymentIntent.PaymentMethodData.type
, andCheckout.SessionCreateParams.payment_method_types
. - Add support for
adjustable_quantity
onSessionCreateParams.LineItem
- Add support for
bacs_debit
,au_becs_debit
andsepa_debit
onSetupAttempt.payment_method_details
- Add support for
- #1180 Accept all InputStreams for FileCreateParams.setFile
- #1182 API Updates
- Add support for
afterpay_clearpay_payments
onAccount.capabilities
- Add support for
payment_settings
onInvoice
- Add support for
- #1179
- Add support for
nationality
onPerson
,PersonUpdateParams
,PersonCreateParams
andTokenCreateParams.person
- Add
gb_vat
toTaxId.type
enum
- Add support for
- #1173 Add link to YouTube from readme
- #1171 API Updates
- Add support for
dynamic_tax_rates
onSessionCreateParams.line_items[]
- Add support for
customer_details
onCheckout.Session
- Add support for
type
onTransactionListParams
- Add support for
country
andstate
onTaxRateUpdateParams
,TaxRateCreateParams
andTaxRate
- Add support for
- #1169 API Updates
- Add support for
company_registration_verification
,company_ministerial_decree
,company_memorandum_of_association
,company_license
andcompany_tax_id_verification
onAccountUpdateParams.documents
andAccountCreateParams.documents
- Add support for
- #1167 Adding getUserMessage() to exceptions
- #1165 API Updates
- Add support for card_present on SetupAttempt.payment_method_details
- #1162 Pass mutated copy of params into oauth request
- #1163 [codegen] Multiple API changes
- Add support for
bank
onPaymentMethod
- Add support for
tos_shown_and_accepted
topayment_method_options[p24]
onPaymentMethod
.
- Add support for
- #1161 Add support for
documents
onAccount
create and update
- #1159 Multiple API changes
- Add support for
account_tax_ids
onInvoice
- Add support for
payment_method_options[sepa_debit]
onPaymentIntent
- Add support for
- #1158 Better log the error causing the JSON parsing to fail on deserialization
- #1157 Add support for
capabilities[grabpay_payments]
onAccount
- #1156 Add support for
mandate_options
onSetupIntent.payment_method_options.sepa_debit
- #1154 Add support for
grabpay
onPaymentMethod
.
- #1152 Multiple API changes
- Add support for sepa_debit on SetupIntentCreateParams, SetupIntentUpdateParams, and SetupIntentConfirmParams.
- #1149 Add
invoice.finalization_error
as atype
onEvent
- #1148 Multiple API changes
- Add support for
last_finalization_error
onInvoice
- Add support for deserializing Issuing
Dispute
as asource
onBalanceTransaction
- Add support for
payment_method_type
onStripeError
used by other API resources
- Add support for
- #1147 Add support for
company[registration_number]
onAccount
- #1144 Add
payment_method_details[interac_present][preferred_locales]
onCharge
- #1143 Multiple API changes
- Add support for
payment_method_options[card][cvc_token]
onPaymentIntent
- Add support for
cvc_update[cvc]
onToken
creation
- Add support for
- #1142 Add support for passing
p24[bank]
for P24 onPaymentIntent
orPaymentMethod
- #1141 Support passing
tax_rates
when creating invoice items throughSubscription
orSubscriptionSchedule
- #1134 Upgrade Gradle to 6.7
- #1138 Bump ErrorProne to latest version
- #1139 Upgrade Lombok plugin
- #1137 Bump Spotless plugin version
- #1135 Fix deprecation warning in test file
- #1133 Add support for
jp_rn
andru_kpp
as atype
onTaxId
- #1130 Add support for
discounts
to SessionCreateParams
- #1129 Add support for the Payout Reverse API
- #1126 Add support for internal-only
description
,iin
, andissuer
forcard_present
andinterac_present
onCharge.payment_method_details
.
- Add support for
generated_sepa_debit
andgenerated_sepa_debit_mandate
onCharge.payment_method_details.ideal
,Charge.payment_method_details.bancontact
andCharge.payment_method_details.sofort
- Add support for
generated_from
onPaymentMethod.sepa_debit
- Add support for
ideal
,bancontact
andsofort
onSetupAttempt.payment_method_details
- #1120 Add support for
TosAcceptance.ServiceAgreement
onAccount
- #1119 Add support for new payments capabilities on
Account
- #1118 Add support for the
SetupAttempt
resource and List API
- #1117 Add support for
contribution
inreporting_category
onReportRun
- #1116 Add support for
oxxo_payments
capability onAccount
- #1113 Add support for
oxxo
as a validtype
on the List PaymentMethod API
- #1112 Add support for OXXO on
PaymentMethod
andPaymentIntent
- #1109 Multiple API changes
- Add support for
issuing_dispute.closed
andissuing_dispute.submitted
events - Add support for
instant_available
onBalance
- Add support for
- #1106 Multiple API changes
- Add support for
amount_captured
onCharge
- Add
checkout_session
onDiscount
- Add support for
- #1102 Add support for
promotion_code.created
andpromotion_code.updated
onEvent
- #1099 Add support for SEPA debit on Checkout
- #1098 Multiple API changes
- Add support for
sofort
as atype
on the List PaymentMethods API - Add back support for
invoice.payment_succeeded
- Add support for
- Increase
delayBetweenRetriesInMillis
deploy property from default of 2000 to 4000 to help mitigate close timeouts
- #1095 OAuth.deauthorize no longer mutates params
- #1096 Add support for Sofort on
PaymentMethod
andPaymentIntent
- #1092 Multiple API changes
- Improve support for the Issuing
Dispute
APIs. Added the Submit API, missing parameters on creation, update and list and returned evidence details - Add support for
dispute
on IssuingTransaction
- Add
available_payout_methods
onBankAccount
- Add
payment_status
on CheckoutSession
- Improve support for the Issuing
- #1089 Add support for
payment_method.automatically_updated
onWebhookEndpoint
- #1088 Multiple API changes
- Pin to API version
2020-08-27
- Removed
authenticated
andsucceeded
onpayment_method_details[card][three_d_secure]
onCharge
- Removed
tax_percent
andprorate
across all Billing APIs - Renamed
plans
toitems
onSubscriptionSchedule
- Removed
display_items
on CheckoutSession
- Removed
save_payment_method
andsource
onPaymentIntent
confirm, create and update. Those parameters still work in the API but are removed from the library - Removed
payment_method_details[bitcoin]
onCharge
- Removed
unified_proration
on Billing API as this is a deprecated feature that never shipped publicly - Removed
plan
andquantity
fromSubscription
, useitems
instead - Removed
requested_capabilities
onAccount
creation, usecapabilities
instead - Removed
failure_url
andsuccess_url
fromAccountLink
, userefresh_url
andreturn_url
instead - Removed
invoice.payment_succeeded
andpayment_method.card_automatically_updated
events sources
andtax_ids
onCustomer
are now includable sub-lists and not returned by default when retrieving a customer. You need to explicitly expand those properties to callgetTaxIds()
orgetSources()
now to create those sub-resources. Our API Reference has been updated to reflect this.
- Pin to API version
- #1087 Fix retrieval of upcoming Invoice line items
- #1085 Add support for
expires_at
onFile
- #1084 Add support for
amount_details
on IssuingAuthorization
andTransaction
- #1083 Multiple API changes
- Add
alipay
ontype
for the List PaymentMethods API - Add
payment_intent.requires_action
as a newtype
onEvent
- Add
- #1082 Add support for Alipay on Checkout
Session
- #1081 Add
payment_method_details[acss_debit][bank_name]
onCharge
- #1078 Add support for Alipay on
PaymentMethod
andPaymentIntent
- #1077 Multiple API changes
- Add support for the
PromotionCode
resource and APIs - Add support for
allow_promotion_codes
on CheckoutSession
- Add support for
applies_to[products]
onCoupon
- Add support for
promotion_code
onCustomer
andSubscription
- Add support for
promotion_code
onDiscount
- Add support for the
- #1076 Multiple API changes
- Add
zh-HK
andzh-TW
aslocale
on CheckoutSession
. - Add
payment_method_details[card_present][receipt][account_type]
onCharge
- Add
- #1065 Support setting "proxy" per-request
- #1072 Socket timeout exceptions are now also subject to retries
- #1070 Multiple API changes
- Add support for
id
,invoice
andinvoice_item
onDiscount
- Add support for
discount_amounts
onCreditNote
,CreditNoteLineItem
,InvoiceLineItem
- Add support for
discounts
onInvoiceItem
,InvoiceLineItem
andInvoice
- Add support for
total_discount_amounts
onInvoice
- Add support for
- #1068 Add
capabilities[fpx_payments]
onAccount
create and update
- #1067 Add support for
cartes_bancaires_payments
as aCapability
- #1066 Add support for
capabilities
as a parameter onAccount
create and update
- #1062 Add support for
political_exposure
onPerson
- #1061 Multiple API changes
- Add
deleted
onLineItem
- Add support for
account_onboarding
andaccount_update
astype
onAccountLink
- Add
- #1058 Add support for
en-GB
,fr-CA
andid
aslocale
on CheckoutSession
- #1057 Add support for
amount_total
,amount_subtotal
,currency
andtotal_details
on CheckoutSession
- #1055 Multiple API changes
- Adds
es-419
as alocale
to CheckoutSession
- Adds
billing_cycle_anchor
todefault_settings
andphases
forSubscriptionSchedule
- Adds
- #1052 Add support for
invoice.paid
event
- #1049 Add support for
payment_method_data
onPaymentIntent
- #1048 Multiple API changes
- Add
discounts
onLineItem
- Add
document_provider_identity_document
as apurpose
onFile
- Support nullable
metadata
on IssuingDispute
- Add
klarna[shipping_delay]
onSource
- Add
- #1047 Multiple API changes
- Add support for
refresh_url
andreturn_url
onAccountLink
- Add support for
issuing_dispute.*
events
- Add support for
- #1044 Multiple API changes
- Add
transaction
on IssuingDispute
- Add
payment_method_details[acss_debit][mandate]
onCharge
- Add
- #1043 Add support for Cartes Bancaires payments on
PaymentIntent
and `Pay…
- #1042 Add support for
id_npwp
andmy_frp
astype
onTaxId
- #1041 Add support for
payment_intent_data[transfer_group]
on CheckoutSession
- #1040 Add support for Bancontact, EPS, Giropay and P24 on Checkout
Session
- #1039 Multiple API changes
- Add
bacs_debit_payments
as aCapability
- Add support for BACS Debit on Checkout
Session
- Add support for
checkout.session.async_payment_failed
andcheckout.session.async_payment_succeeded
astype
onEvent
- Add
- #1038 Multiple API changes
- Add support for bg, cs, el, et, hu, lt, lv, mt, ro, ru, sk, sl and tr as new locale on Checkout
Session
- Add
settings[sepa_debit_payments][creditor_id]
onAccount
- Add support for Bancontact, EPS, Giropay and P24 on
PaymentMethod
,PaymentIntent
andSetupIntent
- Add support for
order_item[parent]
onSource
for Klarna
- Add support for bg, cs, el, et, hu, lt, lv, mt, ro, ru, sk, sl and tr as new locale on Checkout
- #1036 Add support for BACS Debit as a
PaymentMethod
- #1035 Multiple API changes
- Add
payment_method_details[card][three_d_secure][authentication_flow]
onCharge
- Add
line_items[][price_data][product_data]
on CheckoutSession
creation
- Add
- #1034 Multiple API changes
- Add support for
ae_trn
,cl_tin
andsa_vat
astype
onTaxId
- Add
result
andresult_reason
insidepayment_method_details[card][three_d_secure]
onCharge
- Add support for
- #1033 Multiple API changes
- Add
anticipation_repayment
as atype
onBalanceTransaction
- Add
interac_present
as atype
onPaymentMethod
- Add
payment_method_details[interac_present]
onCharge
- Add
transfer_data
onSubscriptionSchedule
- Add
- #1032 Multiple API changes
- Add support for
issuing_dispute
as atype
onBalanceTransaction
- Add
balance_transactions
as an array ofBalanceTransaction
on IssuingDispute
- Add
fingerprint
andtransaction_id
inpayment_method_details[alipay]
onCharge
- Add
transfer_data[amount]
onInvoice
- Add
transfer_data[amount_percent]
onSubscription
- Add
price.created
,price.deleted
andprice.updated
onEvent
.
- Add support for
- #1030 Add support for
purchase_details
on IssuingTransaction
- #1028 Add support for the
LineItem
resource and APIs
- #1025 Multiple API changes
- Remove parameters in
price_data[recurring]
across APIs as they were never supported - Move
payment_method_details[card][three_d_secure]
to a list of enum values onCharge
- Add support for for
business_profile[support_address]
onAccount
create and update
- Remove parameters in
- #1022 Add support for
issuing
onBalance
- #1020 Add support for
br_cpf
andbr_cnpj
astype
onTaxId
- #1019 Add support for the
Price
resource and APIs
- #1016 Add support for
jcb_payments
as aCapability
- #1015 Add support for
coupon
for subscriptions on Checkout
- #1014 Add support for
billingportal
namespace andSession
resource and APIs
- #1013 Multiple API changes
- Add support for
cardholder_name
inpayment_method_details[card_present]
onCharge
- Add new enum values for
company[structure]
onAccount
- Add support for
- #1010 Multiple API changes
- Add
institution_number
andtransit_number
inpayment_method_details[acss]
onCharge
- Add
cvc
andnumber
as properties that can be included when retrieving an IssuingCard
- Add
- #1009 Multiple breaking API changes while removing deprecated Issuing features:
- Moved
SettingsBranding
onAccount
is nowBranding
inside theSettings
onAccount
- Removed
percentage
filter from the ListTaxRate
API - Remove
country
androuting_number
frompayment_method_details.acss_debit
onCharge
as this is going to be reworked - Moved
transfer_data
onSubscription
to its own class separate from the one onInvoice
- Removing all deprecated features on Issuing:
- Remove
renewal_interval
onSubscriptionSchedule
which was deprecated - Remove
email
onToken
as this was only supported for an internal product - Removed deprecated properties and parameters on Issuing
Authorization
that have been renamed or replaced:authorized_amount
,authorized_currency
,held_amount
,held_currency
,is_held_amount_controllable
,pending_authorized_amount
,pending_held_amount
,wallet_provider
- Removed
url
insidemerchant_data
- Removed
address_zip_check
,authentication
andthree_d_secure
insideverification_data
- Removed
authorized_amount
,authorized_currency
,held_amount
,held_currency
,violated_authorization_controls
frompending_request
- Removed deprecated properties and parameters on Issuing
Card
:- Removed
authorization_controls
,name
,pin
andspeed
- Renamed the inner class from
AuthorizationControls
toSpendingControls
- Moved
SpendingLimit
as an inner class insideSpendingControls
. - Moved
MerchantData
from being its own class to being an inner class insideAuthorization
- Removed the
details()
API method
- Removed
- Removed
CardDetails
API resource - Removed deprecated properties and parameters on Issuing
Cardholder
:- Removed
authorization_controls
,is_default
- Removed
name
insidebilling
- Renamed the inner class from
AuthorizationControls
toSpendingControls
- Moved
MerchantData
from being its own class to being an inner class insideAuthorization
- Moved
SpendingLimit
as an inner class insideSpendingControls
- Removed the
details()
API method
- Removed
- Clean up the
Dispute
resource and APIs to remove most features as this is still in beta and not yet stable - Removed
issuing_dispute.*
andissuing_settlement.*
events as those are not public yet - Removed deprecated properties and parameters on Issuing
Transaction
:- Removed
dispute
- Reference
merchant_data
from the inner class inAuthorization
- Removed enum values for
type
to only havecapture
andrefund
- Removed
- Remove
- Moved
- #1006 Add support for
settings[branding][secondary_color]
onAccount
- #1003 Add support for
description
onWebhookEndpoint
- #1002 Multiple API changes
- Make
payment_intent
expandable onCharge
- Add support for
sg_gst
as a value fortype
onTaxId
and related APIs - Add
cancellation_reason
and new enum values forreplacement_reason
on IssuingCard
- Make
- #998 Add support for
calculatedStatementDescriptor
onCharge
- #994 Add support for
spending_controls
on IssuingCard
andCardholder
- #993 Multiple API changes
- Add support for
pt-BR
as alocale
on CheckoutSession
- Add support for
company
as atype
on IssuingCardholder
- Add support for
- #992 Add support for
pause_collection
onSubscription
- #991 Add support for capabilities for AU Becs Debit and Tax reporting
- #989 Multiple API changes for Issuing:
- Add
amount
,currency
,merchant_amount
andmerchant_currency
onAuthorization
- Add
amount
,currency
,merchant_amount
andmerchant_currency
insiderequest_history
onAuthorization
- Add
pending_request
onAuthorization
- Add
amount
when approving anAuthorization
- Add
replaced_by
onCard
.
- Add
- #986 Multiple API changes for Issuing:
- Rename
speed
toservice
on IssuingCard
- Rename
wallet_provider
towallet
andaddress_zip_check
toaddress_postal_code_check
on IssuingAuthorization
- Mark
is_default
as deprecated on IssuingCardholder
- Rename
- #985 Add support for
shipping
andshipping_address_collection
on CheckoutSession
- #984 Add support for
ThreeDSecure
on IssuingAuthorization
- #981 Make metadata nullable in many methods
- #980 Add support for
metadata
onWebhookEndpoint
- #979 Multiple API changes
- Add support for
account
as a parameter onToken
to create Account tokens - Add support for
verification_data.expiry_check
on IssuingAuthorization
- Add support for
incorrect_cvc
andincorrect_expiry
as a value forrequest_history.reason
on IssuingAuthorization
- Add support for
- #978 Multiple API changes
- Add support for
errors
inrequirements
onAccount
,Capability
andPerson
- Add support for
payment_intent.processing
as a newtype
onEvent
.
- Add support for
- #977 Multiple API changes:
- Pin to API version
2020-03-02
- Remove
uob_regional
as a value onbank
for FPX as this is deprecated and was never used - Add support for
next_invoice_sequence
onCustomer
- Add support for
proration_behavior
onSubscriptionItem
delete
- Pin to API version
- #976 Add
my_sst
as a valid value fortype
onTaxId
- #975 Make
type
onAccountLink
an enum
- #974 Add new enum values in
reason
for IssuingDispute
creation
- #973 Add support for listing Checkout
Session
and passing tax rate information
- #970 Multiple API changes
- Add support for
timezone
onReportRun
- Add support for
proration_behavior
onSubscriptionSchedule
- Add support for
- #968 Add support for
payment_intent_data[transfer_data][amount]
on CheckoutSession
- #967 Multiple API changes
- Add
fpx
as a validsource_type
onBalance
,Payout
andTransfer
- Add
fpx
support on CheckoutSession
- Fields inside
verification_data
on IssuingAuthorization
are now enums - Support updating
payment_method_options
onPaymentIntent
andSetupIntent
- Add
- #964 Convert Markdown to HTML in Javadoc
- #965 Add Gradle plugin for publishing JavaDoc to GitHub Pages
- #963 Multiple API changes
- Add support for new
type
values forTaxId
. - Add support for
payment_intent_data[statement_descriptor_suffix]
on CheckoutSession
.
- Add support for new
- #961 Rename
sort_code
tosender_sort_code
onSourceTransaction
for BACS debit. (This is technically a breaking change.)
- #960 Add support for
error_on_requires_action
onPaymentIntent
- #957 Add additional verification file purpose
- #959 Add support for
company.structure
onAccount
and new types ofTaxId
- #955 Add support for FPX as a
PaymentMethod
- #953 Add new type for
TaxId
andsender_account_name
onSourceTransaction
- #949 Move examples to Customer instead of Charge
- #948 Add support for
shipping.speed
on IssuingCard
and newTaxID
types
- #947 Changes for custom HTTP clients
- #944 Improve docstrings for many properties and parameters
- #869 Major version release. Refer to our migration guide for v17 for a list of new features and backwards incompatible changes to watch out for.
Pull requests included in this release (cf. #869) (
- #857 Refactor form encoding
- #870
⚠️ Refactor request telemetry - #872 Move HTTP request methods into new
HttpClient
class - #878 Add
StripeRequest
object - #879 Add
HttpClient
abstract class - #880
⚠️ Stop disabling the DNS cache - #895 Fix deprecation warnings
- #896 Add
HttpContent
class - #897 Add
Stopwatch
class - #898 Move all request properties in
StripeRequest
- #899
⚠️ RemoveApiResource.RequestType
- #900 Add support for automatic request retries
- #902 Minor fixes
- #928
StringUtils
class & better API key validation - #927
⚠️ Remove support for customURLStreamHandler
- #931
⚠️ Refactor HTTP headers handling - #932
⚠️ ModernizeStripeResponse
- #934 Add
maxNetworkRetries
as a global and per-request setting - #935
⚠️ AddStreamUtils
class - #936
⚠️ Remove support forcount
andtotal_count
in list objects - #938
⚠️ Remove deprecated properties and parameters - #939 Update README
- #937 Adding missing events for pending updates on
Subscription
- #929 Add support for
CreditNoteLineItem
- #924 Doc changes for core properties or parameters such as
metadata
orlivemode
- #922 Codegen for openapi c896d1f
- Add support for custom properties on
Source.detach
method - Add support for property expansion in
Subscription.cancel
method. - Add support for
sg_uen
onTaxId
- Add support for custom properties on
- #921 Add
executives_provided
onAccount
- #918 Multiple API changes
- Adds
livemode
andmetadata
to TerminalReader
andLocation
- Adds
ms
as a valid locale on CheckoutSession
- Adds
- #912 Add support for
network
onCharge
andfunding_method
onSourceTransaction
- #910 Use global timeouts in RequestOptions
- #911 Multiple API changes
- Pin to API version
2019-12-03
- Remove
tax_info
andtax_info_verification
onCustomer
- Remove
cardholder
on IssuingCard
update - Remove
invoice_customer_balance_settings
fromSubscription
- Pin to API version
- #908 Add support for Preview endpoint on CreditNote
- #907 Add support for
out_of_band_amount
onCreditNote
creation
- #905 Add support for
payment_intent
filter when listingDispute
s.
- #904 Add support for
violated_authorization_controls
on IssuingAuthorization
- #903 Serialize null values in all maps
- #901 Minor code quality fixes
- #894 Upgrade Gradle and other dependencies
- #890 Multiple API changes
- Add
company
andindividual
to IssuingCardholder
- Add
sepa_debit
toPaymentMethodUpdateParams
- Add
- #891 Replace Cobertura with JaCoCo
- #889 Multiple API changes:
- Add
disputed
onCharge
. - Add
payment_intent
onDispute
andRefund
. - Add
payment_intent
when creating aRefund
. - Add
payment_intent
filter when listingRefund
andDispute
.
- Add
- #888 Add support for SEPA and iDEAL on
PaymentMethod
andMandate
- #886 Move to the latest API version and add new changes
- Move to API version
2019-11-05
- Add
default_settings
onSubscritionSchedule
- Remove
billing_thresholds
,collection_method
,default_payment_method
,default_source
andinvoice_settings
from `SubscriptionSchedule - Add
charge
filter when listingDispute
- Move to API version
- #881 Add support for
use_stripe_sdk
onPaymentIntent
creation and confirmation
- #877 Fix docstring for a parameter to reflect the correct behaviour
- #876 Add support for
invoice_customer_balance_settings
onInvoice
- #873 Suppress unchecked cast warnings in test
- #871 Codegen for openapi d8f9ddf
- Remove
max_amount
from IssuingCard
. This is technically a breaking change but only one integration was using this feature which changed a while ago
- Remove
- #866 Various API changes
- Add support for
mx_rfc
onTaxId
- Add support for
pending_invoice_item_interval
onSubscription
creation and update - Add support for
next_pending_invoice_item_invoice
on `Subscription - Add support for
installments
which is a feature onPaymentIntent
andPaymentMethod
available on MX Stripe accounts. It's also added insidepayment_method_details[card]
onCharge
- Add support for
next_pending_invoice_item_invoice
as a newCapability
- Add support for
- #864
- Remove
renewal_behavior
on Subscription Schedule model class - Remove
renewal_interval
on Subscription Schedule parameter classes - The above are technically breaking changes and should have been released with 14.0.0.
- Remove
- #863 Upgrade to new API version
2019-10-17
- Pin to API version
2019-10-17
- Remove
account_balance
from Customer model and parameter classes - Remove
billing
from Invoice, Subscription and Subscription Schedule model and parameter classes - Remove
start
from Subscription model - Remove
renewal_behavior
from Subscription Schedule parameter classes - Note: This release was missing some breaking changes. Please use 14.0.1 instead.
- Pin to API version
- #862 [codegen] Update API Resources
requirements
on IssuingCardholder
payment_method_details[au_becs_debit][mandate]
onCharge
- new types of tax id for Customer
TaxId
. payment_behavior
onSubscription
creation can now take the valuepending_if_incomplete
.payment_behavior
onSubscriptionItem
creation and update is now supported.subscription_data[trial_from_plan]
is now supported on CheckoutSession
creation.
- #858 Stop propagating UnsupportedEncodingException
- #861 Add getters to parameters classes
- #854
- Add support for
description
,iin
andissuer
onSource.Card
,Source.CardPresent
andSource.ThreeDSecure
- Add support for
deviceType
onReaderListParams
- Add support for
- #853 Upgrade to new API version
2019-10-08
- #852 Setters for string properties in update params now all accept
EmptyParam
- #835 Bump dependencies
- #851 Update
README.md
- #850 Codegen for openapi 4d4a107
- Add support for
mandate
onCharge
. - Add support for
reference
onSourceTransaction
. - Add support for
person
onTokenCreateParams
. - Add support for new event types
payment_intent.canceled
andsetup_intent.canceled
- Add support for
metadata
onAuthorizationApproveParams
andAuthorizationDeclineParams
- Add
setMetadata
method onAuthorizationUpdateParams
- Rename
chidrens_and_infants_wear_stores
tochildrens_and_infants_wear_stores
. This is technically a breaking change, but we've chosen to release this as a minor version as the previous name was virtually unused.
- Add support for
- #849 Add add/addAll support for "emptyable" params
- Add
addAttribute
andaddAllAttribute
methods toProductUpdateParams
- Add
addCustomField
andaddAllCustomField
methods toCustomerCreateParams
,CustomerUpdateParams
,InvoiceCreateParams
andInvoiceUpdateParams
- Add
addDefaultTaxRate
andaddAllDefaultTaxRate
methods toInvoiceUpdateParams
,SubscriptionCreateParams
,SubscriptionScheduleCreateParams
,SubscriptionScheduleUpdateParams
andSubscriptionUpdateParams
- Add
addImage
andaddAllImage
methods toProductUpdateParams
- Add
addItem
andaddAllItem
methods toOrderReturnOrderParams
- Add
addSubscriptionDefaultTaxRate
andaddAllSubscriptionDefaultTaxRate
methods toInvoiceUpcomingParams
- Add
addTaxRate
andaddAllTaxRate
methods toInvoiceItemUpdateParams
,InvoiceUpcomingParams
,SubscriptionCreateParams
,SubscriptionItemCreateParams
,SubscriptionItemUpdateParams
,SubscriptionScheduleCreateParams
,SubscriptionScheduleUpdateParams
andSubscriptionUpdateParams
- Add
- #844 Update to API version 2019-09-09
- #842
- Add support for
company[verification]
onAccount
- Add support for
verification[additional_document]
onPerson
- Add support for
- #839 Deprecate
total_count
- #838 Support
authentication
on IssuingAuthorization
andurl
onMerchantData
- #834 Make
stripeError
transient onStripeException
- #833 Add support for
endBehavior
onSubscriptionSchedule
- #830 Add support for
pendingVerification
onAccount
,Person
andCapability
- #829
- Release support for decimal values on Billing resources such as
Plan
orInvoiceItem
- Release support for decimal values on Billing resources such as
- #828
- Add support for
schedule
onSubscription
- Add support for
defaultPaymentMethod
,invoiceSettings
,collectionMethod
andbillingThresholds
toSubscriptionSchedule
and its update and create APIs - Add support for
mode
andsetupIntent
on CheckoutSession
and its create API - Add support for
schedule
andsubscriptionCancelAt
to theInvoice
Upcoming API - Add support for new event types
subscription_schedule.*
- Add support for
- #826 Add support for
executive
onPerson
create, update and list
- #825 Move to API version
2019-08-14
- Rename
platform_payments
totransfers
inAccount
- Introduce
executive
as a relationship onPerson
- Rename
- #824
- Add support for
au_becs_debit
sources - Add support for
mandate
parameter in source creation and update requests - Add support for
amount
in source update requests - Add support for
pin
attribute onissuing.card
objects - Add support for
digital_goods_applications
category for Issuing
- Add support for
- #820
- Add support for unsetting
receipt_email
onPaymentIntent
- Remove support for
SubscriptionScheduleRevision
. This is technicall a breaking change, but we've chosen to release this as a minor version as this resource and its APIs were virtually unused.
- Add support for unsetting
- #819
- Add support for
payment_method_details[card][moto]
onCharge
- Add support for
statement_descriptor_suffix
onCharge
andPaymentIntent
- Add support
subscription_data[application_fee_percent]
on CheckoutSession
- Rename
uk_credit_transfer
togbp_credit_transfer
on Source. This is technically a breaking change, but we've chosen to release this as a minor version as the previous name was virtually unused.
- Add support for
- #818 Set default timeouts in
RequestOptionsBuilder
- #812 Fix potential
NullPointerException
when callinggetRawJsonObject()
- #809
- Add support for
statement_descriptor
onPaymentIntent
capture - Add support for unsetting
setup_future_usage
onPaymentIntent
- Add support for
- #808
- Add
off_session
toSubscriptionItem
update - Add
customer
when listingCreditNote
- Remove
challenge_only
enum value. This is technically a breaking change, but we've chosen to release this as a minor version in light of the fact that this value was virtually unused.
- Add
- #806 Add support for
voided_at
onCreditNote
- #802 Add support for
payment_method_options
onPaymentIntent
andSetupIntent
- #801
- Add support for
pending_setup_intent
on Subscription - Add support for
off_session
on Subscription creation and update and Invoice pay
- Add support for
- #800
- Add support for Sources of type
klarna
- Add support for
payment_behavior
on Subscription and SubscriptionItem to control their behaviour on creation or update.
- Add support for Sources of type
- #799 Add
getRawJsonObject()
accessor
- #798
- Add support for
transfer_data[amount]
on PaymentIntent - Add support for passing
setup_future_usage
on PaymentIntent Update and Confirm APIs - Add support for
confirm
andreturn_url
on SetupIntent creation - Add support for
setup_future_usage
on Checkout Session creation - Add support for
subscription_start_date
on the Upcoming Invoice API
- Add support for
- #796
- Add support for the
SetupIntent
resource and APIs - Add support for
PlatformTaxFee
resource - Add
unified_proration
onInvoiceItem
andInvoiceLineItem
- Add
default_payment_method
anddefault_source
toSubscriptionSchedule
- Add support for the
- #792 Enable request latency telemetry by default
- #794
- Add
collection_method
toInvoice
,Subscription
andSubscriptionSchedule
- Add
unified_propration
toInvoiceLineItem
- Support unsetting
dob
on anAccount
- Removed
native_url
from WeChatSource
. While technically breaking, this field has never been used
- Add
- #789
- Add support for SEPA Credit Transfer sources
- Add support for
CustomerBalanceTransaction
resource and APIs - Add
balance
property onCustomer
- Add
submitType
property oncheckout.Session
- Add
merchantAmount
andmerchantCurrency
properties onissuing.Transaction
- Add
location
property onterminal.ConnectionToken
- #784 Make headers access case insensitive
- #783 Fix url-encoding for string id to throw exception on passing null
- #781 Pin library to API version
2019-05-16
- #780
- Add support for new
radar.early_fraud_warning
resource and methods - Add new in_gst and no_vat tax ID types
- Add
spending_limits_currency
attribute and parameter in Issuing resources
- Add support for new
- #777
- Add support for
Capability
- Add enum
off_session
forPaymentIntentConfirmParams
andPaymentIntentCreateParams
- Add enum
abandoned
forPaymentIntentCancellationParams
. - Add support for
statementDescriptorKana
andstatementDescriptorKanji
inAccount.SettingsPayments
- Add support for
- #776
- Add support for
startDate
inSubscription
- Removed one unsupported enum on
PaymentIntentCancelParams
- Add support for
- #773
- Add support for
extraParams
in all sub-classes of ApiRequestParams their nested classes - Add support for webhook event
payment_method.updated
- Add support for
payment_intent
filter when listingCharge
- Add support for
legacy_payments
enumRequestedCapability
inAccountCreateParams
andAccountUpdateParams
- Add support for
- #768
- Add support for
customer
filter when listingPaymentIntent
- Add support for
replacement_for
andreplacement_reason
on Issuingcard
creation
- Add support for
- #766 Add support for ACSS debit Sources
- #761 Add support for
TaxRate
resource and APIs
- #756 Fix form-encoding to support
Collection
in untyped params as array. Previously onlyList
is form-encoded as array. - #755 Add support for
CARD_ISSUING
enum inRequestedCapability
for Account create/update params.
- #750 Add support for the
TaxId
resource and APIs
- #748
- Add support for
address
,name
,phone
andpreferredLocales
onCustomer
- Add support for the
CreditNote
resource and APIs - Add support for account and customer related fields on the
Invoice
resource
- Add support for
- #745 Add support for the Checkout
Session
resource and APIs
- #744
- Make
paymentIntent
onInvoice
expandable instead of full-model - Add support for issuing
SpendingLimit
inCard
andCardHolder
- Add support for fields in
PaymentMethodDetails.Card.ThreeDSecure
- Make
- #737 Fix issue #736 on un-encoded ID in url path
- #739 Add support for
ConfirmationMethod
inPaymentIntentCreateParams
,AuthorizationControls
in cardholders mode/params - #735 Fix encoding of nested parameters in multipart requests
- #734 Upgrade Gradle to 5.3.1
- #700 Major version release. Refer to our migration guide for v9 for a list of backward incompatible changes to watch out for. Pull requests included in this release:
- #698 Drop support for Java 1.7
- #723 Use
Optional
for unsafe event data object deserialization - #705 Add support for typed parameters, change deserialization of array in
Event#previousAttributes
fromObject[]
toList<Object>
- #729 Add missing Javadoc for non-autogenerated classes (
EphemeralKey
,Event
andFile
) - #730 Add support for typed parameters for non-autogenerated classes (
EphemeralKey
,Event
andFile
) - #702 Dev dependency version upgrades
- #706 Dev dependency version upgrades (Junit 5)
- #728 Dev dependency version upgrades
- #713 Use ErrorProne in builds
- #710 Add support for
PaymentMethod.BillingDetails
onCharge
. - #708 Fix issues reported by
ErrorProne
Nothing major or user visible.
- #704 Fix test compiler error by removing an accidental line
- #701 Fix java doc on deprecated
EventData#getObject
andEvent#getDataObjectDeserializer
- #662 Major version release. Supports a pinned API version 2019-03-14. Refer to our migration guide for v8 for API upgrade guide and lists of backwards incompatible changes to watch out for.
- Identical to 7.29.0
- Published in error. Do not use. This is identical to 20.27.0.
- #695 Add support for
payment_intent
onCharge
.
- #688 Add support for the
PaymentMethod
resource and APIs - #691 Add support for deleting a Terminal
Location
andReader
- #689 Add support for
columns
onReportRun
anddefault_columns
onReportType
.
- #686 Add support for
cancel_at
onSubscription
.
- #684 Add support for
latest_invoice
onSubscription
. - #685 Add
api_version
to theWebhookEndpoint
resource.
- #681 Add support for
status_transitions
and markeddate
as deprecated onInvoice
.
- #660 Add support for API version
2019-02-19
and related changes toAccount
andPerson
.
- #678 Add
StripeException.getStripeError()
andOAuthException.getOauthError()
accessors
- #648 Add support for
transfer_data[destination]
onInvoice
andSubscription
.
- #670 Add support for API version
2019-02-11
with changes to Payment IntentsPaymentIntentSourceAction
,PaymentIntentSourceActionValueAuthorizeWithUrl
andnext_source_action
are now depreacated. UsePaymentIntent.NextAction
,PaymentIntent.NextActionRedirectToUrl
andnext_action
instead.allowed_source_types
is now depreacated. Usepayment_method_types
instead.
- #673 Add support for
SubscriptionSchedule
andSubscriptionScheduleRevision
. Also add support forinvoice_settings
onCustomer
. - #675 The
customer
property is now expandable onInvoice
. - #677 Add support for
transfer_data[amount]
onCharge
.
- #661 Add configurable telemetry to gather information on client-side request latency
- #649 Add support for
destination_payment_refund
andsource_refund
on theReversal
resource.
- #656 Added
receipt_url
property toCharge
.
- #652 Add support for expandable
transfer_data[destination]
onCharge
andPaymentIntent
.
- #632 Add support for
transfer_data
andapplication_fee_amount
onCharge
andtransfer_data[destination] on
PaymentIntent`. - #647 Add support for deserializing
IssuerFraudRecord
in events.
- #626 Add support for the
AccountLink
APIs.
- #634 Add support for
wallet_provider
onIssuing.Authorization
.
- #629 Add support for
actionable
andhas_liability_shift
onIssuerFraudRecord
- #614 Add support for
ValueList
andValueListItem
for Radar
- #616 Add missing properties to a few resources:
- Add
default_source
toInvoice
andSubscription
- Add
livemode
to Subscription - Add
metadata
andsubscription
toSubscriptionItem
- Add
- #615 Add
last_payment_error
toPaymentIntent
.
- #613 Throw
ApiException
on malformed JSON responses- Previously, the library would throw
com.google.gson.JsonSyntaxException
in this case. We've chosen to release this as a minor update because we assume that most users are already catching Stripe exceptions.
- Previously, the library would throw
- #604 Add new API endpoints for the
Invoice
resource.
- #609 Support new shape of the
PaymentIntent
resource.
- #610 Add
flatAmount
toPlan.Tier
- #611 Add
supportedTransferCountries
toCountrySpec
- #611 Add
supportAddress
toAccount
- #602 Adds support for
partnerId
insetAppInfo()
Major version release. Refer to our migration guide for v7 for a list of backwards incompatible changes to watch out for.
Pull requests included in this release:
- #598 Compatibility with latest API version
- #593 Replace
FileUpload
class withFile
class - #592 Support for terminal endpoints
- #586 Add
invoicePrefix
toCustomer
- #584 Add support for reporting resources
- #583 Add
exchangeRate
toBalanceTransaction
- #580 Add missing attributes to
Account
andLegalEntity
- #581 Add
Topup.cancel()
overload with no arguments
- #577 Update
Customer
andPlan
models for API version 2018-08-23 - #579 Add
authorizationCode
toCharge
- #575 Remove support for
BitcoinReceiver
write-actions
- #576 Add support for usage record summaries
- #574 Add
unitLabel
toProduct
- #572 Serialize all arrays/lists with integer-indexed encoding
- #567 Use delomboked sources when creating sources JAR
- #565 Add a
retrieve()
method that accepts parameters (e.g. for expansion) to all resource classes - #566 Add
object
attribute and accessors toStripeCollection
- #561 Add
created
toAccount
Major version release. Refer to our migration guide for v6 for a list of backwards incompatible changes to watch out for.
Pull requests included in this release:
- #532 Remove deprecated methods
- #534 Only capitalize the first letter of acronyms per Google's style rules
- #535 Change signatures to throw StripeException
- #538 Change all integer types to
Long
and all floating point types toDouble
- #540 Add support for idempotency errors
- #541 Minor fixes
- #547 Move nested objects into inner static classes
- #553 Remove
Deleted*
models and adddeleted
attribute instead - #558 Use
BigDecimal
for floating point values
- #560 Add support for scheduled query runs (
com.stripe.model.sigma.ScheduledQueryRun
) for Sigma
- #551 Add
autoAdvance
property toInvoice
- #552 Rename
ApplicationFee
toApplicationFeeAmount
onPaymentIntent
- #548 Add
subscriptionItem
property toInvoiceItem
andInvoiceLineItem
- #544 Add support for streams when uploading files
- #546 Add
setClientId()
toRequestOptionsBuilder
- #543 Add support for payment intents
- #542 Fix
account.application.*
event data deserialization issue
- #539 Add
customerReference
andshippingFromZip
properties onChargeLevel3
model
- #537 Add
level3
property onCharge
model
- #529 Annotate a lot of methods as deprecated and flagged for removal in the next major release
- #528 Add
name
toCoupon
model
- #522 Add
amountPaid
,amountRemaining
andbillingReason
toInvoice
model
- #521 Add
documentBack
property toLegalEntity
model
- #515 Add
hosted_invoice_url
andinvoice_pdf
properties toInvoice
model
- #516 Add
active
property toPlan
model
- #513 Add
on_behalf_of
property onCharge
model - #512 Fix
update()
methods forFeeRefund
andReversal
- #302 The library now uses Project Lombok. All API resource classes now have
equals
andhashCode
methods.
- #505 Add support for issuer fraud records
- #498 Fix two bugs found by Error Prone
- #462 Add support for flexible billing primitives
- #469 Add support for expanding
product
attribute onPlan
model
- #459 Add support for passing parameters to
autoPagingIterable()
- #466 Fix serialization of null expandable attributes
- #464 Add OSGi headers to manifest file
- #458 Remove deprecation markers from
sourceTransaction
accessors onTransfer
model
- #457 Add title, version and vendor in JAR manifest file
- #455 Add support for
code
attribute on all Stripe exceptions
- #453 Add support for topups
- #446 Add support for deserializing
source_mandate_notification
objects
- #449 Add
Stripe.setAppInfo()
for passing custom application information in headers
- #447 Update
Plan
,Product
andSubscription
models for latest API version
- #439 Upgrade GSON dependency to 2.8.2
- #438 Add support for passing parameters to
SubscriptionItem.delete()
- #436 Fix bug where
options
were not being plumbed through in an account delete method - #436 Add the proper set of overloads for account reject method
- #432 Make charge on
Dispute
expandable
- #423 Fix JSON encoding for expandable fields by adding customer encoder
- #419 Support for exchange rate APIs
- #418 Move build and release system from Maven to Gradle
- #417 Support for listing source transactions
- #410 Rename "verification" to "code verification" for sources (should have been unused up to this point)
- #412 Add support for detaching sources from customers
- Note that some minor versions (5.11 through 5.20) were accidentally skipped for this release. I'm leaving as is to minimize churn, but please don't be alarmed!
- Add
failure_reason
field to the source redirect flow model
- No longer clobber global value of DNS cache TTL if it has not been set
- Support Java 9 (just involves upgrading a few Maven plugins)
- Add support for all OAuth actions
- Force UTF-8 encoding for webhook signature verification
- Use standard library comparison for webhook signature verification
pay
on invoice can now take parameters
- Add support for alternate statement descriptors on charge
- Add support for ephemeral keys
- Add missing expandable fields on every model
- Support for expandable sources in balance transactions
- Add
account
field to the event model
- Clarify tolerance parameter for webhook signatures is in seconds
- Support expanded request in
Event
model (now with idempotency key)
- This release should have been 5.0.0, see notes for that
- This release should have been 5.0.0, see notes for that
- Add support for account login links
- Add
three_d_secure
accessors toCard
model
- Support for checking webhook signatures
- Make connect and read timeouts configurable (see README for details)
- Add payout properties to
Account
model
- Add support for
available_payout_methods
toCard
model
- Add support for payouts; see: https://stripe.com/docs/upgrades#2017-04-06
- Make
rule
underChargeOutcome
expandable
- Dispute on charge becomes expandable field (not expanded by default)
- Charge on order becomes expandable field (not expanded by default)
- Customer on order becomes expandable field (not expanded by default)
- Add missing fields on order:
amountReturned
,returns
, andupstreamId
- Fix type of
OrderReturnCollection
(now actually an order return)
- Add new parameters for invoices and subscriptions
- Add missing API resources to object deserializer
- This release was inadvertently empty. See 3.10.2 for changes.
- Deprecated sourced transfers under balance transactions
- Add variant of account
delete
that doesn't require parameters
- Add
ChargeOutcomeRule
toChargeOutcome
- Add
getObject
/setObject
to a number of models where it was missing - Add
toJson
method toStripeObject
- Add non-public
network_reason_code
toDispute
model
- Add expandable Charge to Invoice
- Add retrieve method for 3-D Secure resources
- Add
risk_level
attribute toChargeOutcome
model
- Support for 403 status codes (permission denied)
- Change representations of money (e.g. "amounts" or "balances") from
Integer
toLong
- Fix NullPointerException in SourceDeserializer for bitcoin receivers, and refactor tests.
- Fix bug where the Transfer transactions method wasn't using requestCollection
- Add support for Apple Pay domains
- Add
description
,iin
, andissuer
attributes toCard
model
- Add
Source
model (prototype)
- Add
ThreeDSecure
model for 3-D secure payments
- Fix serialization of
businessURL
andsupportURL
inAccount
model
- Add support for returning Relay orders
- Give all collection classes access to auto-paginating helpers that work beyond first page
- Add
retrieve
,update
,create
,all
, anddelete
methods to the Subscription class
- Add many missing fields to many models (see #285 for details)
- Add source types to
Money
model under theBalance
model
- Add
Outcome
to theCharge
model
- Deprecate
getUser
andsetUser
onApplicationFee
- Deprecate
getCard
andsetCard
onCharge
- Deprecate
getAccount
andsetAccount
onTransfer
- Deprecate
getOtherTransfers
andsetOtherTransfers
onTransfer
- Deprecate
getSummary
andsetSummary
onTransfer
- Change
getBusinessUrl
togetBusinessURL
inAccount
model - Change
getSupportUrl
togetSupportURL
inAccount
model - Change
getUrl
togetURL
inProduct
model - Change
setUrl
tosetURL
inProduct
model - Change
getUrl
togetURL
inStripeCollection
model - Change
setUrl
tosetURL
inStripeCollection
model - Remove previously-deprecated
getUrl
inStripeCollectionAPIResource
model - Change
getUrl
togetURL
inStripeCollectionInterface
- Add accessors for
default_currency
toCountrySpec
model
- Allow request params and options to be overridden for
autoPagingIterable
- Expose creating bank accounts on customer
- Add
reject
action on account
- Add
CountrySpec
model for looking up country payment information
- Add
businessTaxIdProvided
toLegalEntity
- Add support for deleting Relay SKUs and products
- Add
details_code
toLegalEntity
- Add
disabled_reason
toVerification
- Fix serialization bug in
LegalEntity
'sssnLast4Provided
- Add lots of missing fields to Account, Event, and Refund
- Fix casting of newer objects to typed models
- Add missing
ShippingDetails
toCustomer
model
- Add a verification routine for external accounts
- Fix bug when using lazy-paging collection across multiple pages
- Add pagination through the use of calling
AutoPagingIterable()
for a page - Fix bug where arrays were not being properly encoded when sent to the API
- Fix bug where setting a
List
tonull
wasn't encoding to an empty string (which is required to unset an array)
- Bugfix
setTransfer
onReversal
- Products, SKUs, and Orders -- https://stripe.com/relay
- Add support for new rate limiting responses.
- Add
bankAccount
toToken
- Added
retrieve
,all
,update
,create
methods toRefund
- Added
retrieve
,all
,update
andclose
methods toDispute
- Added
delete
method to managedAccount
s
- Added
account
toApplicationFee
.
- Added
getRequestId
method toStripeException
.
ConcretePaymentSource
and thePaymentSource
interface have been combined into oneExternalAccount
classPaymentSourceCollection
was renamedExternalAccountCollection
Account
now supportsgetExternalAccounts
, which allows bothBankAccount
andCard
attachment.BankAccount
s can now be deleted fromCustomer
s (private beta feature) andAccount
s
- Add decline_code, charge to CardException
- Added tax percent field to subscriptions
- Added tax and tax percent fields to invoices
- Added support for Alipay accounts
- Added default source when type is unknown
- Added support dynamicLast4 on Card for Apple Pay integrations
- Charge objects now support status
- Added support for transfer reversals
- Added support for account creation/updating/retrieval by ID
- Customer objects now support currency
- Added STRIPE-ACCOUNT header options in RequestOptions
- Added Update and Delete for Bitcoin Receivers
- Support new API version (2015-02-18) by providing source type properties on Customer and Charge in addition to card type properties
- Test of new stripe-java release process.
- Support making bitcoin charges through BitcoinReceiver source object
- Support for fraud reporting methods was added
- The ability to post multipart/form-data was added
- Requests can now hit different base endpoints, by passing in
apiBase
when creating URLs - Support for the file upload endpoints was added. Documentation is available at https://stripe.com/docs/api#file_uploads
- Support for fraud reporting (marking charges as safe or fraudulent) was added
- Java 1.5 support dropped. We strongly suggest using newer versions of Java due to runtime, VM, language, and syntax improvements
- Dispute Evidence has been updated to reflect the new version of Dispute evidence format introduced as part of api version 2014-12-08. See https://stripe.com/docs/upgrades#2014-12-08 for details
- Convention is to call methods with a RequestOptions object, instead of an API Key directly
- Support setting the stripe version on a per-request level, via the RequestOptions object
- Add shipping and address to the charge object
-
All requests that involve passing the apiKey directly to the method are now deprecated in favor of using RequestOptions instead. Use RequestOptions as follows:
RequestOptions.builder().setApiKey(apiKey).build()
- Created Charge.receiptEmail field
- Created Charge.receiptNumber field
- Change chargeEnabled to chargesEnabled
- Change transferEnabled to transfersEnabled
- Add id, currency, status, fingerprint, and defaultForCurrency to BankAccount
- Add back explict autoboxing for Google App Engine reflected HTTP method (fixes issue #106)
- Add statementDescription field to transfer
- A few non-breaking general cleanups
- Added isChargeRefundable and balanceTransactions to Dispute https://stripe.com/docs/upgrades#2014-08-20
- Added metadata to Coupons
- Application Fee refunds now a list instead of array
- Added brand and funding to Card
- Added metadata to Refund
- Added metadata to Dispute
- Fixed incorrect return types for certain collection resources
- Added metadata to Subscription
- Add support for canceling transfers
- Fix bug with retrieving lines of upcoming invoice.
- Support cards for recipients.
- Test SSL certificate against blacklist
- Upgrade customer, charge, and coupon collections to new pagination style
- Add missing fields to Account object
- Support for newstyle pagination API (https://groups.google.com/a/lists.stripe.com/forum/#!topic/api-announce/29sLxmICA9E)
- Support for dynamic statement descriptions
- Preserve original 'threaqd null ids through to requests' behavior
- Upgrade Google GSON to 2.2.4
- URL-encode object ids (fixes #62)
- Add 'valid' field to coupon
- Fix Subscription cancel method call
- Miscellaneous field fixups
- Discount on Subscription is an expanded Discount, not string
- Add missing application_fee_percent field on Subscription
- Add missing application_fee field on Invoice
- Add support for multiple subscriptions per customer
- Fixed url to refund application fees (fixes #60)
- DRY'd some of the application fee urls
- Added metadata to InvoiceItem and InvoiceLineItem (fixes #59)
- Support overriding base url (for testing) (user request)
- Add default currency to Account object (fixes #46)
- Add metadata to plan object (thanks, desirable-objects)
- Remove plan from Customer (fixes #42)
- Style improvements (see #30) (thanks, steve-nester-uk)
- Fix return type of Coupon.getRedeemBy
- Add ApplicationFee API resource
- Added field transfer_enabled to Account API object (thanks, kurguzov)
- Add support for metadata API
- Add support for closing disputes
- Fix return type of CustomerCardCollection.retrieve
- Tweak card create to align it with docs
- Add missing
retrieve
method toBalanceTransaction
- Add missing fields to
BalanceTransaction
id
fee
fee_details
description
- Add
id
field toSubscription
- Patch release with missing field, added tests
- Add BalanceTransaction API resource
- Add Refund resource
- Resource updates
- Remove
fee
,feeDetails
from Transfer and Charge resources - Add
balanceTransaction
to Transfer, Charge, and Dispute resources - Add
refunds
to Charge resource
- Remove
- Add support for unsetting attributes by updating with a null value. Setting properties to a blank string is now an error.
- Enable createCard() to use a token
- Add 'createCard' to Customer
- Update card collections bindings
- Parse card objects when receiving customer.card.created events
- Add support for new cards API.
- You will probably need to upgrade the Stripe API version on your account to 2013-07-05 or explicitly specify an API version with com.stripe.Stripe.apiVersion when you switch to this release of the bindings. More information about the relevant changes can be found at https://stripe.com/docs/upgrades#2013-07-05 and http://bit.ly/13miHM8
- Add a StripeRawJsonObject type for deserializing webhook events we don't recognize
- Add a Money class for representing account balances in individual currencies
- Add more Balance API resource, and add to deserializer.
- Rename BankAccount property
valid
tovalidated
- Add more objects to Deserializer
- Fix TransferTransaction fee retrieval
- Allow Transfers to be creatable
- Add new Recipient resource
- Add support for charge capture.
- Add ability to deserialize account-related events.
- Add user ID to Event object.
- Fix off-by-one error in deserializing events (github issue #27).
- List all checked exceptions throws by methods.
- Add support for plan interval count.
- Add support for setting Stripe API version override.
- Add address_city to card
- Upgrade Google GSON to 2.2.2
- Add option to provide custom URL handler
- Explict cast to javax.net.ssl.HttpsURLConnection to prevent issues with user imports
- Add currency to Invoice resource
- Add amountOff and currency to Coupon resource
- Add new Dispute resource
- Add support for updating charge disputes
- Add support for creating invoices
- Add support for new Invoice.lines return format
- Add quantity to Subscription
- Add Fee API resource, add feeDetails to Charge API resource.
- Pass query parameters to DELETE-based methods when using Google App Engine (github issue #17)
- Add update and pay methods for Invoice resource
- Add the Account API resource
- Allow specification of API key at the API call level
- Use String.length() == 0 instead of String.isEmpty() for compatibility with JDK 1.5 (needed for Android 2.2)
- Change type of cvcCheck, addressZipCheck, and addressLine1Check attributes on com.stripe.model.Card; values of those fields will be "pass", "fail", "unchecked", or null (github issue #11)
- Remove code and percentOff attributes from com.stripe.model.Discount. Stripe never returned these values for Discount objects, so they would previously always be null
- Add missing fields to Charge, Coupon, Discount, Event, and Invoice models (github issue #12)
- Include parameters passed to any object's delete method in actual API requests (github issue #10)
- Add new deleteDiscount method to com.stripe.model.Customer
- Switch from using HTTP Basic auth to Bearer auth. (Note: Stripe will support Basic auth for the indefinite future, but recommends Bearer auth when possible going forward)
- Numerous test suite improvements