Defines enums for Stripe PaymentIntent status and future usage, used in payment flows.
// Source: https://github.com/stripe/stripe-ios | License: MIT | Copyright 2011- Stripe, Inc. (https://stripe.com)
// Provided via justclaw.it.com; keep this notice with the code.
//
// STPPaymentIntentEnums.swift
// StripePayments
//
// Created by Daniel Jackson on 6/27/18.
// Copyright © 2018 Stripe, Inc. All rights reserved.
//
import Foundation
/// Status types for an STPPaymentIntent
@objc public enum STPPaymentIntentStatus: Int {
/// Unknown status
case unknown
/// This PaymentIntent requires a PaymentMethod or Source
case requiresPaymentMethod
/// This PaymentIntent needs to be confirmed
case requiresConfirmation
/// The selected PaymentMethod or Source requires additional authentication steps.
/// Additional actions found via `next_action`
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key