Divest customer account
Divests an existing customer account
Request
- Base URLhttps://api.cert.zerohash.com
- URLhttps://api.cert.zerohash.com/accounts/{zrn}/divest
- 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 divest. 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
Request body for divesting a customer account. Divesting an account initiates the process of liquidating the account's assets and closing the account. This is typically used when an account is being closed or transferred to another entity.
Response
Request to divest the customer account accepted. Divestment is applied asynchronously; clients should listen for the customer_account_status_changed webhook event to observe the new state.
Empty JSON object.
Changes
No recorded changes to this operation across all 2 revisions of this API.