Simulate a virtual account deposit
Changed onSimulates an inbound wire, ACH or RTP deposit into a virtual account in the zerohash CERT environment, so you can test deposit handling without sending real money. The deposit then follows the same path as a real one: it is listed in the virtual account transactions and you receive the same deposit webhooks. Every request creates a new deposit; repeating a request creates another one. A virtual account that is not ACTIVE returns 409 Conflict with a message naming its status; an unknown id or an account belonging to another platform returns 404 Not Found. Not available in production.
Request
- Base URLhttps://api.cert.zerohash.com
- URLhttps://api.cert.zerohash.com/virtual_accounts/{id}/deposits/simulate
- AuthAPI key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE
Path parameters
Headers
HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.
Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.
Request body
Example request
{
"rail": "wire",
"amount": "10.00",
"originator_name": "Jane Roe",
"originator_country": "US"
}Response
The simulated deposit was accepted.
Example response
{
"virtual_account_id": "550e8400-e29b-41d4-a716-446655440000",
"core_transaction_id": "1234567"
}Changes
- info
endpoint added
- info