Object

Overview of the various CKYC API objects.

The table below lists the different response objects received for the CKYC Registration APIs.

CKYC Registration APIsObjects
Check CKYC Registrationckyc_verification
Download CKYC Details
  • When downloading individual CKYC details: ckyc_download.individual
  • When downloading entity CKYC details: ckyc_download.entity

Check CKYC API Object

Shown below is a sample ckyc_verification object.

{
  "id": "ckyc_QAA7bOJ5mOLlarj7hKvtc4x0r",
  "object": "ckyc_verification",
  "purpose": "savings_account",
  "document_type": "pan",
  "document_number": "BBBBB1234B",
  "name": "Anil Reddy",
  "fathers_name": "Sunil Reddy",
  "ckyc_number": "78216949627381",
  "registration_type": "normal",
  "ckyc_date": "22-10-2018",
  "status": "success",
  "message": "success",
  "merchant_reference_id": "1004348",
  "entity_details": [
    {
      "entity_type": "proprietorship",
      "ckyc_number": "51444032827486",
      "name": "Anil Reddy Enterprises",
      "place_of_incorporation": "Bangalore",
      "ckyc_date": "2022-08-04",
      "ckyc_updated_date": "2022-08-03"
    }
  ],
  "conssent": true,
  "metadata": {
    "key_1": "DD",
    "key_2": "XoF"
  },
  "created_at": 1678365314,
  "updated_at": 1678365314,
  "is_sandbox": true
}

The table below lists the various parameters in the ckyc_verification object.

ParameterTypeDescription
idstringUnique identifier of the search CKYC request in the ZWITCH database.

Example: ckyc_y60V1ZWa4oVpShsisqTf03Gvt
objectstringAPI object that is returned.

Possible value: ckyc_verification
purposestringReason you are checking if an individual or entity is registered in the CKYC database.

Possible values:
  • savings_account
  • current_account
document_typestringType of KYC document used to check if an individual or entity is registered in the CKYC database.

Possible value: pan
document_numberstringKYC document number used to check if an individual or entity is registered in the CKYC database.

Example: AAAPA0000A
namestringName linked to the KYC document in the CKYC database.

Example: Anil Reddy
fathers_namestringKYC document holder's father's name in the CKYC database.

Example: Sunil Reddy
ckyc_numberstringUnique identifier of the individual or entity in the CKYC database.

Example: O12345678900987
registration_typestringType of CKYC registration.

Possible values:
  • normal
  • simplified
  • small
  • otp_based_e_kyc


Refer to theTypes of CKYC Registration section for more details.
ckyc_datestringDate the individual's or entity's details were added to the CKYC database.

Format: YYYY-MM-DD

Has to be 10 characters.

Example: 2022-12-31

Supported characters:
  • 0-9
  • -
statusstringPossible values:
  • success: The API call was successful and the individual's or entity's details were found in the CKYC database and returned in the API response.
  • failed: The API call was successful, but the individual's or entity's details were not found in the CKYC database.
messagestringMessage explaining the status of the API.

Some possible values:
  • success: The API call was successful and the individual's or entity's details were found in the CKYC database and returned in the API response.
  • CKYC not found: The API call was successful, but the individual's or entity's details were not found in the CKYC database.
merchant_reference_idstringUnique identifier entered when creating the request.

  • Only alphabets and numbers are allowed.
  • Minimum: 7 characters.
  • Maximum: 40 characters.
Example: 14096850
entity_detailsobjectObject that contains entity CKYC details.

Learn more about the entity_details child object.
consentbooleanIndividual's or entity's consent to check if they are registered in the CKYC database.

Possible value: true
metadataobjectObject of key-value pair that can be used to store additional information about the entity.
  • Each pair cannot exceed 256 characters.
  • Maximum 5 key-value pairs.
Example: "key_1": "Zwitch to the moon.”
created_atintegerUnix timestamp when the check CKYC registration request was received by ZWITCH.

Example: 1656417101
updated_atintegerUnix timestamp when the check CKYC registration request was processed by ZWITCH.

Example: 1656417101
is_sandboxbooleanMode in which the API was triggered.

Possible values:
  • true: API was triggered in sandbox mode
  • false: API was triggered in live mode

[Child Object] Entity Details

The table below lists the various parameters in the entity_details child object. This object is part of the ckyc_verification object.

entity_typestringType of entity for which CKYC details were returned.

Example: proprietorship
ckyc_numberstringUnique identifier of the entity in the CKYC database.

Example: O00000000000000
namestringName linked to the KYC document in the CKYC database.

Example: Anil Reddy Enterprises
place_of_incorporationstringPlace where the entity is registered.

Example: Bangalore
ckyc_datestringDate the entity details were added to the CKYC database.

Format: YYYY-MM-DD

Has to be 10 characters.

Example: 2022-12-31

Supported characters:
  • 0-9
  • -
ckyc_updated_datestringDate the entity details were updated to the CKYC database.

Format: YYYY-MM-DD

Has to be 10 characters.

Example: 2022-12-31

Supported characters:
  • 0-9
  • -

Download Individual CKYC Details API Object

Shown below is a sample ckyc_download.individual object.

{
  "id": "ckyc_QAA7bOJ5mOLlarj7hKvtc4x0r",
  "type": "individual",
  "object": "ckyc_download.individual",
  "name": "Anil Reddy",
  "date_of_birth": "2020-12-31",
  "fathers_name": "Sunil Reddy",
  "ckyc_number": "78216949627381",
  "mobile_number": "9876543210",
  "email": "[email protected]",
  "addresses": [
    {
      "type": "permanent",
      "address": "211B BAKER STREET, BANGALORE - 560005",
      "city": "BANGALORE_URBAN",
      "postal_code": "560005",
      "state_code": "KA"
    },
    {
      "type": "communication",
      "address": "211B BAKER STREET, BANGALORE - 560005",
      "city": "BANGALORE_URBAN",
      "postal_code": "560005",
      "state_code": "KA"
    }
  ],
  "registration_type": "normal",
  "status": "success",
  "message": "success",
  "consent": true,
  "is_sandbox": true,
  "created_at": 1678365314,
  "updated_at": 1678366100
}

The table below lists the various parameters in the ckyc_download.individual object.

ParameterTypeDescription
idstringUnique identifier of the check CKYC request in the ZWITCH database.

Example: ckyc_y60V1ZWa4oVpShsisqTf03Gvt
typestringType of CKYC information downloaded.

Possible value: individual
objectstringAPI object that is returned.

Possible value: ckyc_download.individual
namestringName linked to the KYC document in the CKYC database.

Example: Anil Reddy
date_of_birthstringIndividual's date of birth.

Format: YYYY-MM-DD

Must be 10 characters.

Example: 2022-12-31

Supported characters:
  • 0-9
  • -
fathers_namestringKYC document holder's father's name in the CKYC database.

Example: Sunil Reddy
ckyc_numberstringUnique identifier of the individual in the CKYC database.

Example: 64470902945373
mobile_numberstringIndividual's mobile number.

Must be 10 characters.

Example: 9876543210

Supported characters:
  • 0-9
emailstringIndividual's email address.

Example: [email protected]
addressesarray of objectsArray of objects that contain a list of addresses linked to the individual or entity in the CKYC database.

Refer to theAddress child object for more details.
registration_typestringType of CKYC registration.

Possible values:
  • normal
  • simplified_measures_account
  • small_account
  • otp_based_ekyc_account


Refer to theTypes of CKYC Registration section for more details.
statusstringPossible values:
  • success: The API call was successful and the required details were downloaded from the CKYC database and returned in the API response.
  • failed: The API call failed. This can happen because of a number of reasons such as network issues and service outages.
messagestringMessage explaining the status of the API.

Possible values:
  • success: The API call was successful and the required details were downloaded from the CKYC database and returned in the API response.
  • Unable to download CKYC details: The API call failed. This can happen because of a number of reasons such as network issues and service outages.
consentbooleanIndividual's or entity's consent to check if they are registered in the CKYC database.

Possible value: true
is_sandboxbooleanMode in which the API was triggered.

Possible values:
  • true: API was triggered in sandbox mode
  • false: API was triggered in live mode
created_atintegerUnix timestamp when the request was received by ZWITCH.

Example: 1656417101
updated_atintegerUnix timestamp when the request was processed by ZWITCH.

Example: 1656417101

[Child Object] Address

The table below lists the various parameters in the address child object. This object is part of the ckyc_download.individual object.

ParameterTypeDescription
typestringType of address linked to the KYC document holder in the CKYC database.

Example: permanent, communication
addressstringKYC document holder's address in the CKYC database.

Example: 211B BAKER STREET, BANGALORE - 560005
citystringKYC document holder's city in the CKYC database.

Example: Bangalore
postal_codestringKYC document holder's address in the CKYC database.

Example: 560005
state_codestringKYC document holder's address in the CKYC database.

Example: KA

Download Entity CKYC Details API Object

Shown below is a sample ckyc_download.entity object.

{
  "id": "ckyc_QAA7bOJ5mOLlarj7hKvtc4x0r",
  "type": "entity",
  "object": "ckyc_download.entity",
  "date_of_incorporation": "2020-12-31",
  "mobile_number": "7019452349",
  "email": "[email protected]",
  "addresses": [
    {
      "type": "permanent",
      "address": "211B BAKER STREET, BANGALORE - 560005",
      "city": "BANGALORE_URBAN",
      "postal_code": "560005",
      "state_code": "KA"
    },
    {
      "type": "communication",
      "address": "211B BAKER STREET, BANGALORE - 560005",
      "city": "BANGALORE_URBAN",
      "postal_code": "560005",
      "state_code": "KA"
    }
  ],
  "entity_details": {
    "entity_type": "proprietorship",
    "name": "Anil Reddy Enterprises",
    "ckyc_number": "51444032827486",
    "place_of_incorporation": "Bangalore",
    "ckyc_date": "2022-08-04",
    "ckyc_updated_date": "2022-08-03"
  },
  "status": "success",
  "message": "success",
  "consent": true,
  "is_sandbox": true,
  "created_at": 1678365314,
  "updated_at": 1678366793
}

The table below lists the various parameters in the ckyc_download.entity object.

ParameterTypeDescription
idstringUnique identifier of the check CKYC request in the ZWITCH database.

Example: ckyc_y60V1ZWa4oVpShsisqTf03Gvt
typestringType of CKYC information downloaded.

Possible value: entity
objectstringAPI object that is returned.

Possible value: ckyc_download.entity
date_of_incorporationstringDate the entity was registered.

Format: YYYY-MM-DD

Has to be 10 characters.

Example: 2022-12-31

Supported characters:
  • 0-9
  • -
mobile_numberstringRegistered mobile number of the entity.

Has to be 10 characters.

Example: 9876543210

Supported characters:
  • 0-9
emailstringRegistered email address of the entity.

Example: [email protected]
addressesarray of objectsArray of objects that contain a list of addresses linked to the individual or entity in the CKYC database.

Refer to the Address child object for more details.
entity_detailsobjectObject that contains entity CKYC details.

Learn more about the entity_details child object.
statusstringPossible values:
  • success: The API call was successful and the required details were downloaded from the CKYC database and returned in the API response.
  • failed: The API call failed. This can happen because of a number of reasons such as network issues and service outages.
messagestringMessage explaining the status of the API.

Possible values:
  • success: The API call was successful and the required details were downloaded from the CKYC database and returned in the API response.
  • Unable to download CKYC details: The API call failed. This can happen because of a number of reasons such as network issues and service outages.
is_sandboxbooleanMode in which the API was triggered.

Possible values:
  • true: API was triggered in sandbox mode
  • false: API was triggered in live mode
created_atintegerUnix timestamp when the request was received by ZWITCH.

Example: 1656417101
updated_atintegerUnix timestamp when the request was processed by ZWITCH.

Example: 1656417101

[Child Object] Address

The table below lists the various parameters in the address child object. This object is part of the ckyc_download.entity object.

ParameterTypeDescription
typestringType of address linked to the KYC document holder in the CKYC database.

Example: permanent, communication
addressstringKYC document holder's address in the CKYC database.

Example: 211B BAKER STREET, BANGALORE - 560005
citystringKYC document holder's city in the CKYC database.

Example: Bangalore
postal_codestringKYC document holder's address in the CKYC database.

Example: 560005
state_codestringKYC document holder's address in the CKYC database.

Example: KA

[Child Object] Entity Details

The table below lists the various parameters in the entity_details child object. This object is part of the ckyc_download.entity object.

entity_typestringEntity type.

Example: proprietorship
ckyc_numberstringUnique identifier of the entity in the CKYC database.

Example: O00000000000000
namestringEntity name.

Example: Anil Reddy Enterprises
place_of_incorporationstringPlace the entity is registered.

Example: Bangalore
ckyc_datestringDate the entity details were added to the CKYC database.

Format: YYYY-MM-DD

Has to be 10 characters.

Example: 2022-12-31

Supported characters:
  • 0-9
  • -
ckyc_updated_datestringDate the entity details were updated to the CKYC database.

Format: YYYY-MM-DD

Has to be 10 characters.

Example: 2022-12-31

Supported characters:
  • 0-9
  • -