Create Card Payment Method Request
data class CreateCardPaymentMethodRequest(val type: FrameObjects.PaymentMethodType = FrameObjects.PaymentMethodType.CARD, var cardNumber: String, val expMonth: String, val expYear: String, var cvc: String, val customer: String? = null, val account: String? = null, val billing: FrameObjects.BillingAddress? = null)
Request body for creating a card payment method.
Constructors
Link copied to clipboard
constructor(type: FrameObjects.PaymentMethodType = FrameObjects.PaymentMethodType.CARD, cardNumber: String, expMonth: String, expYear: String, cvc: String, customer: String? = null, account: String? = null, billing: FrameObjects.BillingAddress? = null)
Properties
Link copied to clipboard
Optional billing address to attach to this payment method.
Link copied to clipboard
The card number. Encrypted via Evervault before transmission when PaymentMethodsAPI.createCardPaymentMethod is called with encryptData = true.
Link copied to clipboard
The card verification code. Encrypted via Evervault before transmission when PaymentMethodsAPI.createCardPaymentMethod is called with encryptData = true.
Link copied to clipboard
Payment method type; always FrameObjects.PaymentMethodType.CARD.