List credit transactions
List credit transactions for a customer.
Returns an immutable, chronological record of credit movements: funded credits and consumed credits. Transactions are returned in reverse chronological order by default.
Path parameters
ULID (Universally Unique Lexicographically Sortable Identifier).
Query parameters
Filter credit transactions returned in the response.
{
"currency": "USD"
}Response
Cursor paginated response.
Example response
{
"data": [
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"labels": {
"env": "test"
},
"created_at": "2023-01-01T01:01:01.001Z",
"booked_at": "2023-01-01T01:01:01.001Z",
"currency": "USD"
}
],
"meta": {
"page": {
"size": 10
}
}
}Changes
Changed in 6 of the 62 revisions of this API.439
- ▲
added
CurrencyCodeBillingCurrencyCodeCustomto thedata/items/currency/allOf[BillingCurrencyCode]/response propertyoneOflist for the response status200response-property-one-of-added
- ○
removed
CurrencyCodeBillingCurrencyCodeCustomfrom thedata/items/currency/allOf[BillingCurrencyCode]/response propertyanyOflist for the response status200response-property-any-of-removed
- ▲
- ▲
the
data/items/currency/allOf[BillingCurrencyCode]/response's property type/format changed fromstring/to/for status200response-property-type-changed
- ●
for the
queryrequest parameterfilter, the type/format of propertycurrency/allOf[BillingCurrencyCode]/was changed fromstring/to/request-parameter-property-type-changed
- ○
removed
CurrencyCodefrom thedata/items/currency/allOf[BillingCurrencyCode]/response propertyallOflist for the response status200response-property-all-of-removed
- ○
added
CurrencyCodeBillingCurrencyCodeCustomto thedata/items/currency/allOf[BillingCurrencyCode]/response propertyanyOflist for the response status200response-property-any-of-added
- ▲
- ●
added the new
voidedenum value to thedata/items/type/allOf[BillingCreditTransactionType]/response property for the response status200response-property-enum-value-added
- ○
added the enum value
voidedto the propertytype/allOf[BillingCreditTransactionType]/of thequeryrequest parameterfilterrequest-parameter-property-enum-value-added
- ●
- ○
for the
queryrequest parameterfilter, the type/format of propertyfeature_key/allOf[StringFieldFilter]/anyOf[subschema #2]/ocontainswas generalized fromstring/ArrayEncoding.commaDelimitedtostring/request-parameter-property-type-generalized
- ○
for the
queryrequest parameterfilter, the type/format of propertyfeature_key/allOf[StringFieldFilter]/anyOf[subschema #2]/oeqwas generalized fromstring/ArrayEncoding.commaDelimitedtostring/request-parameter-property-type-generalized
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
expiredenum value to thedata/items/type/allOf[BillingCreditTransactionType]/response property for the response status200response-property-enum-value-added
- ○
added the enum value
expiredto the propertytype/allOf[BillingCreditTransactionType]/of thequeryrequest parameterfilterrequest-parameter-property-enum-value-added
- ●
- ▲
removed the enum value
expiredfrom the propertytype/allOf[BillingCreditTransactionType]/of thequeryrequest parameterfilterrequest-parameter-property-enum-value-removed
- ▲
removed the enum value
voidedfrom the propertytype/allOf[BillingCreditTransactionType]/of thequeryrequest parameterfilterrequest-parameter-property-enum-value-removed
- ○
removed the
expiredenum value from thedata/items/type/allOf[BillingCreditTransactionType]/response property for the response status200response-property-enum-value-removed
- ○
removed the
voidedenum value from thedata/items/type/allOf[BillingCreditTransactionType]/response property for the response status200response-property-enum-value-removed
This revision also has 112 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲