GET
/
card-group
/
{cardGroupId}
cURL
curl --request GET \
  --url https://api.joinslash.com/card-group/{cardGroupId} \
  --header 'X-API-Key: <api-key>'
{
  "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"
    }
  }
}

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Path Parameters

cardGroupId
string
required

Response

OK

id
string
required
name
string
required
virtualAccountId
string

The ID of the virtual account that the card group is associated with

spendingConstraint
object

A constraint that can be applied to a CardGroupSpendingRule