List card groups

Changed on

List card groups, newest first.

get/v2/card-groups

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/card-groups
  • Auth
    API key in header X-API-Key

Query parameters

cursorstring

The opaque metadata.nextCursor value from the previous page. It carries that page's filters, page size and ordering, so pass it on its own; see Pagination.

limitinteger

Number of items per page, from 1 to 100. The page size is carried inside metadata.nextCursor, so later pages keep the same size unless limit is passed again to change it.

statusstring[]

Return groups in these statuses. Defaults to active.

searchstring

Match on the group name.

Response

A page of card groups.

Example response

{
  "items": [
    {
      "id": "card_group_2rj4l7hmrrrcv",
      "name": "Marketing",
      "controls": {
        "limit": {
          "amount": {
            "amount": 500000,
            "currency": "USD"
          },
          "period": "monthly"
        },
        "transactionLimit": {
          "amount": 250000,
          "currency": "USD"
        },
        "merchantCategoryCodes": {
          "mode": "block",
          "values": [
            "7995"
          ]
        }
      }
    }
  ]
}

Changes