Skip to main content
POST
Simulate an incoming transaction (sandbox site only, 1.4.0)

Authorizations

X-Signature
string
header
required

HMAC-SHA256-Hex(timestamp + "." + raw_body, api_secret)

Path Parameters

uuid
string<uuid>
required

Body

application/json
amount
string

Сумма «входящей» транзакции. По умолчанию — ожидаемая сумма депозита (для депозитов без суммы обязательна).

Example:

"100"

fromAddress
string

Адрес отправителя в эмулируемой tx.

Example:

"TSandboxSender"

confirmations
number

Число подтверждений на момент детекции. По умолчанию — порог финализации (депозит финализируется сразу). Меньше порога — депозит останется в process (webhook deposit.tx_detected), финализация придёт через ~30 с.

Example:

0

Response

200 - application/json
uuid
string<uuid>
required
txhash
string
required

Синтетический txhash (в сети не существует).

Example:

"sandbox:…:1757…"

amount
string
required
Example:

"100"

confirmations
number
required
Example:

19

requiredConfirmations
number
required
Example:

19