Payment
-
A PaymentIntent tracks the process of collecting a payment from your customer. We recommend that you create exactly one PaymentIntent for each order or customer session in your system. You can reference the PaymentIntent later to see the history of payment attempts for a particular session.
A PaymentIntent transitions through multiple statuses throughout its lifetime and ultimately creates at most one successful charge.
https://stripe.com/docs/api/payment_intents
See moreDeclaration
Objective-C
@interface SCPPaymentIntent : NSObject <SCPJSONDecodable, NSCopying>
Swift
class PaymentIntent : NSObject, JSONDecodable, NSCopying
-
Parameters for creating an
See moreSCPPaymentIntent
. Pass an object of this type intoTerminal.shared.createPaymentIntent()
.Declaration
Objective-C
@interface SCPPaymentIntentParameters : NSObject
Swift
class PaymentIntentParameters : NSObject
-
The possible statuses for a PaymentIntent.
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-status
See moreDeclaration
Objective-C
enum SCPPaymentIntentStatus : NSUInteger {}
Swift
enum PaymentIntentStatus : UInt
-
Declaration
Objective-C
enum SCPPaymentStatus : NSUInteger {}
Swift
enum PaymentStatus : UInt
-
Parameters that will be applied to the card present PaymentIntent.
See moreDeclaration
Objective-C
@interface SCPCardPresentParameters : NSObject
Swift
class CardPresentParameters : NSObject
-
An object representing details from a transaction using a card_present payment method.
See moreDeclaration
Objective-C
@interface SCPCardPresentDetails : NSObject <SCPJSONDecodable>
Swift
class CardPresentDetails : NSObject, JSONDecodable
-
Receipt details associated with a card present transaction.
See
https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-receiptDeclaration
Objective-C
@interface SCPReceiptDetails : NSObject <SCPJSONDecodable, NSCopying>
Swift
class ReceiptDetails : NSObject, JSONDecodable, NSCopying
-
An error from
See more-[SCPTerminal processPayment:completion:]
.Declaration
Objective-C
@interface SCPProcessPaymentError : NSError
Swift
class ProcessPaymentError : NSError
-
The various card brands for a card.
See moreDeclaration
Objective-C
enum SCPCardBrand : NSInteger {}
Swift
enum CardBrand : Int
-
The various funding sources for a card.
See moreDeclaration
Objective-C
enum SCPCardFundingType : NSInteger {}
Swift
enum CardFundingType : Int
-
Declaration
Objective-C
@interface SCPCharge : NSObject <SCPJSONDecodable>
Swift
class Charge : NSObject, JSONDecodable
-
The possible statuses for a charge
See moreDeclaration
Objective-C
enum SCPChargeStatus : NSUInteger {}
Swift
enum ChargeStatus : UInt
-
Details about a PaymentMethod at a specific time. ex: at time of transaction for a Charge.
Unlike an SCPPaymentMethod, the details object does not have a
See morestripeId
, and only exists as a sub-object of another Stripe object.Declaration
Objective-C
@interface SCPPaymentMethodDetails : NSObject <SCPJSONDecodable>
Swift
class PaymentMethodDetails : NSObject, JSONDecodable
-
Contains details about a user’s credit card.
See moreDeclaration
Objective-C
@interface SCPCardDetails : NSObject <SCPJSONDecodable>
Swift
class CardDetails : NSObject, JSONDecodable
-
PaymentMethod objects represent your customer’s payment instruments. They can be used with PaymentIntents to collect payments, or saved to Customer objects to store instrument details for future payments.
See moreDeclaration
Objective-C
@interface SCPPaymentMethod : NSObject <SCPJSONDecodable>
Swift
class PaymentMethod : NSObject, JSONDecodable
-
The type of the PaymentMethod.
See moreDeclaration
Objective-C
enum SCPPaymentMethodType : NSUInteger {}
Swift
enum PaymentMethodType : UInt
-
The
See morePaymentMethodOptionsParameters
contains options for PaymentMethod creation.Declaration
Objective-C
@interface SCPPaymentMethodOptionsParameters : NSObject
Swift
class PaymentMethodOptionsParameters : NSObject
-
The
See moreCollectConfiguration
contains configuration information relevant to collecting a payment method.Declaration
Objective-C
@interface SCPCollectConfiguration : NSObject
Swift
class CollectConfiguration : NSObject