Represents the request for initiating withdrawal.

interface WithdrawalRequest {
    amount: number;
    currencyCode: string;
    deviceInfo?: DeviceInfo;
    merchantRefNum?: string;
    paymentInstrumentReference?: PaymentInstrumentReference;
    paymentOption: PaymentOptionType;
    paymentProperties?: PaymentProperty[];
}

Properties

amount: number

withdrawal amount in currency minor units.

currencyCode: string

Currency alphabetic code as specified by ISO 4217.

Example

"EUR"
deviceInfo?: DeviceInfo

Device information.

merchantRefNum?: string

This is the merchant reference number created by the merchant and submitted as part of the request. It must be unique for each request and allows cross referencing objects from merchant system to embedded wallet objects.

paymentInstrumentReference?: PaymentInstrumentReference

The payment instrument reference.

paymentOption: PaymentOptionType

The payment option.

paymentProperties?: PaymentProperty[]

Payment properties.