Other Constants

The following constants are available globally.

UserInfo keys

  • If a refund fails, the reason for refund failure if known. Possible values are lost_or_stolen_card, expired_or_canceled_card, or unknown.

    Declaration

    Objective-C

    extern SCPErrorKey _Nonnull SCPErrorKeyStripeAPIFailureReason

    Swift

    static let stripeAPIFailureReason: ErrorKey
  • The current version of this library.

    Declaration

    Objective-C

    static NSString *const _Nonnull SCPSDKVersion = @"1.4.0"

    Swift

    let SCPSDKVersion: String