CreateACHPaymentMethodRequest

data class CreateACHPaymentMethodRequest(val type: FrameObjects.PaymentMethodType = FrameObjects.PaymentMethodType.ACH, val accountType: FrameObjects.PaymentAccountType, val accountNumber: String, val routingNumber: String, val customer: String? = null, val account: String? = null, val billing: FrameObjects.BillingAddress? = null)

Request body for creating an ACH bank-account payment method.

Constructors

Link copied to clipboard
constructor(type: FrameObjects.PaymentMethodType = FrameObjects.PaymentMethodType.ACH, accountType: FrameObjects.PaymentAccountType, accountNumber: String, routingNumber: String, customer: String? = null, account: String? = null, billing: FrameObjects.BillingAddress? = null)

Properties

Link copied to clipboard
val account: String? = null

Optional identifier of the merchant account to associate with this payment method.

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

The bank account number.

Link copied to clipboard
@SerializedName(value = "account_type")
val accountType: FrameObjects.PaymentAccountType

The bank account type (e.g., checking or savings).

Link copied to clipboard

Optional billing address to attach to this payment method.

Link copied to clipboard
val customer: String? = null

Optional identifier of the customer to associate with this payment method.

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

The nine-digit ABA routing number.

Link copied to clipboard