Skip to content

Releases: stripe/stripe-java

v28.2.0-beta.1

21 Nov 21:08
Compare
Choose a tag to compare
v28.2.0-beta.1 Pre-release
Pre-release
  • #1924 Update generated code for beta
    • Add support for network_advice_code and network_decline_code on Charge.outcome, Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
    • Add support for funding on Charge.payment_method_details.amazon_pay and Charge.payment_method_details.revolut_pay
    • Add support for amount_requested and partial_authorization on Charge.payment_method_details.card
    • Add support for metadata on LineItem and checkout.SessionCreateParams.line_items[]
    • Add support for line_items on Checkout.Session.permissions.update, checkout.SessionCreateParams.permissions.update, and checkout.SessionUpdateParams
    • Add support for adjustable_quantity and display on LineItem
    • Add support for request_partial_authorization on PaymentIntent.payment_method_options.card, PaymentIntentConfirmParams.payment_method_options.card, PaymentIntentCreateParams.payment_method_options.card, and PaymentIntentUpdateParams.payment_method_options.card
    • Add support for payment_method_options on PaymentIntentIncrementAuthorizationParams
    • Add support for new value invoice.overpaid on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

See the changelog for more details.

v28.1.0

20 Nov 23:32
Compare
Choose a tag to compare
  • #1923 This release changes the pinned API version to 2024-11-20.acacia.
    • Add support for respond test helper method on resource Issuing.Authorization
    • Add support for authorizer on AccountPersonsParams.relationship and TokenCreateParams.person.relationship
    • Add support for adaptive_pricing on Checkout.Session and checkout.SessionCreateParams
    • Add support for mandate_options on Checkout.Session.payment_method_options.bacs_debit, Checkout.Session.payment_method_options.sepa_debit, checkout.SessionCreateParams.payment_method_options.bacs_debit, and checkout.SessionCreateParams.payment_method_options.sepa_debit
    • Add support for request_extended_authorization, request_incremental_authorization, request_multicapture, and request_overcapture on Checkout.Session.payment_method_options.card and checkout.SessionCreateParams.payment_method_options.card
    • Add support for capture_method on checkout.SessionCreateParams.payment_method_options.kakao_pay, checkout.SessionCreateParams.payment_method_options.kr_card, checkout.SessionCreateParams.payment_method_options.naver_pay, checkout.SessionCreateParams.payment_method_options.payco, and checkout.SessionCreateParams.payment_method_options.samsung_pay
    • Add support for new value subscribe on enums PaymentLinkCreateParams.submit_type and checkout.SessionCreateParams.submit_type
    • Add support for new value li_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for new value financial_account_statement on enum FileListParams.purpose
    • Add support for account_holder_address, account_holder_name, account_type, and bank_address on FundingInstructions.bank_transfer.financial_addresses[].aba, FundingInstructions.bank_transfer.financial_addresses[].swift, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].aba, and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].swift
    • Add support for new value service_tax on enums InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type
    • Add support for merchant_amount and merchant_currency on issuing.AuthorizationCreateParams
    • Change issuing.AuthorizationCreateParams.amount to be optional
    • Add support for fraud_challenges and verified_by_fraud_challenge on Issuing.Authorization
    • Add support for new value link on enums PaymentIntentConfirmParams.payment_method_options.card.network, PaymentIntentCreateParams.payment_method_options.card.network, PaymentIntentUpdateParams.payment_method_options.card.network, SetupIntentConfirmParams.payment_method_options.card.network, SetupIntentCreateParams.payment_method_options.card.network, SetupIntentUpdateParams.payment_method_options.card.network, SubscriptionCreateParams.payment_settings.payment_method_options.card.network, and SubscriptionUpdateParams.payment_settings.payment_method_options.card.network
    • Add support for submit_type on PaymentLinkUpdateParams
    • Add support for trace_id on Payout
    • Add support for network_decline_code on Refund.destination_details.blik and Refund.destination_details.swish
    • Add support for new value 2024-11-20.acacia on enum WebhookEndpointCreateParams.api_version

See the changelog for more details.

v28.1.0-beta.3

14 Nov 23:59
Compare
Choose a tag to compare
v28.1.0-beta.3 Pre-release
Pre-release
  • #1922 Update generated code for beta
    • Add support for account_holder_address and bank_address on FundingInstructions.bank_transfer.financial_addresses[].iban, FundingInstructions.bank_transfer.financial_addresses[].sort_code, FundingInstructions.bank_transfer.financial_addresses[].spei, FundingInstructions.bank_transfer.financial_addresses[].zengin, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].iban, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].sort_code, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei, and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin
    • Add support for account_holder_name on FundingInstructions.bank_transfer.financial_addresses[].spei and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei
    • Add support for new value subscribe on enum PaymentLinkUpdateParams.submit_type

See the changelog for more details.

v28.1.0-beta.2

07 Nov 22:12
Compare
Choose a tag to compare
v28.1.0-beta.2 Pre-release
Pre-release
  • #1917 Update generated code for beta
    • Add support for new resources Issuing.FraudLiabilityDebit, PaymentAttemptRecord, and PaymentRecord
    • Add support for list and retrieve methods on resources FraudLiabilityDebit and PaymentAttemptRecord
    • Add support for report_payment_attempt_canceled, report_payment_attempt_failed, report_payment_attempt_guaranteed, report_payment_attempt, report_payment, and retrieve methods on resource PaymentRecord
    • Remove support for money_movement on AccountSessionCreateParams.components.financial_account.features
    • Add support for card_management, card_spend_dispute_management, cardholder_management, and spend_control_management on AccountSessionCreateParams.components.issuing_card.features
    • Add support for disable_stripe_user_authentication on AccountSessionCreateParams.components.issuing_cards_list.features
    • Add support for adaptive_pricing on Checkout.Session and checkout.SessionCreateParams
    • Add support for mandate_options on Checkout.Session.payment_method_options.bacs_debit, Checkout.Session.payment_method_options.sepa_debit, checkout.SessionCreateParams.payment_method_options.bacs_debit, and checkout.SessionCreateParams.payment_method_options.sepa_debit
    • Add support for request_decremental_authorization, request_extended_authorization, request_incremental_authorization, request_multicapture, and request_overcapture on Checkout.Session.payment_method_options.card and checkout.SessionCreateParams.payment_method_options.card
    • Add support for capture_method on checkout.SessionCreateParams.payment_method_options.kakao_pay, checkout.SessionCreateParams.payment_method_options.kr_card, checkout.SessionCreateParams.payment_method_options.naver_pay, checkout.SessionCreateParams.payment_method_options.payco, and checkout.SessionCreateParams.payment_method_options.samsung_pay
    • Add support for new value li_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].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, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for account_holder_address, account_holder_name, account_type, and bank_address on FundingInstructions.bank_transfer.financial_addresses[].aba, FundingInstructions.bank_transfer.financial_addresses[].swift, PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].aba, and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].swift
    • Add support for new value custom on enums InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Add support for new value service_tax on enums InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type
    • Add support for payment_record_data and payment_record on InvoiceAttachPaymentParams
    • Remove support for out_of_band_payment on InvoiceAttachPaymentParams
    • Add support for amount_overpaid on Invoice
    • Add support for merchant_amount and merchant_currency on issuing.AuthorizationCreateParams
    • Change issuing.AuthorizationCreateParams.amount to be optional
    • Add support for new value link on enums PaymentIntentConfirmParams.payment_method_options.card.network, PaymentIntentCreateParams.payment_method_options.card.network, PaymentIntentUpdateParams.payment_method_options.card.network, SetupIntentConfirmParams.payment_method_options.card.network, SetupIntentCreateParams.payment_method_options.card.network, SetupIntentUpdateParams.payment_method_options.card.network, SubscriptionCreateParams.payment_settings.payment_method_options.card.network, and SubscriptionUpdateParams.payment_settings.payment_method_options.card.network
    • Add support for submit_type on PaymentLinkUpdateParams
    • Add support for new values invoice.payment_attempt_required and issuing_fraud_liability_debit.created on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]

See the changelog for more details.

v28.0.1

06 Nov 22:00
Compare
Choose a tag to compare
  • #1919 Catch JsonSyntaxException when processing all errors
  • #1916 Restore testReportsRawRequestUsageTelemetry test
  • #1915 add major version blurb to changelog

See the changelog for more details.

v28.1.0-beta.1

29 Oct 23:06
Compare
Choose a tag to compare
v28.1.0-beta.1 Pre-release
Pre-release
  • #1914 Update generated code for beta
    • Add support for trigger_action method on resource PaymentIntent
    • Add support for id_bank_transfer_payments_bca and id_bank_transfer_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for bank_bca_onboarding on Account.settings, AccountCreateParams.settings, and AccountUpdateParams.settings
    • Add support for send_money on AccountSessionCreateParams.components.recipients.features
    • Add support for id_bank_transfer on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, Invoice.payment_settings.payment_method_options, InvoiceCreateParams.payment_settings.payment_method_options, InvoiceUpdateParams.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, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_details, SetupAttempt.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, Subscription.payment_settings.payment_method_options, SubscriptionCreateParams.payment_settings.payment_method_options, and SubscriptionUpdateParams.payment_settings.payment_method_options
    • Add support for gopay, qris, and shopeepay on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
  • #1909 Do not allow setting Stripe.stripeVersion
    • Stripe.stripeVersion is no longer settable. If you were using this to set the beta headers, use the helper method Stripe.addBetaVersion() instead.

See the changelog for more details.

v28.0.0

29 Oct 21:28
Compare
Choose a tag to compare

Historically, when upgrading webhooks to a new API version, you also had to upgrade your SDK version. Your webhook's API version needed to match the API version pinned by the SDK you were using to ensure successful deserialization of events. With the 2024-09-30.acacia release, Stripe follows a new API release process. As a result, you can safely upgrade your webhook endpoints to any API version within a biannual release (like acacia) without upgrading the SDK.

However, a bug in the 27.x.y SDK releases meant that webhook version upgrades from the SDK's pinned 2024-09-30.acacia version to the new 2024-10-28.acacia version would fail. Therefore, we are shipping SDK support for 2024-10-28.acacia as a major version to enforce the idea that an SDK upgrade is also required. Future API versions in the acacia line will be released as minor versions.

  • #1896 This release changes the pinned API version to 2024-10-28.acacia.
    • Add support for new resource V2.EventDestinations
    • Add support for create, retrieve, update, list, delete, disable, enable and ping methods on resource V2.EventDestinations
    • Add support for submit_card test helper method on resource Issuing.Card
    • Add support for groups on AccountCreateParams, AccountUpdateParams, and Account
    • Add support for alma_payments, kakao_pay_payments, kr_card_payments, naver_pay_payments, payco_payments, and samsung_pay_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for disable_stripe_user_authentication on AccountSession.components.account_management.features, AccountSession.components.account_onboarding.features, AccountSession.components.balances.features, AccountSession.components.notification_banner.features, AccountSession.components.payouts.features, AccountSessionCreateParams.components.account_management.features, AccountSessionCreateParams.components.account_onboarding.features, AccountSessionCreateParams.components.balances.features, AccountSessionCreateParams.components.notification_banner.features, and AccountSessionCreateParams.components.payouts.features
    • Add support for schedule_at_period_end on BillingPortal.Configuration.features.subscription_update, billingportal.ConfigurationCreateParams.features.subscription_update, and billingportal.ConfigurationUpdateParams.features.subscription_update
    • Change billingportal.ConfigurationCreateParams.business_profile to be optional
    • Add support for alma on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for kakao_pay and kr_card on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, PaymentMethod, SetupAttempt.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for naver_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for payco and samsung_pay on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, SetupIntentUpdateParams.payment_method_data, and checkout.SessionCreateParams.payment_method_options
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, PaymentMethodListParams.type, and checkout.SessionCreateParams.payment_method_types[]
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums ConfirmationTokenCreateParams.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new value auto on enum CustomerUpdateParams.tax.validate_location
    • Add support for new values by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, TaxIdCreateParams.type, and tax.CalculationCreateParams.customer_details.tax_ids[].type
    • Add support for enhanced_evidence on Dispute.evidence and DisputeUpdateParams.evidence
    • Add support for enhanced_eligibility_types on Dispute
    • Add support for enhanced_eligibility on Dispute.evidence_details
    • Add support for metadata on Forwarding.Request and forwarding.RequestCreateParams
    • Add support for automatically_finalizes_at on InvoiceCreateParams and InvoiceUpdateParams
    • Add support for new values jp_credit_transfer, kakao_pay, kr_card, naver_pay, and payco on enums InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Add support for new value retail_delivery_fee on enums InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type, TaxRateCreateParams.tax_type, and TaxRateUpdateParams.tax_type
    • Add support for new value alma on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for amazon_pay on PaymentMethodDomain
    • Add support for flat_amount and rate_type on Tax.Calculation.tax_breakdown[].tax_rate_details and TaxRate
    • Add support for by, cr, ec, ma, md, rs, ru, tz, and uz on Tax.Registration.country_options and tax.RegistrationCreateParams.country_options
    • Add support for new value state_retail_delivery_fee on enum tax.RegistrationCreateParams.country_options.us.type
    • Add support for pln on Terminal.Configuration.tipping, terminal.ConfigurationCreateParams.tipping, and terminal.ConfigurationUpdateParams.tipping
    • Add support for new values issuing_transaction.purchase_details_receipt_updated and refund.failed on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]
    • Add support for new value 2024-10-28.acacia on enum WebhookEndpointCreateParams.api_version

See the changelog for more details.

v27.1.2

29 Oct 16:52
Compare
Choose a tag to compare
  • #1912 add tolerance argument to parseThinEvent
    • The default tolerance value is still what most users will want, but this fixes an oversight where it wasn't possible to set tolerance at all when parsing thin events
  • #1911 Fixes bug #1899
    • Fixes the bug introduced in v27 where StripeException#getUserMessage on v1 API errors would return null instead of the error message.
  • #1906 Update webhook API version validation
    • Update webhook event processing to accept events from any API version within the supported major release

See the changelog for more details.

v27.2.0-beta.3

18 Oct 19:02
Compare
Choose a tag to compare
v27.2.0-beta.3 Pre-release
Pre-release
  • #1897 Update generated code for beta
    • Add support for alma_payments, gopay_payments, kakao_pay_payments, kr_card_payments, naver_pay_payments, payco_payments, qris_payments, samsung_pay_payments, shopeepay_payments, treasury_evolve, treasury_fifth_third, and treasury_goldman_sachs on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
    • Add support for schedule_at_period_end on BillingPortal.Configuration.features.subscription_update, billingportal.ConfigurationCreateParams.features.subscription_update, and billingportal.ConfigurationUpdateParams.features.subscription_update
    • Change billingportal.ConfigurationCreateParams.business_profile to be optional
    • Add support for alma on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
    • Add support for gopay, qris, and shopeepay on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.payment_method_data, 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, and SetupIntentUpdateParams.payment_method_data
    • Add support for new values alma, gopay, qris, and shopeepay on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, PaymentMethodListParams.type, and checkout.SessionCreateParams.payment_method_types[]
    • Add support for new values alma, gopay, qris, and shopeepay on enums ConfirmationTokenCreateParams.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
    • Add support for new value auto on enum CustomerUpdateParams.tax.validate_location
    • Add support for metadata on forwarding.RequestCreateParams
    • Add support for new values jp_credit_transfer, kakao_pay, kr_card, naver_pay, and payco on enums InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]
    • Remove support for value expired from enum issuing.AuthorizationListParams.status
    • Add support for new values alma, gopay, qris, and shopeepay on enums PaymentLinkCreateParams.payment_method_types[] and PaymentLinkUpdateParams.payment_method_types[]
    • Add support for amazon_pay on PaymentMethodDomain
    • Add support for external_reference on Tax.Form.payee and tax.FormListParams.payee
    • Change type of Tax.Form.payee.type and tax.FormListParams.payee.type from literal('account') to enum('account'|'external_reference')
    • Add support for new values au_serr, ca_mrdp, eu_dac7, gb_mrdp, and nz_mrdp on enum tax.FormListParams.type
    • Add support for au_serr, ca_mrdp, eu_dac7, gb_mrdp, and nz_mrdp on Tax.Form
    • Add support for pln on Terminal.Configuration.tipping, terminal.ConfigurationCreateParams.tipping, and terminal.ConfigurationUpdateParams.tipping
    • Add support for bank on Treasury.FinancialAccountFeatures.financial_addresses.aba, treasury.FinancialAccountCreateParams.features.financial_addresses.aba, treasury.FinancialAccountUpdateFeaturesParams.financial_addresses.aba, and treasury.FinancialAccountUpdateParams.features.financial_addresses.aba

See the changelog for more details.

v27.1.1

18 Oct 18:41
Compare
Choose a tag to compare
  • #1901 update object tags for meter-related classes

    • fixes a bug where the object property of the MeterEvent, MeterEventAdjustment, and MeterEventSession didn't match the server.
  • #1898 Clean up examples

  • #1894 Fixed example for raw request in readme file

See the changelog for more details.