GET
/
card
curl --request GET \
  --url https://api.joinslash.com/card \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "accountId": "<string>",
      "last4": "<string>",
      "name": "<string>",
      "expiryMonth": "<string>",
      "expiryYear": "<string>",
      "status": "active",
      "isPhysical": true,
      "pan": "<string>",
      "cvv": "<string>",
      "cardGroupId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "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
            }
          }
        }
      },
      "avsAddress": {
        "addressLine1": "<string>",
        "addressLine2": "<string>",
        "city": "<string>",
        "state": "<string>",
        "zip": "<string>",
        "country": "<string>"
      },
      "userData": {}
    }
  ],
  "metadata": {
    "nextCursor": "<string>",
    "count": 123
  }
}

Authorizations

X-API-Key
string
headerrequired

Authentication from public API requests

Query Parameters

filter:legalEntityId
string

Pass in a legal entity ID to filter for cards in accounts under a specific legal entity.

filter:accountId
string

Pass in an account ID to filter for cards under a specific account.

cursor
string

A cursor string to fetch the next page of results

filter:status
enum<string>

Returns all cards matching the status passed in.

Available options:
active,
paused,
closed,
inactive
filter:cardGroupId
string

Pass in a card group ID, This will return all cards that belong to the card group ID passed in.

Response

200 - application/json
items
object[]
required
metadata
object

Response sent when requesting a list of data