Object

Shown below is a sample bharat_connect.business object for Register Business.

{
    "id": "bhb_k3pbaALyh1CmzTPTOToHywYey",
    "object": "bharat_connect.business",
    "b2b_id": "zwch_4234233551",
    "name": "Business Name",
    "mobile_number": "9876543210",
    "email": "[email protected]",
    "phone": "9888763451",
    "kyc": {
        "city": "Bangalore",
        "postal_code": "560005",
        "state_code": "KA",
        "pan": "ABCTY1239H",
        "company_name": "ZXC Tech",
        "contact_person": "Rahul Reddy",
        "mcc_code": "4112",
        "business_type": "partnership",
        "primary_business_identifier": {
            "type": "GST",
            "reference_number": "22AAAAA0000A1Y7",
            "registered_name": "ZXC Tech"
        },
        "other_business_identifiers": [
            {
                "type": "",
                "reference_number": "",
                "registered_name": ""
            }
        ],
	  "status":""
    },
    "documents": [
        {
            "type": "customer_photo",
            "id": "doc_69ec2a9d8dbaf5ea1bc"
        },
        {
            "id": "doc_Ix0xZ13phVqfcwwpvPmQi3122",
            "type": "shop_and_establishment_license",
            "reference_number": "910192182120",
            "date_of_issue": "2016-12-18"
        },
        {
            "type": "customer_signature",
            "id": "doc_9c4O9c5DJQ3lie3SADVAHWFDT"
        }
    ],
    "addresses": [
        {
            "type": "OTHER",
            "address": "sarjapur",
            "city": "Bengaluru",
            "postal_code": "560010",
            "state_code": "KA",
            "state": "KARNATAKA"
        }
    ],
    "bank_details": [
        {
            "vpa": "test@vpa",
            "account_type": "SAVINGS",
            "bank_account_number": "67334963307",
            "name_of_account_holder": "Rahul Reddy",
            "bank_ifsc_code": "SBIN0070305",
            "bank_name": "abcd"
        }
    ],
    "status":"ACTIVE",
    "metadata": {
        "key_1": "DD",
        "key_2": "XOF"
    },
    "response": {
        "status": "", //get from bbps resp
        "message": ""
    }
}



The table below lists the various parameters in the bharat_connect.business object.

ParametersTypeDescription
idstringUnique identifier of the business. Example: bhb_k3pbaALyh1CmzTPTOToHywYey
objectstringAPI object that is returned. Example: bharat_connect.business
b2b_idstringB2B identifier for the business. Example: zwch_4234233551
namestringName of the business. Example: Business Name
mobile_numberstringMobile number of the business. Example: 9876543210
emailstringEmail address of the business contact. Example: [email protected]
phonestringPhone number of the business. Example: 9888763451
kycobjectKYC details of the business. Refer to the KYC object definition below.
documentsarray of objectsList of documents associated with the business. Refer to the Documents object definition below.
addressesarray of objectsList of addresses associated with the business. Refer to the Addresses object definition below.
bank_detailsarray of objectsList of bank details associated with the business. Refer to the Bank Details object definition below.
statusstringStatus of the business. Example: ACTIVE
metadataobjectAdditional metadata. Example: { "key_1": "DD", "key_2": "XOF" }
responseobjectResponse details. Refer to the Response object definition below.

[Child Object] KYC

The table below lists the various parameters in the kyc child object. This object is part of the bbharat_connect.business object.

ParametersTypeDescription
citystringCity of the business. Example: Bangalore
postal_codestringPostal code of the business. Example: 560005
state_codestringState code of the business. Example: KA
panstringPAN number of the business. Example: ABCTY1239H
company_namestringRegistered name of the company. Example: ZXC Tech
contact_personstringPrimary contact person. Example: Rahul Reddy
mcc_codestringMerchant Category Code. Example: 4112
business_typestringType of business. Example: partnership
primary_business_identifierobjectPrimary business identifier. Contains type, reference_number, and registered_name.
other_business_identifiersarray of objectsOther business identifiers. Each contains type, reference_number, and registered_name.
statusstringKYC status of the business.

[Child Object] Documents

The table below lists the various parameters in the documents child object. This object is part of the bbharat_connect.business object.

ParametersTypeDescription
typestringType of the document. Example: customer_photo
idstringDocument ID. Example: doc_69ec2a9d8dbaf5ea1bc
reference_numberstringReference number (if applicable). Example: 910192182120
date_of_issuestringDate of issue (if applicable). Example: 2016-12-18

[Child Object] Bank Details

The table below lists the various parameters in the bank_details child object. This object is part of the bbharat_connect.business object.

ParametersTypeDescription
vpastringVirtual Payment Address (VPA). Example: test@vpa
account_typestringType of bank account. Example: SAVINGS
bank_account_numberstringBank account number. Example: 67334963307
name_of_account_holderstringName of the account holder. Example: Rahul Reddy
bank_ifsc_codestringIFSC code of the bank. Example: SBIN0070305
bank_namestringName of the bank. Example: abcd

[Child Object] Bank Details

The table below lists the various parameters in the response child object. This object is part of the bbharat_connect.business object.

ParametersTypeDescription
statusstringStatus of the response from BBPS. Example: SUCCESS or FAILURE
messagestringMessage returned in the response. Example: Transaction successful