NestedPaymentMethod

data class NestedPaymentMethod(val accountId: String? = null, val type: String? = null, val cardNumber: String? = null, val expMonth: Int? = null, val expYear: Int? = null, val cvc: String? = null, val accountNumber: String? = null, val routingNumber: String? = null, val accountType: String? = null, val cashTag: String? = null, val email: String? = null, val phoneNumber: String? = null, val handle: String? = null, val billing: TransferV2Requests.Address? = null)

Nested payment method create payload under source / destination.

Constructors

Link copied to clipboard
constructor(accountId: String? = null, type: String? = null, cardNumber: String? = null, expMonth: Int? = null, expYear: Int? = null, cvc: String? = null, accountNumber: String? = null, routingNumber: String? = null, accountType: String? = null, cashTag: String? = null, email: String? = null, phoneNumber: String? = null, handle: String? = null, billing: TransferV2Requests.Address? = null)

Properties

Link copied to clipboard
@SerializedName(value = "account_id")
val accountId: String? = null

Account that owns the new payment method.

Link copied to clipboard
@SerializedName(value = "account_number")
val accountNumber: String? = null

Bank account number for an ACH method.

Link copied to clipboard
@SerializedName(value = "account_type")
val accountType: String? = null

Bank account type, such as "checking".

Link copied to clipboard

Billing address for the payment method.

Link copied to clipboard
@SerializedName(value = "card_number")
val cardNumber: String? = null

Card number for a card method.

Link copied to clipboard
@SerializedName(value = "cash_tag")
val cashTag: String? = null

Cash App tag, when that method is used.

Link copied to clipboard
val cvc: String? = null

Card security code.

Link copied to clipboard
val email: String? = null

Email for the payment method, when required.

Link copied to clipboard
@SerializedName(value = "exp_month")
val expMonth: Int? = null

Card expiration month.

Link copied to clipboard
@SerializedName(value = "exp_year")
val expYear: Int? = null

Card expiration year.

Link copied to clipboard
val handle: String? = null

Handle for the payment method, when required.

Link copied to clipboard
@SerializedName(value = "phone_number")
val phoneNumber: String? = null

Phone number for the payment method, when required.

Link copied to clipboard
@SerializedName(value = "routing_number")
val routingNumber: String? = null

ABA routing number for an ACH method.

Link copied to clipboard
val type: String? = null

Payment method type, such as "card" or "ach".