WithdrawalRequest

data class WithdrawalRequest(val amount: Long, val currencyCode: String, val paymentOption: PaymentOptionType, val paymentInstrumentReference: PaymentInstrumentReference?, val merchantRefNum: String? = null, val paymentProperties: List<PaymentProperty>? = null, val type: PaymentType? = null, val description: String? = null, val recipientReference: String? = null)

Data class representing a Withdrawal preview request object.

Constructors

Link copied to clipboard
constructor(amount: Long, currencyCode: String, paymentOption: PaymentOptionType, paymentInstrumentReference: PaymentInstrumentReference?, merchantRefNum: String? = null, paymentProperties: List<PaymentProperty>? = null, type: PaymentType? = null, description: String? = null, recipientReference: String? = null)

Properties

Link copied to clipboard

Amount of the withdrawal in minor units.

Link copied to clipboard

Currency alphabetic code as specified by ISO 4217.

Link copied to clipboard
val description: String? = null

Description of the payment.

Link copied to clipboard
val merchantRefNum: String? = null

Merchant Reference Id. Identifier of transaction at merchant side.

Link copied to clipboard

Payment instrument reference to existing verified payment instrument.

Link copied to clipboard

Enumeration of supported Payment Option Types

Link copied to clipboard

Additional payment configuration properties.

Link copied to clipboard

Withdrawal recipient id of ACTIVE withdrawal recipient for THIRD_PARTY withdrawals. If not specified during THIRD_PARTY Withdrawal creation, the withdrawal recipient must be specified during the first withdrawal step.

Link copied to clipboard
val type: PaymentType? = null

Type of the payment.