CLOB
Update CLOB account
Changed onUpdates prefunded and/or account_tier attributes of an account on the CLOB.
patch/clob/accounts
Request
- Base URLhttps://api.cert.zerohash.com
- AuthAPI key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE
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
Example request
{
"account_label": "general",
"prefunded": true,
"account_tier": "silver",
"participant_code": "CUST01"
}Response
CLOB account update accepted. Returns the updated attributes of the account.
Example response
{
"account_label": "general",
"prefunded": true,
"account_tier": "silver"
}Changes
- breaking
removed
subschema #1: Update Account - Participant Codesubschema #2: Update Account - Customaccount_labelfrom the request bodyoneOflist - info
added
subschema #1: Update Account - Participant Codesubschema #2: Update Account - Customaccount_labelto the request bodyanyOflist
- breaking