Credit Batch
Changed onInformation about a specific credit batch.
get/credit_batches/{id}
Request
- Base URLhttps://api.isometric.com/registry/v0
- URLhttps://api.isometric.com/registry/v0/credit_batches/{id}
- AuthHTTP bearer
Path parameters
idstring required
Example:ctb_1DRBTYA8Q1S07CBY
Headers
x-client-secretstring required
A secret token identifying the client connecting to the API
Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP
Response
Successful Response
Example response
{
"id": "ctb_1DRBTYA8Q1S07CBY",
"serial_number": "ISO-1-BSTORE-GBR-F5X7-2024-78177-81177",
"size": {
"credits": 125.632,
"credit_kgs": 125632
},
"country_of_issue": "GBR",
"supplier_id": "spl_1CC712KFS1S0YKPS",
"parent_id": "ctb_1DRBTYA8Q1S07CBY",
"left_child_id": "ctb_1DRBTYA8Q1S07CBY",
"right_child_id": "ctb_1DRBTYA8Q1S07CBY",
"issuance_id": "iss_1EWT8R5FY1S0GFCY",
"delivery_id": "dlv_1C454ZXA61S03Z9T",
"beneficiary": {
"id": "org_1GB56M1ST1S0GVNA",
"name": "Isometric",
"domain": "isometric.com"
},
"retirement_id": "ret_1FYBH4QDT1S0SVKF",
"ghg_entry_id": "rmv_1EEM6NJXX1S0EXKD",
"removal_id": "rmv_1EEM6NJXX1S0EXKD",
"owner": {
"id": "org_1GB56M1ST1S0GVNA",
"name": "Isometric",
"domain": "isometric.com"
},
"project_id": "prj_1CTWZQGKE1S0VAXA"
}Changes
- breaking
for the
pathrequest parameterid, the minLength was increased from0to20 - warning
for the
pathrequest parameterid, the maxLength was set to37 - info
for the
pathrequest parameterid, the type was generalized from no type tostring
- breaking
- info
added the required property
to the response with the status
- info