Prices
List all Prices
List all Prices
GET
/
prices
Header
Query
curl --request GET \
--url https://dev.seqhq.io/api/prices \
--header 'Authorization: <authorization>'
{
"items": [
{
"billingFrequency": "MONTHLY",
"billingType": "IN_ARREARS",
"createdAt": "2022-06-28T16:47:00Z",
"currency": "GBP",
"externalIds": [
{
"key": "Xero",
"value": "123"
}
],
"id": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
"name": "Demo Product",
"productId": "d07037d5-3e31-4c3a-a360-e58555e2bf44",
"sequenceAccountId": "1986c663-9ee9-4811-bfbf-57d2ad666096",
"structure": {
"isPricePercentage": false,
"pricePerUnit": "0.25",
"pricingType": "LINEAR",
"usageMetricId": "9aa108d7-6b12-4f5e-8288-5779b9d95b5e"
},
"updatedAt": "2022-06-28T16:47:00Z"
}
],
"pagination": {
"after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
"before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
"totalResultSize": 10
}
}
Headers
Authorization
string
requiredYour API credentials. Eg. Basic {credentials}
.
Query Parameters
limit
integer
Maximum number of objects to return per-page.
after
string
Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from pagination.after
or pagination.before
to retrieve each page.
before
string
Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from pagination.next
or pagination.previous
to retrieve each page.
currency
string
Filter by currency.
name
string
Filter by name.
billingFrequency
string
Filter by billing frequency.
productId
string
Filter by product ID.
Response
200 - application/json
items
object[]
requiredpagination
object
requiredcurl --request GET \
--url https://dev.seqhq.io/api/prices \
--header 'Authorization: <authorization>'
{
"items": [
{
"billingFrequency": "MONTHLY",
"billingType": "IN_ARREARS",
"createdAt": "2022-06-28T16:47:00Z",
"currency": "GBP",
"externalIds": [
{
"key": "Xero",
"value": "123"
}
],
"id": "bc61d4b8-e9d6-4f4a-9bcf-f5dae874c730",
"name": "Demo Product",
"productId": "d07037d5-3e31-4c3a-a360-e58555e2bf44",
"sequenceAccountId": "1986c663-9ee9-4811-bfbf-57d2ad666096",
"structure": {
"isPricePercentage": false,
"pricePerUnit": "0.25",
"pricingType": "LINEAR",
"usageMetricId": "9aa108d7-6b12-4f5e-8288-5779b9d95b5e"
},
"updatedAt": "2022-06-28T16:47:00Z"
}
],
"pagination": {
"after": "MDE4NDUyNjYtNmQ2NC03N2M4LTlhZGYtNDQ4N2Q5NGQxNDU3",
"before": "MDE4NDQyMWUtYTljYy03MTFiLWFmOTMtYmYwNTExZDRkODMz",
"totalResultSize": 10
}
}