WithdrawalRecipientRequest

data class WithdrawalRecipientRequest(val label: String? = null, val title: String? = null, val firstName: String? = null, val lastName: String? = null, val address: Address? = null, val contactInfo: ContactInformation? = null, val paymentInstrument: RecipientPaymentInstrument, val type: RecipientType? = null, val birthData: String? = null)

Data class representing a withdrawal recipient request.

Constructors

Link copied to clipboard
constructor(label: String? = null, title: String? = null, firstName: String? = null, lastName: String? = null, address: Address? = null, contactInfo: ContactInformation? = null, paymentInstrument: RecipientPaymentInstrument, type: RecipientType? = null, birthData: String? = null)

Properties

Link copied to clipboard
val address: Address? = null

Address of the customer.

Link copied to clipboard
val birthData: String? = null

Birth date in YYYY-MM-DD format.

Link copied to clipboard

Represents contact information.

Link copied to clipboard
val firstName: String? = null

First name. Only latin characters, spaces, single quotes, and hyphens are allowed.

Link copied to clipboard
val label: String? = null

Label for the recipient. Use this field to label the recipient, if you want to make additional payments to the same party. If not specified the label is generated by combining the title, first name, and last name. If ACTIVE recipient with the same label already exists a number suffix is added.

Link copied to clipboard
val lastName: String? = null

Last name. Only latin characters, spaces, single quotes, and hyphens are allowed.

Link copied to clipboard

Represents a payment instrument, used for third-party payments.

Link copied to clipboard
val title: String? = null

Personal title, Mr., Dr., etc.

Link copied to clipboard
val type: RecipientType? = null

Recipient type.