Money movements
| Movement | How it starts | With a key? | Follow it with |
|---|---|---|---|
| Deposit (bank) | Someone pays into the account’s pay-in details | Read the details | deposit.credited webhook, activity |
| Internal transfer | POST /v1/accounts/{id}/transfers |
Yes, move scope |
The returned instruction, approval.waiting |
| Currency conversion | POST /v1/accounts/{id}/fx |
Yes, move scope |
The returned conversion, GET /v1/accounts/{id}/fx |
| Withdrawal (bank) | In the app, with the person’s code | No | withdrawal.settled / withdrawal.failed |
| Digital asset received | Someone sends to the account’s address | Read the address | crypto.received |
| Digital asset sent | In the app, with the person’s code | No | crypto.sent / crypto.failed |
Instructions
Section titled “Instructions”Transfers and withdrawals are instructions: requests to move money or assets, with a lifecycle.
draft ─► pending_approval ─► (in_review ─►) approved ─► executing ─► settled └──► failed ─► executing (retry)any state before executing ─► cancelled| State | Meaning |
|---|---|
pending_approval |
The account’s approval policy needs more approvals (approval.waiting fires) |
in_review |
IDEALX checks money leaving this kind of account |
approved |
Ready to run |
executing |
Running on the rail |
settled |
Done |
failed |
The rail refused or returned it; may be retried |
cancelled |
Stopped before it ran |
An internal transfer between two portfolios usually settles at once. The instruction carries kind
(internal_transfer, withdrawal, crypto_withdrawal), amount (or position when units of an investment moved),
reference, your note and any attachments. A receipt PDF is at GET /v1/instructions/{id}/receipt.pdf.
Conversions
Section titled “Conversions”GET /v1/fx/quote prices a conversion (amount to convert, or want to receive an exact amount); the rate includes
IDEALX’s margin (marginIncluded: true). POST /v1/accounts/{id}/fx converts cash in one portfolio; the conversion’s
state is placing, done or failed. GET /v1/fx/pairs lists which currencies convert into which right now.
Endpoints
Section titled “Endpoints”- GET
/v1/accounts/{id}/deposit-detailsThe account details to pay into (issued on first request) - GET
/v1/bank-schemesThe ways to pay a currency and the details each needs (the usual one first) - POST
/v1/accounts/{id}/transfersMove cash, or units of an investment, between two portfolios of this account - GET
/v1/accounts/{id}/instructionsTransfers and withdrawals on this account - GET
/v1/fx/pairsWhich currencies convert into which, right now - GET
/v1/fx/quoteWhat an amount converts to, or (with want) what it costs to receive an amount - POST
/v1/accounts/{id}/fxConvert cash in a portfolio from one currency to another - GET
/v1/accounts/{id}/fxCurrency conversions on this account - GET
/v1/accounts/{id}/recurring-paymentsRecurring Payments of the account, newest first - GET
/v1/accounts/{id}/crypto/receiveWhere to send a coin on a network, with its memo when the network needs one - GET
/v1/accounts/{id}/crypto/incomingCoins on their way in and received, by coin and network