{
"name": "Jane Doe",
"email": "jane.new@example.com",
"phone": "+84123456789",
"address": "456 Nguyen Hue, District 1, Ho Chi Minh City",
"id_number": "012345678",
"id_type": 1,
"sex": 2,
"nationality": "VN",
"date_of_issue": "2020-01-01",
"date_of_expiry": "2032-01-01"
}
{
"message": "success",
"data": {
"id": "cust-001",
"name": "Jane Doe",
"email": "jane.new@example.com",
"phone": "+84123456789",
"address": "456 Nguyen Hue, District 1, Ho Chi Minh City",
"id_number": "012345678",
"id_type": 1,
"sex": 2,
"nationality": "VN",
"date_of_issue": "2020-01-01",
"date_of_expiry": "2032-01-01"
}
}
{
"error": "kyc not found",
"error_code": "KYC_NOT_FOUND",
"message": "No KYC record with this id"
}
Partner Customer KYC
Update Customer KYC
Update an existing partner customer KYC record.
PUT
/
partners
/
kycs
/
{id}
{
"name": "Jane Doe",
"email": "jane.new@example.com",
"phone": "+84123456789",
"address": "456 Nguyen Hue, District 1, Ho Chi Minh City",
"id_number": "012345678",
"id_type": 1,
"sex": 2,
"nationality": "VN",
"date_of_issue": "2020-01-01",
"date_of_expiry": "2032-01-01"
}
{
"message": "success",
"data": {
"id": "cust-001",
"name": "Jane Doe",
"email": "jane.new@example.com",
"phone": "+84123456789",
"address": "456 Nguyen Hue, District 1, Ho Chi Minh City",
"id_number": "012345678",
"id_type": 1,
"sex": 2,
"nationality": "VN",
"date_of_issue": "2020-01-01",
"date_of_expiry": "2032-01-01"
}
}
{
"error": "kyc not found",
"error_code": "KYC_NOT_FOUND",
"message": "No KYC record with this id"
}
Update an existing partner customer KYC record. Fails with
404 Not Found if the id is unknown. KYC records cannot be deleted.
See the Partner Customer KYC guide for the field reference.
Authentication
string
required
Your partner app key.
string
required
Base64-encoded Ed25519 signature of the sign data.
string
required
Unix timestamp (seconds) of the request. Must be within 60 seconds of server time.
Path Parameters
string
required
Partner-provided unique id of the customer KYC record to update.
Body Parameters
At least one of
email or phone must be provided. Every other body field is mandatory.string
required
Full name.
string
Email. Required if
phone is not provided.string
Phone number. Required if
email is not provided.string
required
Residential address.
string
required
Identity document number.
integer
required
Only
1 = Citizen ID is currently supported.integer
required
1 = Male, 2 = Female, 3 = Other.string
required
Nationality.
string
required
Identity document issue date in ISO
YYYY-MM-DD format.string
required
Identity document expiry date in ISO
YYYY-MM-DD format.{
"name": "Jane Doe",
"email": "jane.new@example.com",
"phone": "+84123456789",
"address": "456 Nguyen Hue, District 1, Ho Chi Minh City",
"id_number": "012345678",
"id_type": 1,
"sex": 2,
"nationality": "VN",
"date_of_issue": "2020-01-01",
"date_of_expiry": "2032-01-01"
}
{
"message": "success",
"data": {
"id": "cust-001",
"name": "Jane Doe",
"email": "jane.new@example.com",
"phone": "+84123456789",
"address": "456 Nguyen Hue, District 1, Ho Chi Minh City",
"id_number": "012345678",
"id_type": 1,
"sex": 2,
"nationality": "VN",
"date_of_issue": "2020-01-01",
"date_of_expiry": "2032-01-01"
}
}
{
"error": "kyc not found",
"error_code": "KYC_NOT_FOUND",
"message": "No KYC record with this id"
}