v1

latestOpenAPI 3.1.02026-07-241653251.3 MB
Deposits

Fund account

Funds a specified fiat account in the zerohash CERT environment. This is helpful when automating end-to-end testing or manually validating a feature. Not available in production.

post/deposits/fund

Headers

X-SCX-SIGNEDstring required

HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.

X-SCX-TIMESTAMPstring required
Example:1678901234

Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.

Request body

participant_codestring required

A participant linked to your platform whose fiat account should be funded.

assetstring required

The fiat asset to fund (e.g. USD). Must be a supported fiat currency.

amountstring required

The amount to fund. Must have at most two decimal places.

account_labelstring

Optional account label to fund. Defaults to general when omitted. Specify account_label when funding a rewards or awards float account.

Example request

{
  "participant_code": "ABCDEF",
  "asset": "USD",
  "amount": "1.00",
  "account_label": "general"
}

Response

Successfully funded fiat account.

Example response

{
  "message": {
    "participant_code": "ABCDEF",
    "asset": "USD",
    "amount": "1.00",
    "account_label": "general",
    "account_group": "ABCDEF",
    "account_type": "available",
    "reference_id": "21bdbb11-712f-4cb7-a178-4f277c80cde0"
  }
}