Test helpers
Simulate crypto deposit
Simulate an incoming crypto deposit for testing purposes.
POST
This endpoint allows you to simulate a crypto deposit based on the details returned by the Setup account deposit method endpoint. It is useful for testing how your application handles incoming crypto deposits without needing to perform an actual testnet transfer.
Since this is a simulated deposit and does not use a real testnet, the transaction hash will not be available on the blockchain.
Check out Testnets and token faucets for instructions on how to fund your Sandbox account using an actual testnet transaction.
Depending on the country and/or the amount, the simulated crypto deposit may be placed
on-hold pending Requests for Information (RFIs).
See Handle on-hold transactions for more details.Authorizations
OAuth 2.0 authentication.
Body
application/json
The crypto network used to process the simulated deposit.
Pattern:
^\S.*\S$|^\S$The destination crypto address for the simulated deposit transaction.
Pattern:
^\S.*\S$|^\S$The asset of the simulated deposit transaction.
Pattern:
^\S.*\S$|^\S$The amount that was deposited in the simulation.
Pattern:
^\d+(\.\d+)?$The destination additional identifier (e.g., destination tag, memo, or message) required for some networks such as XRP (Ripple), XLM (Stellar), EOS, and others.
Pattern:
^\S.*\S$|^\S$The simulated sender's crypto account information.
Response
Crypto deposit simulated.