WithdrawRequest class

Constructors

WithdrawRequest()

Properties

account String
(optional) The stellar account ID of the user that wants to do the withdrawal. This is only needed if the anchor requires KYC information for withdrawal. The anchor can use account to look up the user's KYC information.
read / write
amount String
(optional) The amount of the asset the user would like to deposit with the anchor. This field may be necessary for the anchor to determine what KYC information is necessary to collect.
read / write
assetCode String
Code of the asset the user wants to withdraw. The value passed must match one of the codes listed in the /info response's withdraw object.
read / write
countryCode String
(optional) The ISO 3166-1 alpha-3 code of the user's current address. This field may be necessary for the anchor to determine what KYC information is necessary to collect.
read / write
dest String
The account that the user wants to withdraw their funds to. This can be a crypto account, a bank account number, IBAN, mobile number, or email address.
read / write
destExtra String
(optional) Extra information to specify withdrawal location. For crypto it may be a memo in addition to the dest address. It can also be a routing number for a bank, a BIC, or the name of a partner handling the withdrawal.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
jwt String
jwt previously received from the anchor via the SEP-10 authentication flow
read / write
lang String
(optional) Defaults to en. Language code specified using ISO 639-1. error fields in the response should be in this language.
read / write
memo String
(optional) A wallet will send this to uniquely identify a user if the wallet has multiple users sharing one Stellar account. The anchor can use this along with account to look up the user's KYC info.
read / write
memoType String
(optional) Type of memo. One of text, id or hash.
read / write
onChangeCallback String
(optional) A URL that the anchor should POST a JSON message to when the status property of the transaction created as a result of this request changes. The JSON message should be identical to the response format for the /transaction endpoint.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
Type of withdrawal. Can be: crypto, bank_account, cash, mobile, bill_payment or other custom values
read / write
walletName String
(optional) In communications / pages about the withdrawal, anchor should display the wallet name to the user to explain where funds are coming from.
read / write
walletUrl String
(optional) Anchor can show this to the user when referencing the wallet involved in the withdrawal (ex. in the anchor's transaction history).
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited