Skip to main content

Usage

Parameters

string
required
The amount to transfer.
Currency
required
The fiat currency for the transfer (e.g., Currency.ARS, Currency.PEN).
string
Optional recipient name.
PaymentDestinationInformation
required
The payment destination information. Contains a required field paymentId (e.g. ‘CBU/CVU’ for Argentina or ‘CCI’ for Peru). Could include additional attributes for other countries banking systems.
The paymentId must be whitelisted by Lemon before it can be used. If you need to change or add a new paymentId, contact the Lemon team first — otherwise the transfer will fail.

Returns

TransactionResult
The result of the transfer attempt.
  • SUCCESS: The transfer was successful.
  • FAILED: The transfer failed.
  • CANCELLED: The transfer was cancelled by the user.
  • PENDING: The transfer is pending confirmation.
object
Contains the transfer identifier. Present when the result is SUCCESS or PENDING.
  • transferId: The unique identifier of the transfer.
MiniAppError
Contains the error information when the transfer fails. Only present when the result is FAILED.
  • message: The error message.
  • code: The error code.

Demo

Deposit

Deposit funds to your Mini App Wallet.

Withdraw

Withdraw funds from your Mini App Wallet.