SCPCardPresentParameters

Objective-C


@interface SCPCardPresentParameters : NSObject

Swift

class CardPresentParameters : NSObject

Parameters that will be applied to the card present PaymentIntent.

  • Using the extended authorizations feature, users in eligible categories can capture up to 31 days later, depending on the card brand.

    Declaration

    Objective-C

    @property (nonatomic) BOOL requestExtendedAuthorization;

    Swift

    var requestExtendedAuthorization: Bool { get set }
  • Allows you to increase the authorized amount on a confirmed PaymentIntent before you capture it. This means you can update the amount on a payment if the estimated price changes or goods and services are added. Before capture, each incremental authorization appears on your customer’s credit card statement as an additional pending charge.

    Declaration

    Objective-C

    @property (nonatomic) BOOL requestIncrementalAuthorizationSupport;

    Swift

    var requestIncrementalAuthorizationSupport: Bool { get set }
  • Initializes a CardPresentParameters

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRequestExtendedAuthorization:
                                (BOOL)requestExtendedAuthorization
                          requestIncrementalAuthorizationSupport:
                              (BOOL)requestIncrementalAuthorizationSupport;

    Swift

    init(requestExtendedAuthorization: Bool, requestIncrementalAuthorizationSupport: Bool)

    Parameters

    requestExtendedAuthorization

    Uses the extended authorization feature to extend capture elgibility

    requestIncrementalAuthorizationSupport

    Uses the incremental authorization feature to allow additional charges before capture

  • Initializes a CardPresentParameters

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRequestExtendedAuthorization:
        (BOOL)requestExtendedAuthorization;

    Swift

    init(requestExtendedAuthorization: Bool)

    Parameters

    requestExtendedAuthorization

    Uses the extended authorization feature to extend capture elgibility

  • Initializes a CardPresentParameters

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRequestIncrementalAuthorizationSupport:
        (BOOL)requestIncrementalAuthorizationSupport;

    Swift

    init(requestIncrementalAuthorizationSupport: Bool)

    Parameters

    requestIncrementalAuthorizationSupport

    Uses the incremental authorization feature to allow additional charges before capture

  • Unavailable

    Use initWithrequestExtendedAuthorization:requiresIncrementalAuthorization:

    Declaration

    Objective-C

    - (nonnull instancetype)init;