Update customer account
Updates prefunded and tier values for an existing customer account.
Request
- Base URLhttps://api.cert.zerohash.com
- URLhttps://api.cert.zerohash.com/accounts/{zrn}
- AuthAPI key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE
Path parameters
The ZRN of the customer account to add advisor to. The ZRN must be in the format: zrn:zh:eu:account:customer:<uuid>
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
{
"tier": "pro"
}Response
Customer account updated successfully. Updating an existing customer account is an asynchronous process that does several operations in the background after the response is returned. Customers are advised to listen to the customer_account_status_changed webhook event to be notified when the account is active and ready to use.
Example response
{
"message": {
"zrn": "zrn:zh:us:accounts:customer:c761fc96-5c44-40d4-8eb2-3fcd5d06754b",
"participant_code": "PAR001",
"platform_code": "PLAT01",
"account_label": "custom-account-label",
"account_group": "XYZ456",
"type": "individual",
"tier": "pro",
"status": "open",
"tenants": [
"PAR002"
],
"financial_advisors": [
"PAR003"
]
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.