Card Group
List card groups
Overview
Entities
Legal Entity
Virtual Account
Transaction
Card
Card Group
Card Group
List card groups
Retrieve the list of card groups that the user owns.
GET
/
card-group
curl --request GET \
--url https://api.joinslash.com/card-group \
--header 'X-API-Key: <api-key>'
{
"items": [
{
"id": "<string>",
"name": "<string>",
"virtualAccountId": "<string>",
"spendingConstraint": {
"merchantCategoryRule": {
"merchantCategories": [
"<string>"
],
"restriction": "allowlist"
},
"merchantRule": {
"merchants": [
"<string>"
],
"restriction": "allowlist"
},
"spendingRule": {
"utilizationLimit": {
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
},
"utilizationLimitV2": [
{
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
}
],
"transactionSizeLimit": {
"minimum": {
"amountCents": 123
},
"maximum": {
"amountCents": 123
}
}
},
"countryRule": {
"countries": [
"<string>"
],
"restriction": "allowlist"
},
"merchantCategoryCodeRule": {
"merchantCategoryCodes": [
"<string>"
],
"restriction": "allowlist"
}
}
}
],
"metadata": {
"nextCursor": "<string>",
"count": 123
}
}
Authorizations
Authentication from public API requests
Query Parameters
A cursor string to fetch the next page of results
Pass in a name to filter for card groups with a matching name.
Response
200
application/json
OK
The response is of type object
.
curl --request GET \
--url https://api.joinslash.com/card-group \
--header 'X-API-Key: <api-key>'
{
"items": [
{
"id": "<string>",
"name": "<string>",
"virtualAccountId": "<string>",
"spendingConstraint": {
"merchantCategoryRule": {
"merchantCategories": [
"<string>"
],
"restriction": "allowlist"
},
"merchantRule": {
"merchants": [
"<string>"
],
"restriction": "allowlist"
},
"spendingRule": {
"utilizationLimit": {
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
},
"utilizationLimitV2": [
{
"timezone": "<string>",
"limitAmount": {
"amountCents": 123
},
"preset": "daily",
"startDate": "<string>"
}
],
"transactionSizeLimit": {
"minimum": {
"amountCents": 123
},
"maximum": {
"amountCents": 123
}
}
},
"countryRule": {
"countries": [
"<string>"
],
"restriction": "allowlist"
},
"merchantCategoryCodeRule": {
"merchantCategoryCodes": [
"<string>"
],
"restriction": "allowlist"
}
}
}
],
"metadata": {
"nextCursor": "<string>",
"count": 123
}
}