Upload document by verification token

POST {{base_url}}/v1/customer/supporting-documents/:token/upload

Upload reuqired document from local file directory to pass Third Party Verification (TPV).

After uploading document successfully with 204 status code, it will be automaticlly approve or reject by system simulator.

In POST Document Upload API, uploading a file containing approve keyword in attachment filed, the document will be automaticlly approved and Third Party Verification (TPV) will be completed; if uploading a file containing reject keyword, then document will be rejected and Third Party Verification (TPV) still need to reupload document.

This document upload API only works for accounts successfully created by POST call but not passed Third Party Verification (TPV), which status should be NEED_MORE_DATA .

Please refer to the required_document field in sample ( 200 - [EKYC Failed/Document Required] Get Account with Process View ) attached under Manage Accounts GET Search managed account through external id API or GET Search managed account by Seller Id API .

Request Body

[{"name"=>"document_info", "value"=>"{\"document_type\":\"{{managed_path_upload_document_type}}\"}", "datatype"=>"string"}, {"name"=>"attachment", "value"=>nil, "datatype"=>"null"}]

HEADERS

| Key | Datatype | Required | Description |

RESPONSES

status: ``