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
-
Builder class for
See moreSCPPaymentIntentParameters
.Declaration
Objective-C
@interface SCPPaymentIntentParametersBuilder : SCPBuilder <SCPPaymentIntentParameters *>
Swift
class PaymentIntentParametersBuilder : SCPBuilder<PaymentIntentParameters>
-
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, @unchecked Sendable
-
Declaration
Objective-C
enum SCPPaymentStatus : NSUInteger {}
Swift
enum PaymentStatus : UInt, @unchecked Sendable
-
Contains details about items included in the [PaymentIntent] amount
See moreDeclaration
Objective-C
@interface SCPAmountDetails : NSObject <SCPJSONDecodable, NSCopying>
Swift
class SCPAmountDetails : NSObject, JSONDecodable, NSCopying
-
Contains details about tips
For more information, see the official Stripe docs: Collect on-reader tips
See moreDeclaration
Objective-C
@interface SCPTip : NSObject <SCPJSONDecodable, NSCopying>
Swift
class SCPTip : NSObject, JSONDecodable, NSCopying
-
Parameters that will be applied to the card present PaymentIntent.
See moreDeclaration
Objective-C
@interface SCPCardPresentParameters : NSObject <SCPJSONDecodable, NSCopying>
Swift
class CardPresentParameters : NSObject, JSONDecodable, NSCopying
-
Builder class for
See moreSCPCardPresentParameters
.Declaration
Objective-C
@interface SCPCardPresentParametersBuilder : SCPBuilder <SCPCardPresentParameters *>
Swift
class CardPresentParametersBuilder : SCPBuilder<CardPresentParameters>
-
Capture Method values that can be used as card-present payment method options.
See moreDeclaration
Objective-C
enum SCPCardPresentCaptureMethod : NSUInteger {}
Swift
enum CardPresentCaptureMethod : UInt, @unchecked Sendable
-
Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
See moreDeclaration
Objective-C
enum SCPCardPresentRouting : NSUInteger {}
Swift
enum CardPresentRouting : UInt, @unchecked Sendable
-
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 confirmPaymentIntent:completion:]
.Declaration
Objective-C
@interface SCPConfirmPaymentIntentError : NSError
Swift
class ConfirmPaymentIntentError : NSError
-
The various card brands for a card.
See moreDeclaration
Objective-C
enum SCPCardBrand : NSInteger {}
Swift
enum CardBrand : Int, @unchecked Sendable
-
The various funding sources for a card.
See moreDeclaration
Objective-C
enum SCPCardFundingType : NSInteger {}
Swift
enum CardFundingType : Int, @unchecked Sendable
-
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, @unchecked Sendable
-
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, @unchecked Sendable
-
The
See morePaymentMethodOptionsParameters
contains options for PaymentMethod creation.Declaration
Objective-C
@interface SCPPaymentMethodOptionsParameters : NSObject <SCPJSONDecodable, NSCopying>
Swift
class PaymentMethodOptionsParameters : NSObject, JSONDecodable, NSCopying
-
Builder class for
See moreSCPPaymentMethodOptionsParameters
.Declaration
Objective-C
@interface SCPPaymentMethodOptionsParametersBuilder : SCPBuilder <SCPPaymentMethodOptionsParameters *>
Swift
class PaymentMethodOptionsParametersBuilder : SCPBuilder<PaymentMethodOptionsParameters>
-
The
See moreCollectConfiguration
contains configuration information relevant to collecting a payment method.Declaration
Objective-C
@interface SCPCollectConfiguration : NSObject <NSCopying>
Swift
class CollectConfiguration : NSObject, NSCopying
-
The
See moreCollectConfigurationBuilder
is used to create aCollectConfiguration
object.Declaration
Objective-C
@interface SCPCollectConfigurationBuilder : SCPBuilder <SCPCollectConfiguration *>
Swift
class CollectConfigurationBuilder : SCPBuilder<CollectConfiguration>
-
The
See moreConfirmConfiguration
contains configuration information relevant to confirming a payment intent.Declaration
Objective-C
@interface SCPConfirmConfiguration : NSObject <NSCopying>
Swift
class ConfirmConfiguration : NSObject, NSCopying
-
The
See moreConfirmConfigurationBuilder
is used to create aConfirmConfiguration
object.Declaration
Objective-C
@interface SCPConfirmConfigurationBuilder : SCPBuilder <SCPConfirmConfiguration *>
Swift
class ConfirmConfigurationBuilder : SCPBuilder<ConfirmConfiguration>
-
The
See moreSetupIntentConfiguration
contains configuration information relevant to collecting a payment method for an SCPSetupIntent.Declaration
Objective-C
@interface SCPSetupIntentConfiguration : NSObject <NSCopying>
Swift
class SetupIntentConfiguration : NSObject, NSCopying
-
The
See moreSetupIntentConfigurationBuilder
is used to create aSetupIntentConfiguration
object.Declaration
Objective-C
@interface SCPSetupIntentConfigurationBuilder : SCPBuilder <SCPSetupIntentConfiguration *>
Swift
class SetupIntentConfigurationBuilder : SCPBuilder<SetupIntentConfiguration>
-
The
See moreRefundConfiguration
contains configuration information relevant to refunding a payment.Declaration
Objective-C
@interface SCPRefundConfiguration : NSObject <NSCopying>
Swift
class RefundConfiguration : NSObject, NSCopying
-
The
See moreRefundConfigurationBuilder
is used to create aRefundConfiguration
object.Declaration
Objective-C
@interface SCPRefundConfigurationBuilder : SCPBuilder <SCPRefundConfiguration *>
Swift
class RefundConfigurationBuilder : SCPBuilder<RefundConfiguration>
-
@abstract Controls when the funds will be captured from the customer’s account.
See
https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=ios#capture-paymentDeclaration
Objective-C
enum SCPCaptureMethod : NSUInteger {}
Swift
enum CaptureMethod : UInt, @unchecked Sendable
-
The
See moreCreateConfiguration
contains configuration relevant to creating a payment intent.Declaration
Objective-C
@interface SCPCreateConfiguration : NSObject
Swift
class CreateConfiguration : NSObject
-
Builder class for
See moreSCPCreateConfiguration
.Declaration
Objective-C
@interface SCPCreateConfigurationBuilder : SCPBuilder <SCPCreateConfiguration *>
Swift
class CreateConfigurationBuilder : SCPBuilder<CreateConfiguration>
-
The available operating modes that define how payment intents respond to changes in network connectivity.
See moreDeclaration
Objective-C
enum SCPOfflineBehavior : NSInteger {}
Swift
enum OfflineBehavior : Int, @unchecked Sendable
-
Contains details about the payment method used to process a PaymentIntent offline.
See moreDeclaration
Objective-C
@interface SCPOfflineCardPresentDetails : NSObject <NSCopying>
Swift
class OfflineCardPresentDetails : NSObject, NSCopying
-
The payment details available via intent.offlineDetails when a payment is created or confirmed while offline.
When an intent is created offline, the intent.stripeId will be nil. To keep track of offline payments, we recommend using the intent.metadata with your own identifiers.
See moreDeclaration
Objective-C
@interface SCPOfflineDetails : NSObject <NSCopying>
Swift
class OfflineDetails : NSObject, NSCopying
-
Contains status and statistics relevant to operating offline.
See moreDeclaration
Objective-C
@interface SCPOfflineStatusDetails : NSObject
Swift
class OfflineStatusDetails : NSObject
-
Contains details about the availability and maximum amount for surcharging on this PaymentIntent.
See moreDeclaration
Objective-C
@interface SCPSurcharge : NSObject <SCPJSONDecodable, NSCopying>
Swift
class Surcharge : NSObject, JSONDecodable, NSCopying
-
The
See moreTippingConfiguration
contains configuration information relevant to collecting tips.Declaration
Objective-C
@interface SCPTippingConfiguration : NSObject <NSCopying>
Swift
class TippingConfiguration : NSObject, NSCopying
-
A builder class for
See moreSCPTippingConfiguration
.Declaration
Objective-C
@interface SCPTippingConfigurationBuilder : SCPBuilder <SCPTippingConfiguration *>
Swift
class TippingConfigurationBuilder : SCPBuilder<TippingConfiguration>
-
Contains information about card networks that can be used to process the payment.
See
https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-networks-availableDeclaration
Objective-C
@interface SCPNetworks : NSObject <SCPJSONDecodable>
Swift
class SCPNetworks : NSObject, JSONDecodable
-
Represents the ability for a PaymentIntent to be incrementally authorized.
See moreDeclaration
Objective-C
enum SCPIncrementalAuthorizationStatus : NSUInteger {}
Swift
enum SCPIncrementalAuthorizationStatus : UInt, @unchecked Sendable
-
How card details were read in this transaction.
See moreDeclaration
Objective-C
enum SCPReadMethod : NSUInteger {}
Swift
enum SCPReadMethod : UInt, @unchecked Sendable
-
If this payment is part of a card wallet, this contains the details of the card wallet.
See moreDeclaration
Objective-C
@interface SCPWallet : NSObject <SCPJSONDecodable>
Swift
class SCPWallet : NSObject, JSONDecodable
-
Contains details about a user’s wechat_payment
See moreDeclaration
Objective-C
@interface SCPWechatPayDetails : NSObject <SCPJSONDecodable>
Swift
class WechatPayDetails : NSObject, JSONDecodable