Card-Present Refunds
-
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 SDK returns this object for both in-person refunds and Refunds created without collecting a payment method. Use
See moreprocessRefundfor payment methods that require in-person collection.Declaration
Objective-C
@interface SCPRefund : NSObjectSwift
class Refund : NSObject -
Parameters for confirming a refund without collecting a payment method.
See moreNote
This feature is in private preview and is subject to change.
Declaration
Objective-C
@interface SCPConfirmRefundParameters : NSObjectSwift
class ConfirmRefundParameters : NSObject -
Builder class for
See moreSCPConfirmRefundParameters.Declaration
Objective-C
@interface SCPConfirmRefundParametersBuilder : SCPBuilder <SCPConfirmRefundParameters *>Swift
class ConfirmRefundParametersBuilder : SCPBuilder<ConfirmRefundParameters> -
Builder class for
See moreSCPProcessRefundParameters.Declaration
Objective-C
@interface SCPProcessRefundParametersBuilder : SCPBuilder <SCPProcessRefundParameters *>Swift
class ProcessRefundParametersBuilder : SCPBuilder<ProcessRefundParameters> -
An error from
See moreconfirmRefundorprocessRefund.Declaration
Objective-C
@interface SCPConfirmRefundError : NSErrorSwift
class ConfirmRefundError : NSError -
Describes an action required to continue processing a Refund.
See moreDeclaration
Objective-C
@interface SCPRefundNextAction : NSObject <NSCopying>Swift
class RefundNextAction : NSObject, NSCopying -
Details to display while a Refund requires additional action.
See moreDeclaration
Objective-C
@interface SCPRefundNextActionDisplayDetails : NSObject <NSCopying>Swift
class RefundNextActionDisplayDetails : NSObject, NSCopying -
Details about an email containing refund instructions.
See moreDeclaration
Objective-C
@interface SCPRefundNextActionDisplayDetailsEmailSent : NSObject <NSCopying>Swift
class RefundNextActionDisplayDetailsEmailSent : NSObject, NSCopying -
The reason for a refund.
Declaration
Objective-C
typedef NSString *SCPRefundReasonSwift
struct RefundReason : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable -
The Refund was created because the charge was duplicated.
Declaration
Objective-C
extern const SCPRefundReason _Nonnull SCPRefundReasonDuplicateSwift
static let duplicate: RefundReason -
The Refund was created because the charge was fraudulent.
Declaration
Objective-C
extern const SCPRefundReason _Nonnull SCPRefundReasonFraudulentSwift
static let fraudulent: RefundReason -
The Refund was requested by the customer.
Declaration
Objective-C
extern const SCPRefundReason _Nonnull SCPRefundReasonRequestedByCustomerSwift
static let requestedByCustomer: RefundReason -
The possible statuses for a refund.
See moreDeclaration
Objective-C
enum SCPRefundStatus : NSUInteger {}Swift
enum RefundStatus : UInt, @unchecked Sendable
Card-Present Refunds Reference