v2
latestOpenAPI 3.1.02026-08-054181117.0 KBCreate Transfer
Transfer credits from specific batches, in whole or with splits. All credit batches must originate from the same supplier and be owned by the current organisation.
post/transfers
Headers
x-client-secretstring required
A secret token identifying the client connecting to the API
Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP
A secret token identifying the client connecting to the API
Request body
Example request
{
"credit_batch_quantities": [
{
"credit_batch_id": "ctb_1DRBTYA8Q1S07CBY",
"credit_quantity_kg": 1000
}
],
"from_organisation_id": "org_1GB56M1ST1S0GVNA",
"to_organisation_id": "org_1GB56M1ST1S0GVNA",
"supplier_id": "spl_1CC712KFS1S0YKPS",
"notes": "Transferred with care."
}Response
Successful Response
Example response
{
"id": "tfr_1FJGWSY271S0QSMR",
"from_organisation": {
"id": "org_1GB56M1ST1S0GVNA",
"name": "Isometric",
"domain": "isometric.com"
},
"to_organisation": {
"id": "org_1GB56M1ST1S0GVNA",
"name": "Isometric",
"domain": "isometric.com"
},
"credit_batch_size_total": {
"credits": 125.632,
"credit_kgs": 125632
}
}