Mock a Transaction

post/fiat-indexer/api/v1/admin/fakeupdate

Mock up a transaction in development or test environment, record to das and notify platform.

Request Body

amount number
Example: 50100
blockHeight number
Example: 23
type
Allowed values: domestic international sen internal onlineBanking
fromAccountNumber string
Example: 4325436435
fromBankIdentifier string
Example: ABC12345
toAccountNumber string
Example: 4264325434
toBankIdentifier string
Example: BCD22345
fee number
Example: 1200
memoId string
Example: ASEDS
txid string
Example: transactiontxidlonghash
isDeposit boolean
transaction is a deposit/withdraw to BitGo
Example: false
date string <date-time>
description string
transaction notes from BitGo partner bank
createdAt string <date-time>
datetime when fiat indexer first `see` transaction
state
Allowed values: complete incomplete
recorded
Allowed values: none das platform

200 Response

registeredTransactions array[string]
transaction unique id that generated by bank, identifier of the transaction
Example: eyJBY2NvdW50TnVtYmVyIjoiNTA5MDAxMDU0NiIsIlRyYW5zYWN0aW9uRGF0ZSI6IjIwMTkwMTEwIiwiVHJhbnNhY3Rpb25BbW91bnQiOiIxMC4wMCIsIlRyYW5zYWN0aW9uQ29kZSI6IjkwNzMiLCJEZXNjcmlwdGlvbiI6Ik9VVEdPSU5HIFdJUkUgRkVFLVAyMDE5MDExMDAwMzMxODEiLCJFeHRlbmRlZERlc2NyaXB0aW9uTGluZTIiOiIifQ