List cost bases
Changed onPre-release Endpoint This endpoint is currently in beta and is subject to change.
List cost bases for a currency. For custom currencies, there can be multiple cost bases with different effective_from dates.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
ULID (Universally Unique Lexicographically Sortable Identifier).
Query parameters
Filter options for listing cost bases.
Filter cost bases by fiat currency code.
Filter cost bases returned in the response.
To filter cost bases by fiat currency code add the following query param: filter[fiat_code]=USD
{
"fiat_code": "USD"
}The number of items to include per page.
The page number.
Determines which page of the collection to retrieve.
Response
Page paginated response.
Page paginated response.
returns the pagination information
Example response
{
"data": [
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"fiat_code": "USD",
"effective_from": "2023-01-01T01:01:01.001Z",
"effective_to": "2023-01-01T01:01:01.001Z",
"created_at": "2023-01-01T01:01:01.001Z"
}
],
"meta": {
"page": {
"number": 1,
"size": 10,
"total": 100
}
}
}Changes
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status - warning
added the new
key_invalidenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status - warning
added the new
uniqueenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status
- breaking