post https://api.cert.zerohash.com/participants/documents
Submits a document on behalf of you or a customer if you operate a platform on Zero Hash.
Authentication
In order to Authenticate to the document submission endpoint you will need to do the following:
- Set your X-SCX-FILE-HASH header to the sha256 hash (in a byte array) of your file contents (base64 encoded).
- Make sure to use
{}as your body when signing your request. If you use your actual request body to sign you will receive and Invalid Client Signature. - Ensure that your file is not larger than 25mb prior to base64 encoding.
- Remember to encode your file in base64, the increased file size is taken into account.
Document Requirements
The supported MIME types for document submission are application/pdf, image/png,image/jpg and image/jpeg. A valid ID type must be submitted with documents options are:
us_drivers_licenseus_passportus_passport_cardus_permanent_resident_cardus_border_crossing_cardus_alien_cardus_id_cardnon_us_passportnon_us_other
Citizenship and Tax ID required validations
citizenship is always a required field, and there are additional validations done on this field.
| Citizenship | Validations |
|---|---|
| "United States" | tax_id (also known as SSN in the United States) required
|
| Anything other than "United States" | id_number and id_number_type are required; tax_id is not required |
