Skip to main content

Query KYC Status

Path

  • URL: /cb-core/api/v1/seller/query-status
  • Method: POST
  • Description: This API allows to query KYC status of a seller

Request

Request Baokim Table

ParamsData Type + LengthRequiredDescription
request_idstring(50)YesA unique ID for each request from the customer to Baokim
request_timestring(19)YesTime of the request submission.Format: YYYY-MM-DD HH:MM:SS
merchant_codestring(20)YesMerchant code provided by Baokim
sub_merchant_codestring(20)YesSub-merchant code. If seller belongs to merchant directly, fill in merchant_code
seller_idstring(50)YesSeller ID in merchant system

Request Example

{
"request_id": "BK009373788182HUYLLAPU",
"request_time": "2024-11-01 14:00:00",
"merchant_code": "MERCHANT001",
"sub_merchant_code": "MERCHANT001",
"seller_id": "SELLER123456",
}

Response

Response Table

ParamsData type + lengthRequiredDescription
response_codeint(4)YesError code from Baokim as per Error Codes Table
response_messagestring(100)YesDescription of the error code from Baokim as per Error Codes Table
merchant_codestring(20)YesMerchant code
seller_idstring(50)YesSeller ID
statusstring(1)Yes1: Processing
2: KYC passed
3: KYC failed
4: additional documents required
5: Additional documents have been provided.
reasonstring(255)NoThe reason will be available when status = 3 or 4

Response Example

{
"response_code": 200,
"response_message": "Success",
"merchant_code" :"MERCHANT001",
"seller_id": "SELLER123456",
"status": 1,
"reason": ""
}

Error Code

Response CodeResponse Message
200Success
11Failed
101System Error
404Not Found