STPSourceStatus

@objc
public enum STPSourceStatus : Int

Status types for a Source

  • The source has been created and is awaiting customer action.

    Declaration

    Swift

    case pending
  • The source is ready to use. The customer action has been completed or the payment method requires no customer action.

    Declaration

    Swift

    case chargeable
  • The source has been used. This status only applies to single-use sources.

    Declaration

    Swift

    case consumed
  • The source, which was chargeable, has expired because it was not used to make a charge request within a specified amount of time.

    Declaration

    Swift

    case canceled
  • Your customer has not taken the required action or revoked your access (e.g., did not authorize the payment with their bank or canceled their mandate acceptance for SEPA direct debits).

    Declaration

    Swift

    case failed
  • The source status is unknown.

    Declaration

    Swift

    case unknown