POST
/
transfers

Authorizations

Authorization
string
headerrequired

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Body

application/json
credit_batch_quantities
object[]
required

A list of credit batch IDs and kilogram amounts of each to transfer.

from_organisation_id
string
required

The ID of the organisation that is sending the credits. Typically this would be your own organisation ID.

Required string length: 20 - 36
notes
string | null
required

A publicly visible note stored with the credit transfer.

Maximum length: 256
supplier_id
string
required

All credits in a transfer must originate from the same supplier.

Required string length: 20 - 36
to_organisation_id
string
required

The ID of the organisation that will receive the credits.

Required string length: 20 - 36

Response

200 - application/json
credit_batch_size_total
object
required
from_organisation
object
required
id
string
required
Required string length: 20 - 36
notes
string | null
required
to_organisation
object
required
transferred_at
string
required