Credit actions
All available credit actions.
For transferring credits this is THE endpoint to use. You can transfer credits from an organization, user or subaccount.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
fromIdstringRequiredExample:
The entity that holds the credits - if not a subaccountId the default subaccount will be used.
123e4567-e89b-12d3-a456-426614174000commentstringOptionalExample:
An optional transaction comment
Transfer 2024Responses
200Success
application/json
transactionIdstringRequiredExample:
The transaction id
123e4567-e89b-12d3-a456-426614174000successbooleanRequiredExample:
Whether the transaction was successful or not
truepost
/v1/transfer200Success
For retiring credits this is THE endpoint to use. You can retire credits from an organization, user or subaccount.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
fromIdstringRequiredExample:
The entity that holds the credits
123e4567-e89b-12d3-a456-426614174000reasonstringRequiredExample:
The reason for retirement. This reason comes from a specified picklist.
CorsiabeneficiaryNamestringRequiredExample:
The beneficiary for the retirement
Beff JezoscommentstringRequiredExample:
A retirement comment
Retiring for flights 24'Responses
200Success
application/json
successbooleanRequiredExample:
Whether the transaction was successful or not
123e4567-e89b-12d3-a456-426614174000transactionIdstringRequiredExample:
The id of the possibly pending transaction
truepost
/v1/retire200Success
Last updated