github stripe/stripe-php v18.2.0-alpha.1

latest release: v18.2.0-alpha.2
pre-releaseone day ago
  • #1944 Update generated code for private-preview
    • Add support for report_refund method on resource PaymentRecord
    • Add support for new value verification_data_not_found on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, BankAccount.requirements.errors[].code, Capability.future_requirements.errors[].code, Capability.requirements.errors[].code, Person.future_requirements.errors[].code, and Person.requirements.errors[].code
    • Add support for tenants on Billing.Analytics.MeterUsageRow
    • Add support for representative_declaration on Account.company, Account.create().$params.company, Account.update().$params.company, and Token.create().$params.account.company
    • Add support for transfer on ApplicationFee.fee_source
    • Add support for new value transfer on enum ApplicationFee.fee_source.type
    • Add support for transit_balances_total on Balance
    • Add support for new value transit on enum BalanceTransaction.balance_type
    • Add support for tenant_group_by_keys on Billing\Analytics\MeterUsage.retrieve().$params.meter
    • Change Billing\CreditGrant.create().$params.category to be optional
    • Add support for payment_method_configuration on BillingPortal\Configuration.create().$params.feature.payment_method_update and BillingPortal\Configuration.update().$params.feature.payment_method_update
    • Add support for new value solana on enums Charge.payment_method_details.crypto.network, PaymentAttemptRecord.payment_method_details.crypto.network, and PaymentRecord.payment_method_details.crypto.network
    • Add support for payment_portal_url on Charge.payment_method_details.rechnung, PaymentAttemptRecord.payment_method_details.rechnung, and PaymentRecord.payment_method_details.rechnung
    • Add support for twint on Checkout.Session.payment_method_options and Checkout\Session.create().$params.payment_method_option
    • Add support for new value custom on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Change CreditNote.refunds[].payment_record_refund to be required
    • Change CreditNote.refunds[].type to be required
    • Add support for customer_sheet, mobile_payment_element, and tax_id_element on CustomerSession.components and CustomerSession.create().$params.component
    • Add support for provider on Customer.tax
    • Remove support for risk_details on DelegatedCheckout\RequestedSession.create().$params
    • Add support for risk_details on DelegatedCheckout\RequestedSession.confirm().$params
    • Add support for new value platform_terms_of_service on enum File.purpose
    • Add support for starting_after on PaymentAttemptRecord.all().$params
    • Add support for reference on PaymentIntent.capture().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.confirm().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.create().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.increment_authorization().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.update().$params.amount_detail.line_item.payment_method_option.klarna, and PaymentIntentAmountDetailsLineItem.payment_method_options.klarna
    • Add support for allocated_funds on PaymentIntent
    • Change PaymentIntent.payment_details.customer_reference to be required
    • Change PaymentIntent.payment_details.order_reference to be required
    • Add support for subscription_reference on PaymentIntentAmountDetailsLineItem.payment_method_options.klarna
    • Add support for name_collection on PaymentLink.create().$params, PaymentLink.update().$params, and PaymentLink
    • Add support for crypto on PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, and Refund.destination_details
    • Add support for mb_way on PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, and PaymentMethodConfiguration
    • Add support for custom on PaymentMethod.create().$params and PaymentMethod
    • Add support for excluded_payment_method_types on SetupIntent.create().$params, SetupIntent.update().$params, and SetupIntent
    • Change SetupIntent.flow_directions to be optional
    • Add support for tw on Tax.Registration.country_options and Tax\Registration.create().$params.country_option
    • Add support for gip on Terminal.Configuration.tipping, Terminal\Configuration.create().$params.tipping, and Terminal\Configuration.update().$params.tipping
    • Add support for last_seen_at on Terminal.Reader
    • Add support for application_fee_amount on Transfer.create().$params and Transfer
    • Add support for application_fee on Transfer
    • Add support for high_risk_activities_description, high_risk_activities, money_services_description, operates_in_prohibited_countries, participates_in_regulated_activity, purpose_of_funds_description, purpose_of_funds, regulated_activity, source_of_funds_description, and source_of_funds on V2.Core.Account.configuration.storer, V2\Core\Account.create().$params.configuration.storer, and V2\Core\Account.update().$params.configuration.storer
    • Add support for crypto_wallets on V2.Core.Account.configuration.storer.capabilities.financial_addresses, V2.Core.Account.configuration.storer.capabilities.outbound_payments, V2.Core.Account.configuration.storer.capabilities.outbound_transfers, V2\Core\Account.create().$params.configuration.storer.capability.financial_address, V2\Core\Account.create().$params.configuration.storer.capability.outbound_payment, V2\Core\Account.create().$params.configuration.storer.capability.outbound_transfer, V2\Core\Account.update().$params.configuration.storer.capability.financial_address, V2\Core\Account.update().$params.configuration.storer.capability.outbound_payment, and V2\Core\Account.update().$params.configuration.storer.capability.outbound_transfer
    • Add support for usdc on V2.Core.Account.configuration.storer.capabilities.holds_currencies, V2\Core\Account.create().$params.configuration.storer.capability.holds_currency, and V2\Core\Account.update().$params.configuration.storer.capability.holds_currency
    • Add support for crypto_storer on V2.Core.Account.identity.attestations.terms_of_service and V2\Core\Account.create().$params.identity.attestation.terms_of_service
    • Add support for compliance_screening_description on V2.Core.Account.identity.business_details, V2\Core\Account.create().$params.identity.business_detail, and V2\Core\Account.update().$params.identity.business_detail
    • Add support for external_amount on V2.MoneyManagement.ReceivedCredit and V2.MoneyManagement.ReceivedDebit
    • Add support for error code payment_intent_rate_limit_exceeded on Invoice.last_finalization_error, PaymentIntent.last_payment_error, QuotePreviewInvoice.last_finalization_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

See the changelog for more details.

Don't miss a new stripe-php release

NewReleases is sending notifications on new releases.