Credits

Credit statement

Every credit in and out, newest first.

GET/credits/transactions

Token permission: View balance credits:read

Query parameters

ParameterTypeRequiredDescription
limitnumberNoHow many transactions to return, from 1 to 200. Default: 50.
offsetnumberNoHow many to skip, for pagination. Default: 0.

To paginate, add limit to offset on each page until a list shorter than limit comes back.

Response

FieldWhat it is
amountThe transaction amount. Negative is money out; positive is money in.
balance_afterThe balance right after this transaction.
typeThe transaction type (table below).
reference_type / reference_idWhat the transaction refers to (table below).
notesA note, when there is one.
created_atWhen it happened.
balanceYour current balance.
typeWhat it isreference_id
key_generationYou generated keys.The generation_id returned by the generation.
refundRefund of a failed generation.The generation's generation_id.
purchaseCredit purchase.The credit order number.
manual_adjustAdjustment made by the team.β€”

Errors

HTTPWhen
401Missing, invalid, deleted or expired token.
403The token lacks the View balance permission.
422limit outside 1 to 200, or a negative offset.
429Over the rate limit.