등록 문서 생성
1. 서류 요건 확인
먼저 등록하려는 국가에 해당하는 문서 요건을 검토하십시오
- 증빙 서류가 필요한 경우 안전하게 암호화하여 업로드해야 합니다.
- 사용 가능한 증빙 서류 유형을 조회하려면 v3/get_proof_types API를 사용하십시오.
2. 파일 암호화
업로드하기 전에 모든 증빙 서류는 보안을 위해 암호화되어야 합니다.
파일을 암호화하려면 v3/create_encrypted_file API를 사용하십시오.
암호화 중 각 파일에 올바른 증빙 유형(예: 여권, 국가 신분증)이 연결되어 있는지 확인하십시오.
3. 서류 제출
필요한 파일을 암호화한 후 등록 절차의 일부로 제출하십시오.
v3/create_document API를 사용하여 새 문서를 만들고 암호화된 파일을 업로드하십시오.
참고: 암호화된 파일은 20분 후에 만료됩니다.
설명:
등록 문서를 생성합니다
URI:
https://api.multitel.net/v3/create_document
파라미터:
Required: - identity_type: Type of Identity. Available values is as follow - “Personal”,“Business”. - first_name: First name of the identity document - last_name: Last name of the identity document. - phone_number: phone number of the identity. - country: Country ISO code - city: City name of the identity - postal_code: Postal code of the identity - address: Address of the identity - nationality:Nationality Country ISO code Optional: - company_name: Company name of the business identity. (required for the only business identity documents) - company_reg_number: Company registration number of the business identity. (required for the only business identity documents) - vat_id: Company VAT ID of the business identity. - incorporation_country:Incorporation Country ISO code - birth_date: Birth date of the identity in ISO 8601 format. - id_number: Company’s representative ID number of the business identity. - personal_tax_id: Tax ID of the identity. - description: Description of the document. - identity_encryptfiles[]: List of encrypted files with identity proof type - address_encryptfiles[]: List of encrypted files with address proof type - signature: Signature code encoded with base64
메서드:
POST
샘플 출력:
{
"status": {
"code": 200,
"msg": "Success Create Registration Detail."
},
"response": {
"uuid": "00704f5656b7dcfb934eb3437bc2252e",
"first_name": "First Name",
"last_name": "Last Name",
"address": "Addreress",
"phone_number": "12345678901",
"id_number": "123",
"personal_tax_id": "",
"identity_type": "Personal",
"description": "",
"birth_date": "2000-10-12",
"company_name": null,
"company_reg_number": null,
"vat_id": null,
"verified": "",
"city": "City",
"postal_code": "1000",
"address_desc": "address",
"signature": "iVBORw0KGgo...",
"date_created": "2024-10-22 09:13:20"
}
}샘플 코드:
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.multitel.net/v3/create_document',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => array('identity_type' => 'Business','company_name' => 'Company Name','company_reg_number' => '123456','vat_id' => '123456','incorporation_country' => 'US','nationality' => 'US','country' => 'US','address_description' => 'address','first_name' => 'First Name','last_name' => 'Last Name','phone_number' => '12345678901','birth_date' => '2000-01-01','id_number' => '123','personal_tax_id' => '','description' => '','city' => 'City','postal_code' => '1000','address' => 'Address','identity_encryptfiles[]' => '3a0334a5-ce0d-4fc5-a8fc-321231fad709','address_encryptfiles[]' => '6642824a-593e-4c3d-87de-ba9442c34aa6','signature' => 'iVBORw0KGgoAA'),
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Accept: application/json',
'Authorization: Basic YWRtaW46Vnc0OXB11',
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;