Ids are strings: compare them as strings, never as numbers, and never rely on their order.
The keys that join the steps
One token issuance is behind several cash movements: each
deposit that funded it and the liquidation that applied it. A deposit’s tokenIssuanceId is null until tokens are issued for it; a transaction’s is null when it is not an issuance.
Scoping
Every response and every event is scoped to the investor account your credentials belong to:- Lists show your deposits and the transactions you are a party to, only.
- An id outside your account answers
404, the same as an id that does not exist:DEPOSIT_NOT_FOUND,TRANSACTION_NOT_FOUND,WEBHOOK_EVENT_NOT_FOUND. A token you have no relationship with answersTOKEN_NOT_FOUND. - Webhooks and
GET /webhook-eventscarry only the events of your account.