{"id":241,"date":"2023-06-09T08:06:40","date_gmt":"2023-06-09T08:06:40","guid":{"rendered":"https:\/\/developers.10npay.com\/?post_type=docs&#038;p=47"},"modified":"2023-06-09T08:06:40","modified_gmt":"2023-06-09T08:06:40","password":"","slug":"add-kyc-documents","status":"publish","type":"docs","link":"https:\/\/developers.10npay.com\/bg\/docs\/add-kyc-documents\/","title":{"rendered":"Add KYC Documents"},"content":{"rendered":"<p class=\"wp-block-paragraph\">The following Api should be called in CRM Service<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CRM Dev Instance : (<a href=\"https:\/\/crm-api-dev.10npay.com\/\">https:\/\/crm-api-dev.10npay.com\/<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Please call this endpoint once per document. 10 Documents mean post 10 documents by calling it 10 time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Endpoints<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/api\/v1\/enrollment\/document<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Post<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-base-color has-contrast-background-color has-text-color has-background\"><code>{\r\n  \"correlationId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\r\n  \"fileName\": \"string\",\r\n  \"fileData\": \"string\",\r\n  \"type\": \"string\"\r\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>correlationId<\/code> should be the response of the POST Individual endpoint,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>fileName<\/code> should be the name of document with extension.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>fileData<\/code> should be the BASE64 encoded data of the document itself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>type<\/code> should be a valid type from endpoint \/api\/v1\/MerchantDocument\/documentTypes. for example <code>OTH<\/code> which stands for Other.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-base-color has-contrast-background-color has-text-color has-background\"><code>Success: Code 201 with User data which includes it's unique Id, Store that for future communication\r\nBadInput : Code 400 with error messages. \r\nServer Failure: Code 500 with no error message<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Additional Explanation<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Listing of Document Types can be obtained from GET \/api\/v1\/MerchantDocument\/documentTypes<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Listing of Source of Funds can be obtained from GET \/api\/v1\/Individual\/source-of-funds<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Testing Requirements (for QA)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Please verify all corner cases for input, User should not be allowed to create data without addresses, contacts or documents.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>The following Api should be called in CRM Service CRM Dev Instance : (https:\/\/crm-api-dev.10npay.com\/) Please call this endpoint once per document. 10 Documents mean post 10 documents by calling it 10 time. Endpoints \/api\/v1\/enrollment\/document Post correlationId should be the response of the POST Individual endpoint, fileName should be the name of document with extension. fileData [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[],"doc_tag":[],"knowledge_base":[33],"class_list":["post-241","docs","type-docs","status-publish","hentry","knowledge_base-10npay"],"year_month":"2026-06","word_count":183,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"","author_nicename":"","author_url":"https:\/\/developers.10npay.com\/bg\/author\/"},"doc_category_info":[],"doc_tag_info":[],"knowledge_base_info":[{"term_name":"10npay","term_url":"https:\/\/developers.10npay.com\/bg\/docs\/10npay\/","term_slug":"10npay"}],"knowledge_base_slug":["10npay"],"_links":{"self":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/comments?post=241"}],"version-history":[{"count":0,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/docs\/241\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/media?parent=241"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_category?post=241"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/doc_tag?post=241"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/developers.10npay.com\/bg\/wp-json\/wp\/v2\/knowledge_base?post=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}