Create compliance document

    This API creates a new complaince document.

    API Endpoint

    POST https://api.plivo.com/v1/Account/{auth_id}/ComplianceDocument/

    Arguments

    Arguments

    aliasstringrequired

    Friendly name for the document.

    end_user_idstringrequired

    Unique identifier for the end user associated with this compliance document.

    document_type_idstringrequired

    Unique identifier of the compliance document type this document is an instance of.

    Informationstringrequired

    List of relevant information as defined by the compliance document type.

    proof filerequired

    Scanned proof supporting the provided information.

    Response

    {
       "alias": "Address proof test New",
       "api_id": "27dd7750-e55a-11ec-bf06-0242ac110007",
       "created_at": "2022-06-06T05:33:12.075868Z",
       "document_id": "8db8118e-df4e-4bb7-b086-6bba10abe90a",
       "document_type_id": "eb356022-76bb-4950-90e2-293821ad4058",
       "end_user_id": "0124b993-681d-44f3-8229-776213a3c307",
       "file_name": "Screenshot 2022-05-25 at 5.03.43 PM.png",
       "message": "created",
       "meta_information": {
          "tax_code": "150"
       }
    }
    

    Example Request

    1
    
    1
    
    1
    
    1
    
    1
    
    1
    
    1
    
    1