Shown below is a sample bharat_connect.payment
object for Register Business.
{
"id":"bcpa_k3pbaBewh1CmzTPTOToHywYey",
"object":"bharat_connect.payment",
"type":"OUTGOING",
"invoice": {
"id": "bcinv_k3pbaALyh1CmzTPTOToHywYey",
"status":"PAYMENT INITIATED"
},
"netPaidAmount": 4,
"netAdjustmentAmount": 0,
"totalAmount": 4,
"paid_mode": "",
"initiated_at":"",
"response":{
"status":"SUCCESS",
"message":""
},
"metadata":""
}
The table below lists the various parameters in the bharat_connect.payment
object.
Parameters | Type | Description |
---|---|---|
id | string | Unique identifier for the payment. Example: bcpa_k3pbaBewh1CmzTPTOToHywYey |
object | string | Type of the object. Example: bharat_connect.payment |
type | string | Type of payment. Example: OUTGOING |
invoice | object | Details of the associated invoice. |
netPaidAmount | integer | Net amount paid. Example: 4 |
netAdjustmentAmount | integer | Net adjustment amount. Example: 0 |
totalAmount | integer | Total amount. Example: 4 |
paid_mode | string | Mode of payment (e.g., card, netbanking, etc.). Example: "" for empty or unknown mode |
initiated_at | string | Timestamp when payment was initiated. Example: "" for empty or unknown timestamp |
response | object | Response details for the payment. |
metadata | string | Additional metadata about the payment. Example: "" for empty metadata |
Child Object Invoice
The table below lists the various parameters in the invoice
object which is part of the 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: PAYMENT INITIATED |
Child Object Response
The table below lists the various parameters in the Response
object which is part of the 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 |