Simulate a stablecoin deposit
Pretends a stablecoin deposit arrived at this account's address. By default it
is confirmed at once and credits the wallet; with status: detected it waits,
counted in pending_credit, until you confirm it.
Authorization
ApiKey An account API key, sent as Authorization: Bearer tz_live_…. The prefix
selects the mode: tz_test_ for sandbox, tz_live_ for real money.
In: header
Header Parameters
A client-generated key, unique per intended operation, that makes this request
safe to retry. The same key returns the original response; the same key with a
different request is rejected. Missing: 400 idempotency_key_required.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/test_helpers/deposits" \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{ "amount": 1, "asset": "USDT", "network": "bep20" }'{ "id": "string", "object": "deposit", "rail": "crypto", "status": "detected", "amount": { "amount": 1450, "currency": "USD" }, "asset": "USDT", "network": "bep20", "raw_amount": "50.00", "tx_hash": "string", "reference": "string", "received": { "amount": "80000.00", "currency": "NGN", "rate": "1600.00" }, "created_at": "2019-08-24T14:15:22Z", "credited_at": "2019-08-24T14:15:22Z"}