{
  "opencollection": "1.0.0",
  "info": {
    "name": "Light Authorization v1 - Cards API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "v1 - Cards",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List cards",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/cards",
            "params": [
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return. Default is 50, maximum is 200."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of items to skip before starting to collect the result set. Deprecated, use 'cursor' instead."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The cursor position to start returning results from.\nTo opt-in into cursor-based pagination, provide `0` for the initial request.\nFor subsequent requests, use `nextCursor` and `prevCursor` from the previous response to navigate.\nCursor values are opaque and should not be constructed manually."
              }
            ]
          },
          "docs": "Returns a paginated list of cards"
        },
        {
          "info": {
            "name": "Create card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/cards",
            "headers": [
              {
                "name": "X-Idempotency-Key",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new card. Use metadata type 'VENDOR' for vendor cards or 'EMPLOYEE' for employee cards."
        },
        {
          "info": {
            "name": "Freeze card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/cards/:cardId/freeze",
            "headers": [
              {
                "name": "X-Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "cardId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Freezes a card to block transactions"
        },
        {
          "info": {
            "name": "Get card",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/cards/:cardId",
            "params": [
              {
                "name": "cardId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a card by ID"
        },
        {
          "info": {
            "name": "Unfreeze card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/cards/:cardId/unfreeze",
            "headers": [
              {
                "name": "X-Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "cardId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Unfreezes a card to allow transactions. For physical cards, this confirms the cardholder is in possession of the card."
        }
      ]
    }
  ],
  "bundled": true
}