Skip to content

v18.1.0

Choose a tag to compare

@ramya-stripe ramya-stripe released this 16 Dec 19:48
· 29 commits to master since this release

This release changes the pinned API version to 2025-12-15.clover.

  • #1744 Update generated code
    • Add support for new resources V2::Core::AccountLink, V2::Core::AccountPersonToken, V2::Core::AccountPerson, V2::Core::AccountToken, and V2::Core::Account
    • Add support for create and retrieve methods on resources V2::Core::AccountPersonToken and V2::Core::AccountToken
    • Add support for create method on resource V2::Core::AccountLink
    • Add support for close, create, list, retrieve, and update methods on resource V2::Core::Account
    • Add support for create, delete, list, retrieve, and update methods on resource V2::Core::AccountPerson
    • Add support for customer_account on Billing::CreditBalanceSummaryRetrieveParams, Billing::CreditBalanceSummary, Billing::CreditBalanceTransactionListParams, Billing::CreditGrantCreateParams, Billing::CreditGrantListParams, Billing::CreditGrant, BillingPortal::SessionCreateParams, BillingPortal::Session, CashBalance, Checkout::SessionCreateParams, Checkout::SessionListParams, Checkout::Session, ConfirmationToken::PaymentMethodPreview, CreditNoteListParams, CreditNote, CustomerBalanceTransaction, CustomerCashBalanceTransaction, CustomerSessionCreateParams, CustomerSession, Customer, Discount, FinancialConnections::Account::AccountHolder, FinancialConnections::AccountListParams::AccountHolder, FinancialConnections::Session::AccountHolder, FinancialConnections::SessionCreateParams::AccountHolder, InvoiceCreateParams, InvoiceCreatePreviewParams, InvoiceItemCreateParams, InvoiceItemListParams, InvoiceItem, InvoiceListParams, Invoice, PaymentIntentCreateParams, PaymentIntentListParams, PaymentIntentUpdateParams, PaymentIntent, PaymentMethodAttachParams, PaymentMethodListParams, PaymentMethod, PromotionCodeCreateParams, PromotionCodeListParams, PromotionCode, QuoteCreateParams, QuoteListParams, QuoteUpdateParams, Quote, SetupAttempt, SetupIntentCreateParams, SetupIntentListParams, SetupIntentUpdateParams, SetupIntent, SubscriptionCreateParams, SubscriptionListParams, SubscriptionScheduleCreateParams, SubscriptionScheduleListParams, SubscriptionSchedule, Subscription, TaxId::Owner, TaxIdCreateParams::Owner, TaxIdListParams::Owner, and TaxId
    • Add support for metadata on Checkout::SessionCreateParams::LineItem and LineItem
    • Add support for payto_payments on Account::Capability, AccountCreateParams::Capability, and AccountUpdateParams::Capability
    • Add support for signer on AccountCreateParams::Document::ProofOfRegistration, AccountCreateParams::Document::ProofOfUltimateBeneficialOwnership, AccountUpdateParams::Document::ProofOfRegistration, and AccountUpdateParams::Document::ProofOfUltimateBeneficialOwnership
    • Change Billing::CreditBalanceSummaryRetrieveParams.customer, Billing::CreditBalanceTransactionListParams.customer, Billing::CreditGrantCreateParams.customer, BillingPortal::SessionCreateParams.customer, CustomerSessionCreateParams.customer, InvoiceItemCreateParams.customer, PaymentMethodAttachParams.customer, and SubscriptionCreateParams.customer to be optional
    • Add support for billing_cycle_anchor on BillingPortal::Configuration::Feature::SubscriptionUpdate, BillingPortal::ConfigurationCreateParams::Feature::SubscriptionUpdate, and BillingPortal::ConfigurationUpdateParams::Feature::SubscriptionUpdate
    • Add support for payto on Charge::PaymentMethodDetail, Checkout::Session::PaymentMethodOption, Checkout::SessionCreateParams::PaymentMethodOption, ConfirmationToken::PaymentMethodPreview, ConfirmationTokenCreateParams::PaymentMethodDatum, Invoice::PaymentSetting::PaymentMethodOption, InvoiceCreateParams::PaymentSetting::PaymentMethodOption, InvoiceUpdateParams::PaymentSetting::PaymentMethodOption, Mandate::PaymentMethodDetail, PaymentAttemptRecord::PaymentMethodDetail, PaymentIntent::PaymentMethodOption, PaymentIntentConfirmParams::PaymentMethodDatum, PaymentIntentConfirmParams::PaymentMethodOption, PaymentIntentCreateParams::PaymentMethodDatum, PaymentIntentCreateParams::PaymentMethodOption, PaymentIntentUpdateParams::PaymentMethodDatum, PaymentIntentUpdateParams::PaymentMethodOption, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, PaymentRecord::PaymentMethodDetail, SetupAttempt::PaymentMethodDetail, SetupIntent::PaymentMethodOption, SetupIntentConfirmParams::PaymentMethodDatum, SetupIntentConfirmParams::PaymentMethodOption, SetupIntentCreateParams::PaymentMethodDatum, SetupIntentCreateParams::PaymentMethodOption, SetupIntentUpdateParams::PaymentMethodDatum, SetupIntentUpdateParams::PaymentMethodOption, Subscription::PaymentSetting::PaymentMethodOption, SubscriptionCreateParams::PaymentSetting::PaymentMethodOption, and SubscriptionUpdateParams::PaymentSetting::PaymentMethodOption
    • Add support for expected_debit_date on Charge::PaymentMethodDetail::AcssDebit, Charge::PaymentMethodDetail::AuBecsDebit, Charge::PaymentMethodDetail::BacsDebit, Charge::PaymentMethodDetail::NzBankAccount, Charge::PaymentMethodDetail::SepaDebit, Charge::PaymentMethodDetail::UsBankAccount, PaymentAttemptRecord::PaymentMethodDetail::AcssDebit, PaymentAttemptRecord::PaymentMethodDetail::AuBecsDebit, PaymentAttemptRecord::PaymentMethodDetail::BacsDebit, PaymentAttemptRecord::PaymentMethodDetail::NzBankAccount, PaymentAttemptRecord::PaymentMethodDetail::SepaDebit, PaymentAttemptRecord::PaymentMethodDetail::UsBankAccount, PaymentRecord::PaymentMethodDetail::AcssDebit, PaymentRecord::PaymentMethodDetail::AuBecsDebit, PaymentRecord::PaymentMethodDetail::BacsDebit, PaymentRecord::PaymentMethodDetail::NzBankAccount, PaymentRecord::PaymentMethodDetail::SepaDebit, and PaymentRecord::PaymentMethodDetail::UsBankAccount
    • Add support for line_items on Checkout::SessionUpdateParams
    • Add support for invoice on CustomerCustomerBalanceTransactionListParams
    • Add support for related_customer_account on Identity::VerificationSessionCreateParams, Identity::VerificationSessionListParams, and Identity::VerificationSession
    • Change type of InvoiceItem::Pricing::PriceDetail.price and InvoiceLineItem::Pricing::PriceDetail.price from string to expandable($Price)
    • Add support for subtotal on InvoiceLineItem
    • Add support for authorization_code, description, iin, installments, issuer, network_advice_code, network_decline_code, and stored_credential_usage on PaymentAttemptRecord::PaymentMethodDetail::Card and PaymentRecord::PaymentMethodDetail::Card
    • Change PaymentIntent.transfer_data to be optional
    • Add support for allow_redisplay on PaymentMethodListParams
    • Add support for reported_by on PaymentRecord
    • Change Product.tax_code to be optional
    • Add support for changes on V2::Core::Event
  • #1741 Format breaking change warning to improve discoverability
  • #1742 Updated bundled CA certs

See the changelog for more details.