Package-level declarations

Types

Link copied to clipboard
@Serializable
data class BankTokenRequest(val externalId: String, val country: CountryModel, val currency: CurrencyModel, val bankAccountDetails: BankAccountFullDetailsModel, val metadata: Map<String, JsonPrimitive>? = null)

Model that holds the bank data to be tokenized.

Link copied to clipboard
@Serializable
data class CardRequest(val externalId: String, val pan: String, val expMonth: String, val expYear: String, val postalCode: String? = null, val nameOnCard: String? = null, val securityCode: String, val metadata: Map<String, JsonPrimitive>? = null)

Model that holds the card data to be created.

Link copied to clipboard
@Serializable
data class CheckRequest(val externalId: String, val currency: CurrencyModel, val amount: Long, var checkServiceFees: List<CheckServiceFeeModel>? = null, val frontImage: String, val backImage: String)

Model that holds the check deposit transaction for a wallet.

Link copied to clipboard
@Serializable
data class LoadFundsRequest(val paymentMethodUuid: String, val externalId: String, val amount: Long, val serviceFees: List<ServiceFeeRequestModel>? = null, val transactionOptions: TransactionOptionsModel? = null, val metadata: Map<String, JsonPrimitive>? = null)

Funds that will be loaded into the user account wallet.

Link copied to clipboard
@Serializable
data class PlaidBankAccountRequest(val externalId: String, val country: CountryModel, val currency: CurrencyModel, val plaidPublicToken: String, val plaidAccountId: String, val metadata: Map<String, JsonPrimitive>? = null)

Plaid Bank.

Link copied to clipboard
@Serializable
data class SendFundsRequest(val destinationWalletUuid: String, var externalId: String, val amount: Long, val serviceFees: List<ServiceFeeRequestModel>? = null, val description: String? = null, val metadata: Map<String, JsonPrimitive>? = null)

Funds that will be send from the user account wallet to another wallet.

Link copied to clipboard
@Serializable
data class TransferFundsRequest(val beneficiaryUuid: String, val payoutMethodUuid: String? = null, val amount: Long, val serviceFees: List<ServiceFeeRequestModel>? = null, val description: String? = null, val externalId: String, val metadata: Map<String, JsonPrimitive>? = null)

Model that holds the transfer funds to a local beneficiary.

Link copied to clipboard
@Serializable
data class WithdrawFundsRequest(val paymentMethodUuid: String, val externalId: String, val amount: Long, val serviceFees: List<ServiceFeeRequestModel>? = null, val transactionOptions: TransactionOptionsModel? = null, val metadata: Map<String, JsonPrimitive>? = null)

Funds that will be withdraw from the user account wallet.