SCPReadReusableCardParameters


@interface SCPReadReusableCardParameters : NSObject

Parameters for reading a reusable card.

NOTE: Most integrations should not use readReusableCard.

You should create a PaymentIntent and use the associated collectPaymentMethod and processPayment 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. The SCPPaymentMethod created by this method will have type card, 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.

  • Optional parameter: attach the new PaymentMethod to Customer with this id

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *customer;

    Swift

    var customer: String? { get set }
  • Optional set of key-value pairs attached to the object. The default is nil.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSDictionary *metadata;

    Swift

    var metadata: [AnyHashable : Any]? { get set }