Skip to content

Releases

27.0.0

Choose a tag to compare

@yuki-stripe yuki-stripe released this 01 Dec 17:52
27.0.0
e1508a3

27.0.0 2026-11-30

This major version introduces several breaking changes. Please see MIGRATING.md to help you migrate.

General

  • [Changed] The SDK now uses Stripe API version 2026-09-30.endive instead of 2020-08-27. Your server can keep using its current API version. Parameters that you pass in additionalAPIParameters must be valid for 2026-09-30.endive.
  • [Changed] allResponseFields on API objects, such as STPPaymentIntent, now reflects API version 2026-09-30.endive. Compared to 2020-08-27, some fields are removed or renamed, and some values are different. For example, cancellation_reason is expired instead of automatic when an authorization expires. If you read values from allResponseFields, review the API changelog.

PaymentSheet

  • [Added] Added allowedPaymentMethodTypes and excludedPaymentMethodTypes to PaymentSheet.IntentConfiguration. If your server creates the PaymentIntent or SetupIntent with allowed_payment_method_types or excluded_payment_method_types, set the matching property to the same list.
  • [Changed] PaymentSheet.IntentConfiguration.Mode.payment now requires an explicit captureMethod. Pass the capture method of the PaymentIntent your server creates. If you didn't previously set captureMethod, pass .automatic.
  • [Deprecated] Deprecated External Payment Methods in favor of Custom Payment Methods. See the CPM integration guide.
  • [Changed] Added @MainActor isolation to PaymentSheet and PaymentSheet.FlowController. Initialize and access these objects from the main actor.
  • [Removed] Removed public access to PaymentSheetError.
  • [Deprecated] Deprecated PaymentSheet.Configuration.allowsPaymentMethodsRequiringShippingAddress and EmbeddedPaymentElement.Configuration.allowsPaymentMethodsRequiringShippingAddress. This configuration no longer has an effect. Payment methods that require a shipping address are always allowed.
  • [Changed] Klarna no longer displays a country dropdown with PaymentIntents when billingDetailsCollectionConfiguration.address is .never.
  • [Changed] In some rare cases where PaymentSheet, PaymentSheet.FlowController, and EmbeddedPaymentElement fail to load properly, they will now fully fail instead of initializing with a limited set of payment methods.
  • [Added] Added Mobile Checkout Elements (private preview), a new integration powered by the Checkout Sessions API. See https://docs.stripe.com/payments/mobile/checkout-sessions
  • [Added] Added support for Stripe balance (private preview) in PaymentSheet, PaymentSheet.FlowController, and EmbeddedPaymentElement, for payments and setting up future payments. Customers choose which of their financial accounts to pay from. Requires PaymentSheet.Configuration.customer to use a CustomerSession.
  • [Fixed] Fixed an issue where closing the Pix instructions page canceled the payment while the customer was still completing it.
  • [Fixed] Fixed an issue where EmbeddedPaymentElement didn't show the approval screen for BLIK, MB WAY and Bizum payments.
  • [Fixed] Fixed an issue where adding a bank account in native Link or signing out of Link could fail when the configured API client used a different publishable key from STPAPIClient.shared.

CustomerSheet

  • [Added] Added allowedPaymentMethodTypes and excludedPaymentMethodTypes to CustomerSheet.IntentConfiguration. If your server creates the SetupIntent with allowed_payment_method_types or excluded_payment_method_types, pass the same list.
  • [Changed] Added @MainActor isolation to CustomerSheet. Initialize and access from the main actor.
  • [Removed] Removed public access to CustomerSheetError.

Payments

  • [Changed] For failed Bancontact, EPS, iDEAL, Klarna, and Przelewy24 payments, STPPaymentIntentLastPaymentError.code now returns specific codes, such as payment_method_customer_decline, instead of payment_intent_authentication_failure. For failed Bancontact and iDEAL setups, STPSetupIntentLastSetupError.code returns the specific codes instead of setup_intent_authentication_failure. STPPaymentHandler now reports these failures with STPPaymentHandlerErrorCode.paymentErrorCode instead of .notAuthenticatedErrorCode, and PaymentSheet shows customers a different error message. Errors from confirming some TWINT and Zip payments also have the specific codes instead of payment_intent_authentication_failure. Expired Klarna payments return payment_intent_payment_attempt_expired instead of payment_intent_payment_attempt_failed.
  • [Changed] For failed BLIK payments, declineCode on STPPaymentIntentLastPaymentError and STPSetupIntentLastSetupError now returns specific values, such as code_invalid, instead of generic_decline.
  • [Changed] When you set STPAPIClient.stripeAccount and use a platform's publishable key, fingerprint on STPPaymentMethodUSBankAccount, STPPaymentMethodSEPADebit, STPPaymentMethodBacsDebit, and STPPaymentMethodAUBECSDebit, and in the acss_debit hash of STPPaymentMethod.allResponseFields, is now scoped to the platform instead of the connected account.
  • [Changed] Marked STPPaymentHandlerActionStatus as @frozen, allowing exhaustive switches over .succeeded, .canceled, and .failed.

CryptoOnramp (Alpha)

  • [Added] Added the optional linkCardBrandAcceptance parameter to CryptoOnrampCoordinator.create(...) to allow or block card brands in the Link UI. Defaults to accepting all supported brands.
  • [Changed] If you install with Swift Package Manager, enable the Identity package trait. CryptoOnramp depends on StripeIdentity, which requires it. See MIGRATING.md.
  • [Fixed] Fixed a build failure with Xcode 27.0 when linking StripeCryptoOnramp.

Financial Connections

  • [Changed] Updated Link-branded Financial Connections flows, including Instant Debits, to the new Link design system.

Identity

  • [Changed] If you install with Swift Package Manager, StripeIdentity now requires the Identity package trait. See MIGRATING.md.

PaymentsUI

  • [Fixed] Fixed STPPaymentCardTextField.cornerRadius returning the previous value after it was set.

StripeIssuing

  • [Changed] STPIssuingCardEphemeralKeyProvider now receives 2026-09-30.endive as the apiVersion to use when creating an ephemeral key.

26.16.1

Choose a tag to compare

@porter-stripe porter-stripe released this 09 Nov 23:22
26.16.1
4de377e

26.16.1 2026-11-09

PaymentSheet

  • [Changed] Changed the title shown above the card entry form from "Add card" to "Add a card".

26.16.0

Choose a tag to compare

@joyceqin-stripe joyceqin-stripe released this 03 Nov 15:40
26.16.0

26.16.0 2026-11-02

PaymentSheet

  • [Added] The Link auth flow now natively supports email OTP and multi-factor authentication (MFA) enabled accounts.
  • [Added] Added returnURL to LinkConfiguration, allowing LinkController users to let customers authenticate in their banking app and then return to the merchant's app. Without a returnURL, bank authentication happens in a secure webview presented in the merchant's app (private preview).
  • [Fixed] Fixed a horizontal layout bug that caused the sheet to freeze when the bottom form insets were less than the bottom safe area.
  • [Fixed] Fixed an issue introduced in 26.14.0 where customers couldn't interact with 3D Secure authentication challenges shown in the native Link sheet.

Identity

  • [Added] Added support for 3D face capture in StripeIdentity.
  • [Fixed] Fixed release archives failing to link MediaPipe for x86_64 simulators. Prebuilt StripeIdentity and StripeCryptoOnramp frameworks support arm64 simulators only; other SDK frameworks retain arm64 and x86_64 simulator support. Swift Package Manager integrations with the Identity trait enabled also require arm64 simulators.
  • [Added] Added the Identity package trait for Swift Package Manager. It links MediaPipe from stripe/identity-ios-mediapipe, which StripeIdentity uses for 3D face capture. To enable it, check Identity in the Traits menu for stripe-ios-spm under your project's Package Dependencies (Xcode 26.4 or later), or add traits: [.defaults, "Identity"] to the stripe-ios-spm dependency in your Package.swift. Without the trait, StripeIdentity works as before. CocoaPods installs include MediaPipe through the StripeMediaPipe pod.

26.15.1

Choose a tag to compare

@gbirch-stripe gbirch-stripe released this 26 Oct 22:43
26.15.1

26.15.1 2026-10-26

General

  • [Removed] CocoaPods support. Migrate your integration to Swift Package Manager. For more information and help migrating, see MIGRATING-COCOAPODS.md.
  • [Fixed] Fixed an issue where slow Apple Pay availability checks could cause React Native apps to hang during SDK initialization. See stripe-react-native#2567.

26.15.0

Choose a tag to compare

@gbirch-stripe gbirch-stripe released this 19 Oct 21:31
26.15.0

26.15.0 2026-10-19

CryptoOnramp (Alpha)

  • [Changed] Apple Pay card previews now include the card funding type (Credit, Debit, or Prepaid), falling back to Card when unavailable, matching Link's formatting.
  • [Changed] Renamed CryptoOnrampCoordinator.fulfillKYCRequirement(from:) to fulfillKYCRequirements(from:) and FulfillKYCRequirementResult to FulfillKYCRequirementsResult.

Identity

  • [Changed] Test-mode verification sessions now upload placeholder document and selfie images instead of users' images.

26.14.0

Choose a tag to compare

@porter-stripe porter-stripe released this 12 Oct 18:54
26.14.0
677c04d

26.14.0 2026-10-12

General

  • [Removed] Removed the "test mode" badge from all UI surfaces.

PaymentSheet

  • [Added] Added TrueMoney API bindings and PaymentSheet support for payments and setup.
  • [Added] Added Touch 'n Go API bindings and PaymentSheet support for payments and setup.
  • [Added] Added Mondu API bindings and PaymentSheet support for PaymentIntents.
  • [Added] Added Naira Wallet API bindings and PaymentSheet support for PaymentIntents.
  • [Added] Added Naira USSD API bindings and PaymentSheet support for PaymentIntents.
  • [Added] Added Naira bank transfer API bindings and PaymentSheet support for PaymentIntents.
  • [Fixed] Fixed a potential crash when canceling redirect payment methods such as Afterpay/Clearpay.
  • [Added] Added QRIS API bindings and PaymentSheet support for PaymentIntents.
  • [Added] Added GCash API bindings and PaymentSheet support for payments and setup.
  • [Added] Added Naira card API bindings and PaymentSheet support for PaymentIntents.

CryptoOnramp (Alpha)

  • [Fixed] If the customer's KYC region changes after Apple Pay is collected before authentication, token creation now throws PaymentMethodKYCRegionChangedError (payment_method_kyc_region_changed). Collect Apple Pay again and retry token creation only after successful collection.

26.13.0

Choose a tag to compare

@wooj-stripe wooj-stripe released this 05 Oct 20:13
26.13.0

26.13.0 2026-10-05

PaymentSheet

  • [Fixed] Fixed a potential crash when using certain card brands in PaymentSheet.
  • [Fixed] Fixed Apple Pay failing to open for fractional amounts in COP, HUF, IDR, LAK, LBP, PKR, and RSD.

Payments

  • [Fixed] Amounts in LBP are now displayed correctly.

CryptoOnramp (Alpha)

  • [Added] Added optional email, phone, and rawPhone fields to KycInfo, populated from Apple Pay billing or shipping contact information when requested. All values are for prefill only. phone is normalized to E.164 using the billing address's country when possible, and is otherwise nil; rawPhone always carries the wallet's original, unnormalized value. Names fall back to shipping contact values when billing values are missing or blank. Creating KycInfo from an Apple Pay payment still requires a usable name or billing address; email or phone alone is insufficient.
  • [Changed] Apple Pay can now be presented via CryptoOnrampCoordinator.collectPaymentMethod(type:from:) before the user authenticates with Link. createCryptoPaymentToken() still requires an authenticated user.
  • [Added] Added an optional countryHint parameter to CryptoOnrampCoordinator.create(...), used to help select a merchant of record for a customer who does not yet have an established KYC region.
  • [Added] Added STPAPIClient.CryptoOnrampAPIError.missingLinkSessionKey to report when a Link session key is unavailable.
  • [Added] Added CryptoOnrampCoordinator.fulfillKYCRequirement(from:) to retrieve additional KYC requirements and present document collection when needed.

PaymentSheet

  • [Added] Added MoMo API bindings and PaymentSheet support for PaymentIntents.
  • [Added] Added GoPay API bindings and PaymentSheet support for PaymentIntents.
  • [Added] Added ShopeePay API bindings and PaymentSheet support for PaymentIntents.

26.12.1

Choose a tag to compare

@mats-stripe mats-stripe released this 28 Sep 19:20
26.12.1

26.12.1 2026-09-28

Financial Connections

  • [Fixed] Preserved no_eligible_accounts in onEvent error callbacks instead of reporting it as unexpected_error.
  • [Fixed] Recorded native onEvent emissions with the session context for diagnostics.

Payments

  • [Added] Added API bindings for Pix.

PaymentSheet

  • [Added] Added support for Pix payments.

26.12.0

Choose a tag to compare

@porter-stripe porter-stripe released this 22 Sep 17:20
26.12.0
bc51b33

26.12.0 2026-09-21

CryptoOnramp (Alpha)

  • [Removed] Removed public exposure of StripeCryptoOnramp.Image, including Image.linkIconSquare.
  • [Added] Added CryptoOnrampCoordinator.presentTermsAndConditionsIfNeeded(from:) and presentTermsOfServiceIfNeeded(from:) to present and record acceptance of current partner terms when required. Both methods return PartnerTermsResult.

StripeCore

  • [Added] Added additionalHeaders support to the STPAPIClient GET, POST, and DELETE APIs exposed through the STP SPI.

PaymentSheet

  • [Fixed] Fixed card funding warnings not appearing after scanning a card.

26.11.0

Choose a tag to compare

@joyceqin-stripe joyceqin-stripe released this 14 Sep 19:08
26.11.0

26.11.0 2026-09-14

General

  • [Added] Added support for Welsh.

Payments

  • [Added] Added API bindings for Scalapay.

PaymentSheet

  • [Added] Added support for Scalapay.