sandbox_deposit moves USD from Securitize into your own cash, and sandbox_withdraw moves it out, so you can fund yourself and test the cash flow end to end.
Request
Both are signed likeplace_order and need a key registered for trading; a read-only key answers NOT_PERMITTED. Both take the same payload:
sandbox_deposit
Moves USD from Securitize into your own cash.sandbox_withdraw
Moves USD out of your own cash. It can take at most youravailable (see get_cash_balance_v2): the amount is held at once and counts in committed until it is booked, so it cannot be spent on a buy meanwhile.
available answers NOT_PERMITTED, and nothing is held.
The ack
Theack carries clientRef, amount, currency (USD) and a status:
Once booked, the movement is pushed as
cash_movement, a DEPOSIT or a WITHDRAW, and get_cash_balance_v2 and get_cash_movements show it.
Errors
A refusal answerserror:
Signature and timestamp errors are those of any signed message. See Signing.
What each figure of your cash means is in Cash.