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.
| Parameters | Type | Description |
|---|---|---|
| id | string | Unique identifier for the payment. Example: bcre_k3pbaBewh1CmzTPTOToHywYey |
| object | string | Type of the object. Example: bharat_connect.payment |
| type | string | Type of payment. Example: INCOMING |
| invoice | object | Details of the associated invoice. |
| metadata | string | Additional metadata about the payment. Example: "" for empty metadata |
| supplier_action | string | Action taken by the supplier. Example: ACCEPT |
| payment_type | string | Payment type (e.g., OFFPLATFORM). Example: OFFPLATFORM |
| remarks | string | Remarks related to the payment. Example: test |
| response | object | Response 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.
| Parameters | Type | Description |
|---|---|---|
| id | string | Unique identifier for the invoice. Example: bcinv_k3pbaALyh1CmzTPTOToHywYey |
| status | string | Current 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.
| Parameters | Type | Description |
|---|---|---|
| status | string | Response status of the payment. Example: SUCCESS |
| message | string | Additional response message. Example: "" for empty message |