STPSourceStatus
enum STPSourceStatus {}
Status types for a Source
-
The source has been created and is awaiting customer action.
Declaration
Objective-C
STPSourceStatusPending
-
The source is ready to use. The customer action has been completed or the payment method requires no customer action.
Declaration
Objective-C
STPSourceStatusChargeable
-
The source has been used. This status only applies to single-use sources.
Declaration
Objective-C
STPSourceStatusConsumed
-
The source, which was chargeable, has expired because it was not used to make a charge request within a specified amount of time.
Declaration
Objective-C
STPSourceStatusCanceled
-
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
Objective-C
STPSourceStatusFailed
-
The source status is unknown.
Declaration
Objective-C
STPSourceStatusUnknown