Move money in and out
Goal: money in, money between portfolios and currencies, and visibility of money out. Scopes: read, and
move for transfers and conversions. Webhooks: deposit.credited, approval.waiting, withdrawal.settled,
withdrawal.failed.
- Your server to IDEALX: GET /v1/accounts/{id}/deposit-details
- Payer's bank to IDEALX: Bank payment to the details
- IDEALX to Your server: Webhook deposit.credited
- Your server to IDEALX: POST /v1/accounts/{id}/transfers
- IDEALX to Your server: instruction (settled)
- Your server to IDEALX: POST /v1/accounts/{id}/fx
- Account holder (app) to IDEALX: Withdrawal with one-time code
- IDEALX to Your server: Webhook withdrawal.settled
1. Show where to pay in
Section titled “1. Show where to pay in”/v1/accounts/{id}/deposit-detailsThe account details to pay into (issued on first request)
Details are issued the first time you ask. Add currency for another currency the account holds.
curl "$IDEALX_API/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/deposit-details" -H "Authorization: Bearer $IDEALX_API_KEY"{ "currency": "AUD", "accountName": "Sam Taylor", "scheme": "au", "details": [ { "key": "bsb", "label": "BSB", "value": "802-985" }, { "key": "accountNumber", "label": "Account number", "value": "61234567" } ], "methods": [ { "id": "au", "name": "BSB and account number", "details": [ { "key": "bsb", "label": "BSB", "value": "802-985" }, { "key": "accountNumber", "label": "Account number", "value": "61234567" } ] }, { "id": "payid", "name": "PayID", "details": [{ "key": "payId", "label": "PayID", "value": "sam.taylor.7f3k@pay.example.com" }] } ], "bsb": "802-985", "accountNumber": "61234567", "payId": "sam.taylor.7f3k@pay.example.com"}Show details (the usual way to pay, labelled, in order) or let the payer choose from methods. The flat bsb,
accountNumber and payId fields exist for older integrations; use details. A currency without a provider yet
answers 409. Money arrives in the Primary portfolio.
2. React to a deposit
Section titled “2. React to a deposit”{ "id": "whd_01937e5f6a7b8c9d0e1f2a3b4c5d6e7f", "type": "deposit.credited", "createdAt": "2026-11-20T09:30:00.000Z", "data": { "accountId": "acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90", "units": "25000", "currency": "AUD" }}units is minor units: A$250.00. For the payer’s reference and details, read the activity:
curl "$IDEALX_API/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/activity?kind=deposit&period=7d&limit=10" \ -H "Authorization: Bearer $IDEALX_API_KEY"{ "items": [ { "id": "tx:jnl_01937e5f2a3b4c5d6e7f8091a2b3c4d5", "at": "2026-11-20T09:29:58.000Z", "kind": "deposit", "title": "Deposit from S TAYLOR", "titleParts": { "verb": "Deposit", "quantity": null, "symbol": null, "rest": "from S TAYLOR" }, "status": "done", "statusDetail": "settled", "statusLabel": "Done", "flow": "in", "amount": { "amount": "250.00", "currency": "AUD" }, "amountInAccountCurrency": { "amount": "250.00", "currency": "AUD" }, "estimate": false, "asset": null, "assetClass": "cash", "portfolioIds": ["ptf_01937c4e8a2b7d1f9e0c3b5a6d7e8fa1"], "portfolioId": "ptf_01937c4e8a2b7d1f9e0c3b5a6d7e8fa1", "actor": null, "orderId": null, "transferId": null, "txId": "jnl_01937e5f2a3b4c5d6e7f8091a2b3c4d5", "network": null, "networkName": null, "txHash": null, "explorerUrl": null, "detail": null } ], "nextCursor": null, "summary": { "count": 1, "inflow": { "amount": "250.00", "currency": "AUD" }, "outflow": { "amount": "0.00", "currency": "AUD" }, "complete": true }}3. Move money between portfolios
Section titled “3. Move money between portfolios”/v1/accounts/{id}/transfersMove cash, or units of an investment, between two portfolios of this account
Moves cash (amount) or units of an investment (position) between two portfolios of the same account. Lots and
their cost base move unchanged.
curl -X POST "$IDEALX_API/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/transfers" \ -H "Authorization: Bearer $IDEALX_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: 0b8f4e1a-7c2d-4f3b-8e5a-1d2c3b4a5f60" \ -d '{ "fromPortfolioId": "ptf_01937c4e8a2b7d1f9e0c3b5a6d7e8fa1", "toPortfolioId": "ptf_01937c4e8a2b7d1f9e0c3b5a6d7e8fa2", "amount": { "amount": "200.00", "currency": "AUD" }, "reference": "Monthly top-up", "note": "Moving part of the deposit to long term" }'const res = await fetch(`${process.env.IDEALX_API}/v1/accounts/${accountId}/transfers`, { method: "POST", headers: { ...headers, "Content-Type": "application/json", "Idempotency-Key": randomUUID() }, body: JSON.stringify({ fromPortfolioId: primaryId, toPortfolioId: longTermId, amount: { amount: "200.00", currency: "AUD" }, reference: "Monthly top-up", }),});const instruction = await res.json();instruction = requests.post( f"{base}/v1/accounts/{account_id}/transfers", headers={**headers, "Idempotency-Key": str(uuid.uuid4())}, json={ "fromPortfolioId": primary_id, "toPortfolioId": long_term_id, "amount": {"amount": "200.00", "currency": "AUD"}, "reference": "Monthly top-up", }, timeout=30,).json(){ "id": "ins_01937e70a1b2c3d4e5f6a7b8c9d0e1f2", "kind": "internal_transfer", "state": "settled", "fromPortfolioId": "ptf_01937c4e8a2b7d1f9e0c3b5a6d7e8fa1", "toPortfolioId": "ptf_01937c4e8a2b7d1f9e0c3b5a6d7e8fa2", "payeeId": null, "amount": { "amount": "200.00", "currency": "AUD" }, "reference": "Monthly top-up", "note": "Moving part of the deposit to long term", "attachments": [], "approvalsRequired": 1, "approvals": 1, "approvedByMe": true, "position": null, "createdAt": "2026-11-20T09:35:12.000Z"}To move units instead of cash, send "position": { "instrumentId": "XASX:EXS", "quantity": "50" } in place of
amount. On an account that needs more approvals, the instruction answers pending_approval and an
approval.waiting webhook fires; the others approve in the app.
4. Convert currencies
Section titled “4. Convert currencies”Quote first with GET /v1/fx/quote, then convert with
POST /v1/accounts/{id}/fx.
curl "$IDEALX_API/v1/fx/quote?from=AUD&to=USD&amount=1000.00" -H "Authorization: Bearer $IDEALX_API_KEY"{ "pay": { "amount": "1000.00", "currency": "AUD" }, "receive": { "amount": "648.70", "currency": "USD" }, "rate": "0.6487", "pair": "AUD/USD", "asOf": "2026-11-25T04:20:00.000Z", "marginIncluded": true}curl -X POST "$IDEALX_API/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/fx" \ -H "Authorization: Bearer $IDEALX_API_KEY" -H "Content-Type: application/json" \ -H "Idempotency-Key: 3c7a9e2f-5b1d-4a6e-8f0c-2d4b6a8c0e1f" \ -d '{ "portfolioId": "ptf_01937c4e8a2b7d1f9e0c3b5a6d7e8fa1", "from": { "amount": "1000.00", "currency": "AUD" }, "to": "USD" }'{ "id": "fxc_01937e71b2c3d4e5f6a7b8c9d0e1f2a3", "portfolioId": "ptf_01937c4e8a2b7d1f9e0c3b5a6d7e8fa1", "from": { "amount": "1000.00", "currency": "AUD" }, "to": { "amount": "648.65", "currency": "USD" }, "rate": "0.64865", "state": "done", "failureReason": null, "createdAt": "2026-11-25T04:20:31.000Z"}The rate is taken when the conversion runs, so it can differ slightly from the quote. A conversion still running
answers placing; read it back with GET /v1/accounts/{id}/fx.
5. Money out
Section titled “5. Money out”Withdrawals to a bank account and digital asset sends are made in the app by a person with their one-time code; a key cannot start them. Your integration follows them:
withdrawal.settledandwithdrawal.failedwebhooks name theinstructionId;- GET
/v1/accounts/{id}/instructionslists transfers and withdrawals with theirstate; - GET
/v1/instructions/{id}/receipt.pdfis the receipt.