STPConfirmCardOptions

Objective-C

@interface STPConfirmCardOptions : NSObject <STPFormEncodable>

Swift

class STPConfirmCardOptions : NSObject, STPFormEncodable

Options to update a Card PaymentMethod during PaymentIntent confirmation.

  • cvc

    CVC value with which to update the Card PaymentMethod.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *cvc;

    Swift

    var cvc: String? { get set }
  • Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *network;

    Swift

    var network: String? { get set }