AttachPaymentMethodRequest

data class AttachPaymentMethodRequest(val customer: String? = null, val account: String? = null)

Request body for attaching a payment method to a customer or merchant account.

At least one of customer or account should be provided.

Constructors

Link copied to clipboard
constructor(customer: String? = null, account: String? = null)

Properties

Link copied to clipboard
val account: String? = null

Identifier of the merchant account to attach the payment method to.

Link copied to clipboard
val customer: String? = null

Identifier of the customer to attach the payment method to.