STPSourceFlow

@objc
public enum STPSourceFlow : Int

Authentication flows for a Source

  • No action is required from your customer. @note WeChat Pay Sources also have this flow type.

    Declaration

    Swift

    case none
  • Your customer must be redirected to their online banking service (either a website or mobile banking app) to approve the payment.

    Declaration

    Swift

    case redirect
  • Your customer must verify ownership of their account by providing a code that you post to the Stripe API for authentication.

    Declaration

    Swift

    case codeVerification
  • Your customer must push funds to the account information provided.

    Declaration

    Swift

    case receiver
  • The source’s flow is unknown.

    Declaration

    Swift

    case unknown