Object

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


{
    "id":"bcre_k3pbaBewh1CmzTPTOToHywYey",
    "object":"bharat_connect.payment",
    "type":"INCOMING",
    "invoice": {
        "id": "bcinv_k3pbaALyh1CmzTPTOToHywYey",
        "status":"PAID"
    },
    "metadata":"",
    "supplier_action":"ACCEPT",
    "payment_type": "OFFPLATFORM"
    "remarks":"test"
    "response":{
	    "status":"SUCCESS",
	    "message":""
    }
}

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

ParametersTypeDescription
idstringUnique identifier for the payment. Example: bcre_k3pbaBewh1CmzTPTOToHywYey
objectstringType of the object. Example: bharat_connect.payment
typestringType of payment. Example: INCOMING
invoiceobjectDetails of the associated invoice.
metadatastringAdditional metadata about the payment. Example: "" for empty metadata
supplier_actionstringAction taken by the supplier. Example: ACCEPT
payment_typestringPayment type (e.g., OFFPLATFORM). Example: OFFPLATFORM
remarksstringRemarks related to the payment. Example: test
responseobjectResponse details for the payment.

Child Object Invoice

The table below lists the various parameters in the Invoice object which is part of bharat_connect.payment object.

ParametersTypeDescription
idstringUnique identifier for the invoice. Example: bcinv_k3pbaALyh1CmzTPTOToHywYey
statusstringCurrent status of the invoice. Example: PAID

Child Object Response

The table below lists the various parameters in the Invoice object which is part of bharat_connect.payment object.

ParametersTypeDescription
statusstringResponse status of the payment. Example: SUCCESS
messagestringAdditional response message. Example: "" for empty message