SCPSetupIntentCollectionReason

Objective-C

enum SCPSetupIntentCollectionReason : NSUInteger {}

Swift

enum SetupIntentCollectionReason : UInt, @unchecked Sendable

A field used to indicate the reason for Setup Intent Collection. Changing this value can adjust the presented UI during collection. This value is only to be used with Tap To Pay readers.

  • This is the default value for setup intent collection. This value is used to indicate to the user that the presented card will be saved.

    Declaration

    Objective-C

    SCPSetupIntentCollectionReasonSaveCard

    Swift

    case saveCard = 0
  • This value is used to indicate to the user that the presented card will be used for verification purposes.

    Declaration

    Objective-C

    SCPSetupIntentCollectionReasonVerify

    Swift

    case verify = 1