CardDepositRequest

data class CardDepositRequest(val amount: Long, val currencyCode: String, val paymentInstrumentReference: PaymentInstrumentReference? = null, val merchantRefNum: String? = null, val returnUrl: String, val method: HttpRequestMethod)

Data class representing an Card Deposit preview request object.

Constructor for the Outsourced Deposit flow. In the outsourced flow, users enter card details and then the result is returned to the client application, which handles the confirmation and finalizes the deposit.

Constructors

Link copied to clipboard
constructor(amount: Long, currencyCode: String, paymentInstrumentReference: PaymentInstrumentReference?, merchantRefNum: String?)

Constructor for the Embedded Deposit flow. In the embedded flow, users review deposit details and complete 3DS within the app. The result is then returned to the client application.

constructor(amount: Long, currencyCode: String, paymentInstrumentReference: PaymentInstrumentReference? = null, merchantRefNum: String? = null, returnUrl: String, method: HttpRequestMethod)

Properties

Link copied to clipboard

Deposit amount in currency minor units.

Link copied to clipboard

Currency alphabetic code as specified by ISO 4217.

Link copied to clipboard
val merchantRefNum: String? = null

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.

Link copied to clipboard

HTTP Request method to use with return URL.

Link copied to clipboard

Represents a reference to a Payment Instrument, used for Deposit or Withdrawal.

Link copied to clipboard

URL to which the user will be redirected during 3DS flow.