Library

List rate packs

List public and workspace-owned rate packs. Deprecated packs already in use include deprecated: true.

get/library/rate-packs

Request

  • Base URL: https://next-api.saturation.io/v1
  • URL: https://next-api.saturation.io/v1/library/rate-packs
  • Auth: HTTP bearer

Query parameters

limitinteger

Maximum number of items to return on a page. Capped at 100.

cursorstring

Cursor from the previous page's nextCursor. Use it with the same filters and sort.

withCountboolean

Include the total number of matching items. Defaults to false.

expandRatePackExpand[]

Comma list of related data to inline on a workspace-source rate pack. Unknown key returns 400 expand_invalid.

qstring

Search pack names, publishers, and tags.

categorystring

Only rate packs in this category.

deprecatedboolean

Filter by deprecation state.

Response

A page of rate packs.

nextCursorstring nullable

Cursor for the next page. Pass it as cursor with the same filters and sort. Null on the last page.

countinteger

Total matching items; present only when withCount=true was requested.

truncatedboolean

Whether some matching items were omitted from the response.

Example response

{
  "data": [
    {
      "id": "txn_8f2a1c9e",
      "enabledBy": "txn_8f2a1c9e",
      "latestVersion": {
        "id": "txn_8f2a1c9e"
      },
      "items": [
        {
          "id": "txn_8f2a1c9e",
          "rate": {
            "amount": 152900,
            "currency": "USD"
          },
          "version": {
            "id": "txn_8f2a1c9e"
          }
        }
      ]
    }
  ],
  "nextCursor": "eyJpZCI6InR4bl84ZjJhMWM5ZSJ9"
}

Changes

No recorded changes to this operation across all 4 revisions of this API.