initiate_earnings_move
Move the user's own money into or out of an earnings vault: DEPOSIT from a currency account into Earnings (MORPHO) or Smart Earnings (YO), WITHDRAW back out. Not for sending money (use initiate_payment), converting currencies (use initiate_currency_exchange) or trading (use initiate_crypto_trade). YO has USD and EUR vaults; MORPHO has USD, EUR and MXN. Check balances with get_balance and rates with get_apy_rates first. Creates a request the user approves and signs in the Moneda mobile app. After calling, poll get_payment_status.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"direction": "<direction>",
"vaultProvider": "<vaultProvider>",
"currency": "<currency>",
"amount": "<amount>"
},
"name": "initiate_earnings_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in user-facing units, e.g. '50.00' | |
| currency | Yes | Currency of the account and vault | |
| direction | Yes | DEPOSIT into the vault, or WITHDRAW back to the account | |
| reference | No | Optional note shown on the approval | |
| vaultProvider | Yes | MORPHO = Earnings, YO = Smart Earnings |