Update customer
Changed onUpdate a customer of your platform.
This endpoint is only available to certain participants leveraging zerohash for customer settlements. Please contact us for more information on enabling it.
This is a partial update — send only the fields you want to change. platform_updated_at (the timestamp of the change on your platform, in milliseconds since the Unix epoch) is required on every request.
💡 Use the Examples / schema dropdown on the request body to see common update scenarios (standard details, change of address, change of name, W-9 document generation, W-9 document upload, W-8BEN, tax withholding, KYC/compliance, EDD, and an all-accepted-fields reference).
Request
- Base URLhttps://api.cert.zerohash.com
- URLhttps://api.cert.zerohash.com/participants/customers/{participant_code}
- AuthAPI key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE
Path parameters
Unique participant identifier. Always 6 uppercase alphanumeric characters.
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
{
"first_name": "John",
"last_name": "Doe",
"address_one": "123 Main St.",
"city": "Chicago",
"postal_code": "60601",
"platform_updated_at": 1680643465352
}Response
Successfully updated customer participant. Returns the updated resource.
Example response
{
"message": {
"first_name": "John",
"last_name": "Smith",
"country": "USA",
"jurisdiction_code": "US-IL",
"email": "test@example.com",
"signed_timestamp": 1603378501286,
"signed_agreements": [
{
"type": "user_agreement",
"region": "us",
"signed_timestamp": 1603378501286
}
],
"platform_code": "XXXXXX",
"participant_code": "XXXXXX",
"phone_number": "+15557778888"
}
}Changes
- breaking
removed
subschema #1: Standard User Details Patchsubschema #2: W-9 Form Updatesubschema #3: W-9 Exemption Updatesubschema #4: Tax Withholding Updatesubschema #5: Change of Addresssubschema #6: Change of Namesubschema #7: Update Requiring Supporting Documentationfrom the request bodyoneOflist - warning
added the new
virtual_accountsenum value to the///response property for the response status - info
added
subschema #1: Standard User Details Patchsubschema #2: W-9 Form document generationsubschema #3: W-9 Form document uploadsubschema #4: W-9 Exemption Updatesubschema #5: Tax Withholding Updatesubschema #6: Signed Agreements Updatesubschema #7: Change of Addresssubschema #8: Change of Namesubschema #9: Update Requiring Supporting Documentationsubschema #10: W-8BEN Form Update (foreign individual)subschema #11: KYC / Compliance Updatesubschema #12: Enhanced Due Diligence (EDD) Updatesubschema #13: All Accepted Fields (reference)to the request bodyanyOflist
- breaking