SCPConfirmConfiguration

Objective-C


@interface SCPConfirmConfiguration : NSObject <NSCopying>

Swift

class ConfirmConfiguration : NSObject, NSCopying

The ConfirmConfiguration contains configuration information relevant to confirming a payment intent.

  • Apply a surcharge to a transaction

    updatePaymentIntent must be set to true for to surcharge on a payment method

    Defaults to nil.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSNumber *amountSurcharge;

    Swift

    var amountSurcharge: NSNumber? { get }
  • The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method’s app or site. If you’d prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.

    This parameter is only used for redirect-based payment methods.

    Defaults to nil.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *returnUrl;

    Swift

    var returnUrl: String? { get }
  • Unavailable

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    Declaration

    Objective-C

    + (nonnull instancetype)new;