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
.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 {}
Swift
enum PaymentIntentStatus : UInt
-
Declaration
Objective-C
enum SCPPaymentStatus {}
-
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>
Swift
class ReceiptDetails : NSObject, JSONDecodable
-
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 {}
Swift
enum CardBrand : Int
-
The various funding sources for a card.
See moreDeclaration
Objective-C
enum SCPCardFundingType {}
Swift
enum CardFundingType : Int
-
Declaration
Objective-C
@interface SCPCharge : NSObject <SCPJSONDecodable>
Swift
class SCPCharge : NSObject, JSONDecodable
-
The possible statuses for a charge
See moreDeclaration
Objective-C
enum SCPChargeStatus {}
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 SCPPaymentMethodDetails : NSObject, JSONDecodable
-
Parameters for reading a reusable card.
NOTE: Most integrations should not use
readReusableCard
.You should create a
PaymentIntent
and use the associatedcollectPaymentMethod
andprocessPayment
methods if you are simply collecting a payment from a customer.You can use
-[SCPTerminal readReusableCard:delegate:completion:]
to read payment details and defer payment for later. TheSCPPaymentMethod
created by this method will have typecard
, suitable for use with online payments.Note that if you use this method to defer a payment, the transaction will not receive the beneficial rates and liability shift associated with card present transactions.
See moreDeclaration
Objective-C
@interface SCPReadReusableCardParameters : NSObject
Swift
class ReadReusableCardParameters : NSObject
-
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 {}
Swift
enum SCPPaymentMethodType : UInt
-
An object representing a Stripe refund.
Some payment methods, like Interac Debit payments, require that in-person payments also be refunded while the cardholder is present. The cardholder must present the Interac card to the card reader; these payments cannot be refunded via the dashboard or the API.
The
collectRefundPaymentMethod:completion
andprocessRefund
SDK methods allow you to build an in-person refund interface into your app.The refund SDK methods and the
See moreSCPRefund
class are only available for payment methods that require in-person refunds, such as Interac Debit. For all other refunds, use the Stripe Dashboard or the Stripe API.Declaration
Objective-C
@interface SCPRefund : NSObject <SCPJSONDecodable>
Swift
class Refund : NSObject, JSONDecodable
-
Declaration
Objective-C
@interface SCPRefundParameters : NSObject
Swift
class RefundParameters : NSObject
-
An error from
See more-[SCPTerminal processRefund:completion:]
.Declaration
Objective-C
@interface SCPProcessRefundError : NSError
Swift
class ProcessRefundError : NSError
-
The possible statuses for a refund.
See moreDeclaration
Objective-C
enum SCPRefundStatus {}
Swift
enum RefundStatus : UInt