{"_id":"59f79e3c584eb200345ceb77","project":"59f79e3c584eb200345ceafc","version":{"_id":"59f79e3c584eb200345ceaff","project":"59f79e3c584eb200345ceafc","__v":6,"createdAt":"2015-09-17T03:47:20.956Z","releaseDate":"2015-09-17T03:47:20.956Z","categories":["59f79e3c584eb200345ceb3a","59f79e3c584eb200345ceb3b","59f79e3c584eb200345ceb3c","59f79e3c584eb200345ceb3d","59f79e3c584eb200345ceb3e","59f79e3c584eb200345ceb3f","59f79e3c584eb200345ceb45","59f79e3c584eb200345ceb46","59f79e3c584eb200345ceb48","59f79e3c584eb200345ceb49","5aa21b60c0bda0002d1568b6","5afb6888212c690003ae3d3b","5b4bdcd3737d1800031d2293","5b9ed89212362100036b5a1c","5bb29bec77c22500034757ea","5bb29bfe77c22500034757ec"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.1.0","version":"3.1"},"category":{"_id":"59f79e3c584eb200345ceb3b","version":"59f79e3c584eb200345ceaff","project":"59f79e3c584eb200345ceafc","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-06T05:42:37.534Z","from_sync":false,"order":3,"slug":"users","title":"Users"},"user":"54e4044e8ef7552300409dcb","__v":7,"parentDoc":null,"githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-06-24T06:18:47.203Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[{"name":"","code":"{\n    \"_id\": \"594e0fa2838454002ea317a0\",\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://uat-api.synapsefi.com/v3.1/users/594e0fa2838454002ea317a0\"\n        }\n    },\n    \"client\": {\n        \"id\": \"589acd9ecb3cd400fa75ac06\",\n        \"name\": \"SynapseFI\"\n    },\n    \"doc_status\": {\n        \"physical_doc\": \"SUBMITTED|VALID\",\n        \"virtual_doc\": \"SUBMITTED|VALID\"\n    },\n    \"documents\": [\n        {\n            \"id\": \"2a4a5957a3a62aaac1a0dd0edcae96ea2cdee688ec6337b20745eed8869e3ac8\",\n            \"name\": \"Test User\",\n            \"permission_scope\": \"SEND|RECEIVE|1000|DAILY\",\n            \"physical_docs\": [\n                {\n                    \"document_type\": \"GOVT_ID\",\n                    \"id\": \"c486c2cb8c1bce695fcfae3197e14aa5b8ddec184c2779d00d581abee5d9a04c\",\n                    \"last_updated\": 1498288034877,\n                    \"status\": \"SUBMITTED|VALID\"\n                },\n                {\n                    \"document_type\": \"GOVT_ID\",\n                    \"id\": \"70e3f32d8feba746347b5c0d820e8d7a218b955afbb612291a0a9922c93e8277\",\n                    \"last_updated\": 1498288359656,\n                    \"status\": \"SUBMITTED|REVIEWING\"\n                }\n            ],\n            \"social_docs\": [\n                {\n                    \"document_type\": \"IP\",\n                    \"id\": \"28d9177b22c127d9a51d8903893864accf6e553ac326704a4c0d585eaad2516a\",\n                    \"last_updated\": 1498288361711,\n                    \"status\": \"SUBMITTED|REVIEWING\"\n                },\n                {\n                    \"document_type\": \"FACEBOOK\",\n                    \"id\": \"8f314a6a53f36ee569455761e49a2a7fe790d251c5611c65255befdb303602b7\",\n                    \"last_updated\": 1498288360174,\n                    \"status\": \"SUBMITTED|REVIEWING\"\n                },\n                {\n                    \"document_type\": \"PHONE_NUMBER\",\n                    \"id\": \"fda60784d6375bc44edafaaeae149626c4c13dcb92e85a2a7a00eec2cdfd2b6f\",\n                    \"last_updated\": 1498288361200,\n                    \"status\": \"SUBMITTED|REVIEWING\"\n                },\n                {\n                    \"document_type\": \"EMAIL\",\n                    \"id\": \"2c45158f6431ca874bbe82f63d5905567854dde4d8b81539944e5779e5eee741\",\n                    \"last_updated\": 1498288360686,\n                    \"status\": \"SUBMITTED|REVIEWING\"\n                }\n            ],\n            \"virtual_docs\": [\n                {\n                    \"document_type\": \"SSN\",\n                    \"id\": \"ee596c2896dddc19b76c07a184fe7d3cf5a04b8e94b9108190cac7890739017f\",\n                    \"last_updated\": 1498288359140,\n                    \"status\": \"SUBMITTED|REVIEWING\"\n                }\n            ]\n        }\n    ],\n    \"emails\": [],\n    \"extra\": {\n        \"cip_tag\": 1,\n        \"date_joined\": 1498288029784,\n        \"extra_security\": false,\n        \"is_business\": false,\n        \"last_updated\": 1498288358611,\n        \"public_note\": null,\n        \"supp_id\": \"122eddfgbeafrfvbbb\"\n    },\n    \"is_hidden\": false,\n    \"legal_names\": [\n        \"Test User\"\n    ],\n    \"logins\": [\n        {\n            \"email\": \"test:::at:::synapsefi.com\",\n            \"scope\": \"READ_AND_WRITE\"\n        }\n    ],\n    \"permission\": \"SEND-AND-RECEIVE\",\n    \"phone_numbers\": [\n        \"901.111.1111\",\n        \"[email protected]\"\n    ],\n    \"photos\": [],\n    \"refresh_token\": \"refresh_ehG7YBS8ZiD0sLa6PQHMUxryovVkJzElC5gWROXq\"\n}","language":"json","status":200}]},"method":"patch","examples":{"codes":[{"language":"http","code":"PATCH /v3.1/users/594e0fa2838454002ea317a0 HTTP/1.1\nHost: uat-api.synapsefi.com\nX-SP-GATEWAY: client_id_2bb1e412edd311e6bd04e285d6015267|client_secret_2bb1e714edd311e6bd04e285d6015267\nX-SP-USER-IP: 127.0.0.1\nX-SP-USER: oauth_1mtgLwhYHDVKop04XOEjyWJSsnQqZbGkfRF5ux9v|e83cf6ddcf778e37bfe3d48fc78a6502062fc\nContent-Type: application/json\n\n{\n  \"documents\":[{\n        \"email\":\"[email protected]\",\n        \"phone_number\":\"901.111.1111\",\n        \"ip\":\"::1\",\n        \"name\":\"Test User\",\n        \"alias\":\"Test\",\n        \"entity_type\":\"M\",\n        \"entity_scope\":\"Arts & Entertainment\",\n        \"day\":2,\n        \"month\":5,\n        \"year\":1989,\n        \"address_street\":\"1 Market St.\",\n        \"address_city\":\"SF\",\n        \"address_subdivision\":\"CA\",\n        \"address_postal_code\":\"94114\",\n        \"address_country_code\":\"US\",\n        \"virtual_docs\":[{\n            \"document_value\":\"2222\",\n            \"document_type\":\"SSN\"\n        }],\n        \"physical_docs\":[{\n            \"document_value\": \"data:image/gif;base64,SUQs==\",\n            \"document_type\": \"GOVT_ID\"\n        }],\n        \"social_docs\":[{\n            \"document_value\":\"https://www.facebook.com/valid\",\n            \"document_type\":\"FACEBOOK\"\n        }]\n    }]\n}","name":"HTTP"}]},"auth":"required","params":[{"_id":"5573b11e91ce6e190023b76a","ref":"","in":"body","required":true,"desc":"User KYC documents. See Documents Object [here](#section-documents-resource)","default":"","type":"string","name":"documents"},{"_id":"590ca9d9e01de80f0046ae6a","ref":"","in":"path","required":true,"desc":"The user ID of the user you wish to add documents to","default":"","type":"string","name":"user_id"}],"url":"/v3.1/users/:user_id"},"isReference":true,"order":5,"body":"[block:api-header]\n{}\n[/block]\n\n## Documents Resource\n[block:html]\n{\n  \"html\": \"<div class=\\\"api-manager\\\">\\n  <div class=\\\"param-table\\\">\\n    <div class=\\\"table\\\">\\n      <h4 class=\\\"paramGroupTitle\\\">Body Params</h4>\\n      <div class=\\\"tr\\\">\\n        <div class=\\\"td param\\\">\\n          <strong>name<span class=\\\"colon\\\">:</span></strong>\\n          <div class=\\\"required\\\">required</div>\\n        </div>\\n        <div class=\\\"td\\\">\\n          <strong class=\\\"param-type\\\">string</strong>\\n          <div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\">\\n            <p>Name of the document owner</p>\\n\\t\\t\\t\\t</div>\\n      </div>\\n    </div>\\n    <div class=\\\"tr\\\">\\n      <div class=\\\"td param\\\">\\n        <strong>alias<span class=\\\"colon\\\">:</span></strong>\\n      </div>\\n      <div class=\\\"td\\\">\\n        <strong class=\\\"param-type\\\">string</strong>\\n        <div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\">\\n          <p>Alias of the document owner (this can be the name or in case of businesses it can be the DBA entry)</p>\\n\\t\\t\\t\\t</div>\\n      </div>\\n    </div>\\n    <div class=\\\"tr\\\">\\n      <div class=\\\"td param\\\">\\n        <strong>email<span class=\\\"colon\\\">:</span></strong>\\n        <div class=\\\"required\\\">required</div>\\n      </div>\\n      <div class=\\\"td\\\">\\n        <strong class=\\\"param-type\\\">string</strong>\\n        <div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\">\\n          <p>Email associated with the document</p>\\n\\t\\t\\t\\t</div>\\n      </div>\\n    </div>\\n    <div class=\\\"tr\\\">\\n      <div class=\\\"td param\\\">\\n        <strong>phone_number<span class=\\\"colon\\\">:</span></strong>\\n        <div class=\\\"required\\\">required</div>\\n      </div>\\n      <div class=\\\"td\\\">\\n        <strong class=\\\"param-type\\\">string</strong>\\n        <div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\">\\n          <p>Phone number associated with the document</p>\\n\\t\\t\\t\\t</div>\\n      </div>\\n    </div>\\n    <div class=\\\"tr\\\">\\n      <div class=\\\"td param\\\">\\n        <strong>ip<span class=\\\"colon\\\">:</span></strong>\\n        <div class=\\\"required\\\">required</div>\\n      </div>\\n      <div class=\\\"td\\\">\\n        <strong class=\\\"param-type\\\">integer</strong>\\n        <div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\">\\n          <p>IP of where the document is being submitted from</p>\\n\\t\\t\\t\\t</div>\\n      </div>\\n    </div>\\n     <div class=\\\"tr\\\">\\n      <div class=\\\"td param\\\">\\n        <strong>desired_scope<span class=\\\"colon\\\">:</span></strong>\\n      </div>\\n      <div class=\\\"td\\\">\\n        <strong class=\\\"param-type\\\">string</strong>\\n        <div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\">\\n          <p>Specific scope the user should be verified under (if you don't know what this is, please ignore)</p>\\n\\t\\t\\t\\t</div>\\n      </div>\\n    </div>\\n     <div class=\\\"tr\\\">\\n      <div class=\\\"td param\\\">\\n        <strong>docs_key<span class=\\\"colon\\\">:</span></strong>\\n      </div>\\n      <div class=\\\"td\\\">\\n        <strong class=\\\"param-type\\\">string</strong>\\n        <div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\">\\n          <p>Unique identifier for this set of documents, i.e. \\\"BUSINESS_DOCS\\\" or \\\"OWNER_DOCS\\\" (if you don't know what this is, please ignore)</p>\\n\\t\\t\\t\\t</div>\\n      </div>\\n    </div>\\n     <div class=\\\"tr\\\">\\n      <div class=\\\"td param\\\">\\n        <strong>doc_option_key<span class=\\\"colon\\\">:</span></strong>\\n      </div>\\n      <div class=\\\"td\\\">\\n        <strong class=\\\"param-type\\\">string</strong>\\n        <div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\">\\n          <p>Unique identifier for this combination of sub-documents, i.e. \\\"SSN_ONLY\\\" or \\\"SSN_CARD_ONLY\\\" (if you don't know what this is, please ignore)</p>\\n\\t\\t\\t\\t</div>\\n      </div>\\n    </div>      \\n    <div class=\\\"tr\\\">\\n      <div class=\\\"td param\\\"><strong>entity_type<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Entity type of the document owner, this can be gender in case of an individual or DBA in case of a business. See <a href=\\\"https://docs.synapsefi.com/v3.1/docs/user-resources#section-supported-entity-types\\\">here</a></p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>entity_scope<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Industry in which the document owner operates. In case of an individual it can be their field of profession, in case of a corp this can be their line of business. See <a href=\\\"https://docs.synapsefi.com/v3.1/docs/user-resources#section-supported-entity-scope\\\">here</a></p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>day<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">integer</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>In case of a person this is day of birth. In case of business entity, this is day of organization</p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>month<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">integer</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>In case of a person this is month of birth. In case of business entity, this is month of organization</p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>year<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">integer</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>In case of a person this is year of birth. In case of business entity, this is year of organization</p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>address_street<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Address associated with the document owner, this can be home address of a person or business address of a corp.</p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>address_city<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Address associated with the document owner, this can be home address of a person or business address of a corp.</p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>address_subdivision<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Address associated with the document owner, this can be home address of a person or business address of a corp. <strong>This value needs to be in <a href=\\\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\\\">ISO Alpha-2</a></strong>.</p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>address_postal_code<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Address associated with the document owner, this can be home address of a person or business address of a corp.</p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>address_country_code<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Address associated with the document owner, this can be home address of a person or business address of a corp. <strong>This value needs to be in <a href=\\\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\\\">ISO Alpha-2</a></strong>.</p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>virtual_docs<span class=\\\"colon\\\">:</span></strong></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">array of objects</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>See Sub-Document Object <a href=\\\"#section-sub-document-resource\\\">here</a></p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>physical_docs<span class=\\\"colon\\\">:</span></strong></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">array of objects</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>See Sub-Document Object <a href=\\\"#section-sub-document-resource\\\">here</a></p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>social_docs<span class=\\\"colon\\\">:</span></strong></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">array of objects</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>See Sub-Document Object <a href=\\\"#section-sub-document-resource\\\">here</a></p>\\n</div></div></div></div></div></div>\"\n}\n[/block]\n## Sub-Document Resource\n[block:html]\n{\n  \"html\": \"<div class=\\\"api-manager\\\"><div class=\\\"param-table\\\"><div class=\\\"table\\\"><h4 class=\\\"paramGroupTitle\\\">Body Params</h4><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>document_type<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Type of document (<a href=\\\"https://docs.synapsefi.com/v3.1/docs/user-resources#section-physical-document-types\\\">physical</a>, <a href=\\\"https://docs.synapsefi.com/v3.1/docs/user-resources#section-virtual-document-types\\\">virtual</a>, <a href=\\\"https://docs.synapsefi.com/v3.1/docs/user-resources#section-social-document-types\\\">social</a>)</p>\\n</div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"><strong>document_value<span class=\\\"colon\\\">:</span></strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"><strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Value of the document (in case of physical documents, submit the padded base64 value of the file you wish to upload)</p>\\n</div></div></div></div></div></div>\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Physical Documents\",\n  \"body\": \"Submitting more than one physical document at a time might result in a delay in response time. It is recommended that you perform separate calls to add each physical document if you have more than one.\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Remember\",\n  \"body\": \"The base64 you send via this API call should be padded. See example below:\\n\\n\\\"data:text/csv;base64,<actual_file_data>\\\"\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Tip: Uploading photo IDs?\",\n  \"body\": \"Please review our [Photo ID documentation](https://docs.synapsefi.com/docs/user-resources#section-photo-id-requirements)\"\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Deprecated field: doc_status\",\n  \"body\": \"The `permission` field will show you the overall user permissions, which is determined by the `permission_scope` of the base document(s). The permission scope is determined by whether or not the required sub-documents are acceptable, and you can check each sub-document's `status` field for this.\\n\\nThe doc_status object is deprecated and scheduled to be removed.\"\n}\n[/block]","excerpt":"Add new KYC documents to a user","slug":"adding-documents","type":"endpoint","title":"Add New Documents"}

patchAdd New Documents

Add new KYC documents to a user

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

user_id:
required
string
The user ID of the user you wish to add documents to

Body Params

documents:
required
string
User KYC documents. See Documents Object [here](#section-documents-resource)

Examples


Result Format


Documentation

[block:api-header] {} [/block] ## Documents Resource [block:html] { "html": "<div class=\"api-manager\">\n <div class=\"param-table\">\n <div class=\"table\">\n <h4 class=\"paramGroupTitle\">Body Params</h4>\n <div class=\"tr\">\n <div class=\"td param\">\n <strong>name<span class=\"colon\">:</span></strong>\n <div class=\"required\">required</div>\n </div>\n <div class=\"td\">\n <strong class=\"param-type\">string</strong>\n <div marked=\"\" class=\"ng-isolate-scope\">\n <p>Name of the document owner</p>\n\t\t\t\t</div>\n </div>\n </div>\n <div class=\"tr\">\n <div class=\"td param\">\n <strong>alias<span class=\"colon\">:</span></strong>\n </div>\n <div class=\"td\">\n <strong class=\"param-type\">string</strong>\n <div marked=\"\" class=\"ng-isolate-scope\">\n <p>Alias of the document owner (this can be the name or in case of businesses it can be the DBA entry)</p>\n\t\t\t\t</div>\n </div>\n </div>\n <div class=\"tr\">\n <div class=\"td param\">\n <strong>email<span class=\"colon\">:</span></strong>\n <div class=\"required\">required</div>\n </div>\n <div class=\"td\">\n <strong class=\"param-type\">string</strong>\n <div marked=\"\" class=\"ng-isolate-scope\">\n <p>Email associated with the document</p>\n\t\t\t\t</div>\n </div>\n </div>\n <div class=\"tr\">\n <div class=\"td param\">\n <strong>phone_number<span class=\"colon\">:</span></strong>\n <div class=\"required\">required</div>\n </div>\n <div class=\"td\">\n <strong class=\"param-type\">string</strong>\n <div marked=\"\" class=\"ng-isolate-scope\">\n <p>Phone number associated with the document</p>\n\t\t\t\t</div>\n </div>\n </div>\n <div class=\"tr\">\n <div class=\"td param\">\n <strong>ip<span class=\"colon\">:</span></strong>\n <div class=\"required\">required</div>\n </div>\n <div class=\"td\">\n <strong class=\"param-type\">integer</strong>\n <div marked=\"\" class=\"ng-isolate-scope\">\n <p>IP of where the document is being submitted from</p>\n\t\t\t\t</div>\n </div>\n </div>\n <div class=\"tr\">\n <div class=\"td param\">\n <strong>desired_scope<span class=\"colon\">:</span></strong>\n </div>\n <div class=\"td\">\n <strong class=\"param-type\">string</strong>\n <div marked=\"\" class=\"ng-isolate-scope\">\n <p>Specific scope the user should be verified under (if you don't know what this is, please ignore)</p>\n\t\t\t\t</div>\n </div>\n </div>\n <div class=\"tr\">\n <div class=\"td param\">\n <strong>docs_key<span class=\"colon\">:</span></strong>\n </div>\n <div class=\"td\">\n <strong class=\"param-type\">string</strong>\n <div marked=\"\" class=\"ng-isolate-scope\">\n <p>Unique identifier for this set of documents, i.e. \"BUSINESS_DOCS\" or \"OWNER_DOCS\" (if you don't know what this is, please ignore)</p>\n\t\t\t\t</div>\n </div>\n </div>\n <div class=\"tr\">\n <div class=\"td param\">\n <strong>doc_option_key<span class=\"colon\">:</span></strong>\n </div>\n <div class=\"td\">\n <strong class=\"param-type\">string</strong>\n <div marked=\"\" class=\"ng-isolate-scope\">\n <p>Unique identifier for this combination of sub-documents, i.e. \"SSN_ONLY\" or \"SSN_CARD_ONLY\" (if you don't know what this is, please ignore)</p>\n\t\t\t\t</div>\n </div>\n </div> \n <div class=\"tr\">\n <div class=\"td param\"><strong>entity_type<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Entity type of the document owner, this can be gender in case of an individual or DBA in case of a business. See <a href=\"https://docs.synapsefi.com/v3.1/docs/user-resources#section-supported-entity-types\">here</a></p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>entity_scope<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Industry in which the document owner operates. In case of an individual it can be their field of profession, in case of a corp this can be their line of business. See <a href=\"https://docs.synapsefi.com/v3.1/docs/user-resources#section-supported-entity-scope\">here</a></p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>day<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">integer</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>In case of a person this is day of birth. In case of business entity, this is day of organization</p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>month<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">integer</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>In case of a person this is month of birth. In case of business entity, this is month of organization</p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>year<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">integer</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>In case of a person this is year of birth. In case of business entity, this is year of organization</p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>address_street<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Address associated with the document owner, this can be home address of a person or business address of a corp.</p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>address_city<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Address associated with the document owner, this can be home address of a person or business address of a corp.</p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>address_subdivision<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Address associated with the document owner, this can be home address of a person or business address of a corp. <strong>This value needs to be in <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO Alpha-2</a></strong>.</p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>address_postal_code<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Address associated with the document owner, this can be home address of a person or business address of a corp.</p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>address_country_code<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Address associated with the document owner, this can be home address of a person or business address of a corp. <strong>This value needs to be in <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO Alpha-2</a></strong>.</p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>virtual_docs<span class=\"colon\">:</span></strong></div><div class=\"td\"><strong class=\"param-type\">array of objects</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>See Sub-Document Object <a href=\"#section-sub-document-resource\">here</a></p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>physical_docs<span class=\"colon\">:</span></strong></div><div class=\"td\"><strong class=\"param-type\">array of objects</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>See Sub-Document Object <a href=\"#section-sub-document-resource\">here</a></p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>social_docs<span class=\"colon\">:</span></strong></div><div class=\"td\"><strong class=\"param-type\">array of objects</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>See Sub-Document Object <a href=\"#section-sub-document-resource\">here</a></p>\n</div></div></div></div></div></div>" } [/block] ## Sub-Document Resource [block:html] { "html": "<div class=\"api-manager\"><div class=\"param-table\"><div class=\"table\"><h4 class=\"paramGroupTitle\">Body Params</h4><div class=\"tr\"><div class=\"td param\"><strong>document_type<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Type of document (<a href=\"https://docs.synapsefi.com/v3.1/docs/user-resources#section-physical-document-types\">physical</a>, <a href=\"https://docs.synapsefi.com/v3.1/docs/user-resources#section-virtual-document-types\">virtual</a>, <a href=\"https://docs.synapsefi.com/v3.1/docs/user-resources#section-social-document-types\">social</a>)</p>\n</div></div></div><div class=\"tr\"><div class=\"td param\"><strong>document_value<span class=\"colon\">:</span></strong><div class=\"required\">required</div></div><div class=\"td\"><strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Value of the document (in case of physical documents, submit the padded base64 value of the file you wish to upload)</p>\n</div></div></div></div></div></div>" } [/block] [block:callout] { "type": "info", "title": "Physical Documents", "body": "Submitting more than one physical document at a time might result in a delay in response time. It is recommended that you perform separate calls to add each physical document if you have more than one." } [/block] [block:callout] { "type": "warning", "title": "Remember", "body": "The base64 you send via this API call should be padded. See example below:\n\n\"data:text/csv;base64,<actual_file_data>\"" } [/block] [block:callout] { "type": "info", "title": "Tip: Uploading photo IDs?", "body": "Please review our [Photo ID documentation](https://docs.synapsefi.com/docs/user-resources#section-photo-id-requirements)" } [/block] [block:callout] { "type": "warning", "title": "Deprecated field: doc_status", "body": "The `permission` field will show you the overall user permissions, which is determined by the `permission_scope` of the base document(s). The permission scope is determined by whether or not the required sub-documents are acceptable, and you can check each sub-document's `status` field for this.\n\nThe doc_status object is deprecated and scheduled to be removed." } [/block]