Changes
- [Changed] Renamed the Crypto Onramp error status enum from
OnrampErrortoOnrampErrorStatus. Existing generic Onramp errors now useStripeError<OnrampErrorStatus>. - [Changed] Split rich Crypto Onramp errors into
OnrampSdkErrorfor SDK-owned diagnostics andOnrampApiErrorfor API response context. Rich SDK errors use anonrampErrorTypediscriminator typed asOnrampErrorType, while API errors narrow it toOnrampApiErrorTypeand add fields such asreason,requestId, and API message/code details. - [Fixed] Android:
PaymentMethod.Card.availableNetworksandPaymentMethod.USBankAccount.supportedNetworksnow return the expected array of network strings instead of always returningnull, matching iOS behavior.
Features
- [Added] Added
AppAttestationUnavailableErrorfor local SDK app attestation availability/setup failures. - [Added] Added Crypto Onramp wallet ownership verification APIs,
getWalletOwnershipChallengeandsubmitWalletOwnershipSignature, for EU Travel Rule compliance. - [Added] Added Arbitrum network support to Crypto Onramp.