credits
List credit event ledger
Changed onget/v2/billing/credits/ledger
Request
- Base URLhttps://api.schematichq.com
- URLhttps://api.schematichq.com/v2/billing/credits/ledger
- AuthAPI key in header X-Schematic-Api-Key
Query parameters
billing_credit_idstring
company_idstring required
end_timestring
event_type'adjustment' | 'charge' | 'grant' | 'settlement' | 'transfer' | 'usage' | 'zero_out'
feature_idstring
source_event_idstring
Return only entries drawn by this track or inference event. Pass the event ID that POST /events returned for it.
start_timestring
limitinteger
Page limit (default 100)
offsetinteger
Page offset (default 0)
Response
OK
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
response property
data/items/source_iddeprecated
- info
- info
added the new optional
queryrequest parametersource_event_id - info
added the optional property
/to the response with the status
- info