List card groups
Changed onList card groups, newest first.
get/v2/card-groups
Request
- Base URLhttps://api.slash.com
- URLhttps://api.slash.com/v2/card-groups
- AuthAPI 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
- info
endpoint added
- info