Send coins to a test customer's address by simulation
Test keys only. A simulated deposit of amount arrives at the customer's own
address at once and is accepted about ten seconds later, through the same path
as a real one: payment.detected, then payment.confirmed and the payout,
as they would live. Ask for the customer's address in the coin first
(409 customer_address_required until then): ETH, SOL and BNB once the
address has been asked for in that coin. No money moves. A live key is refused
with 403 test_mode_only.
Authorization
ApiKey A merchant API key, sent as Authorization: Bearer vk_live_…. The prefix
selects the mode: vk_test_ for testnets, vk_live_ for real money.
In: header
Path Parameters
Header Parameters
Makes the request safe to retry: the same key replays the first response instead of repeating the effect. At most 255 characters.
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/customers/string/deposits" \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{ "asset": "BTC", "network": "tron", "amount": "string" }'{ "object": "customer_address", "customer": "string", "network": "tron", "assets": [ "BTC" ], "address": "string", "status": "ready", "created_at": "2019-08-24T14:15:22Z"}