---
updatedAt: 2026-04-21T09:28:39.000Z
agentTools:
  projectIndex: https://customer-api.getpliant.com/llms.txt
---

# List Organizations

> 🔒 **Required scope:** `financial-accounts:read`
>
> The API credential calling this endpoint must be granted the `financial-accounts` category with `read` or `read & write` access.
> Scopes are assigned to the credential when it is created or edited in Pliant, not requested when obtaining the access token.
> A credential without this scope receives `403 Forbidden` with the error code `INSUFFICIENT_PERMISSION`.

Returns a list of organizations. You can filter by status or VAT ID to find specific organizations. You can use the `limit`, `page`, `sortBy` and `sortDirection` parameters to filter and sort the results.


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "contact": {
      "name": "API Support",
      "email": "support@getpliant.com",
      "url": "https://www.getpliant.com"
    },
    "title": "Pliant Customer API",
    "description": "Pliant Customer API",
    "version": "2.1.0",
    "license": {
      "name": "MIT",
      "url": "https://opensource.org/license/MIT"
    }
  },
  "servers": [
    {
      "url": "https://partner-api.getpliant.com/api",
      "description": "Pliant Production Server"
    },
    {
      "url": "https://sandbox.partner-api.getpliant.com/api",
      "description": "Pliant Sandbox Server"
    },
    {
      "url": "https://pci-api.getpliant.com",
      "description": "PCI Vault Production Server"
    },
    {
      "url": "https://pci-sandbox.partner-api.getpliant.com",
      "description": "PCI Vault Sandbox Server"
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "java",
      "kotlin"
    ],
    "headers": [
      {
        "key": "Pliant-API-Version",
        "value": "2.1.0"
      }
    ]
  },
  "tags": [
    {
      "name": "Organizations",
      "description": "This tag is for operations related to organizations"
    },
    {
      "name": "Card Accounts",
      "description": "This tag is for operations related to card accounts"
    },
    {
      "name": "Cards",
      "description": "This tag is for operations related to cards"
    }
  ],
  "paths": {
    "/organizations": {
      "get": {
        "summary": "List Organizations",
        "description": "> 🔒 **Required scope:** `financial-accounts:read`\n>\n> The API credential calling this endpoint must be granted the `financial-accounts` category with `read` or `read & write` access.\n> Scopes are assigned to the credential when it is created or edited in Pliant, not requested when obtaining the access token.\n> A credential without this scope receives `403 Forbidden` with the error code `INSUFFICIENT_PERMISSION`.\n\nReturns a list of organizations. You can filter by status or VAT ID to find specific organizations. You can use the `limit`, `page`, `sortBy` and `sortDirection` parameters to filter and sort the results.\n",
        "x-required-scopes": [
          "financial-accounts:read"
        ],
        "tags": [
          "Organizations"
        ],
        "operationId": "list-organizations",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "description": "The status of the organizations to filter by.",
            "schema": {
              "type": "string",
              "description": "The status of the organization, see [our guides](/docs/organization-entity) for more details.",
              "enum": [
                "ONBOARDING_STARTED",
                "ONBOARDING_RISK_AND_COMPLIANCE",
                "ONBOARDING_MANDATES_AND_TERMS",
                "ACTIVE",
                "DEACTIVATED",
                "CANCELLED"
              ],
              "example": "ONBOARDING_STARTED"
            }
          },
          {
            "name": "vatId",
            "in": "query",
            "description": "The VAT ID of the organization to filter by.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The maximum number of items to return per page. The default value if not provided is 100, the maximum allowed value is 1000.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "The page number to return, starting with 0, this counts up to the total number of pages. The total number of pages is determined by the total number of records divided by the limit.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "The field to sort by.",
            "schema": {
              "type": "string",
              "enum": [
                "id",
                "name",
                "status",
                "createdAt"
              ]
            }
          },
          {
            "name": "sortDirection",
            "in": "query",
            "description": "The direction to sort by.",
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "organizationId": {
                            "type": "string",
                            "format": "uuid",
                            "description": "The id of the organization."
                          },
                          "name": {
                            "type": "string",
                            "description": "The name of the organization."
                          },
                          "status": {
                            "$ref": "#/paths/~1organizations/get/parameters/0/schema"
                          },
                          "vatId": {
                            "type": "string",
                            "nullable": true,
                            "description": "The VAT ID of the organization, if available."
                          },
                          "cardAccounts": {
                            "$ref": "#/paths/~1organizations~1{organizationId}/get/responses/200/content/application~1json/schema/properties/cardAccounts"
                          },
                          "paymentProgramId": {
                            "type": "string",
                            "format": "uuid",
                            "description": "The id of the payment program this organization belongs to."
                          }
                        }
                      }
                    },
                    "hasNextPage": {
                      "type": "boolean",
                      "description": "Indicates whether there is a next page available."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/paths/~1cards/get/responses/400"
          },
          "401": {
            "$ref": "#/paths/~1cards/get/responses/401"
          },
          "403": {
            "$ref": "#/paths/~1cards/get/responses/403"
          },
          "429": {
            "$ref": "#/paths/~1cards/get/responses/429"
          },
          "500": {
            "$ref": "#/paths/~1cards/get/responses/500"
          }
        }
      }
    },
    "/organizations/{organizationId}": {
      "get": {
        "summary": "Organization Details",
        "description": "> 🔒 **Required scope:** `financial-accounts:read`\n>\n> The API credential calling this endpoint must be granted the `financial-accounts` category with `read` or `read & write` access.\n> Scopes are assigned to the credential when it is created or edited in Pliant, not requested when obtaining the access token.\n> A credential without this scope receives `403 Forbidden` with the error code `INSUFFICIENT_PERMISSION`.\n\nReturns a single organization by its ID\n",
        "x-required-scopes": [
          "financial-accounts:read"
        ],
        "tags": [
          "Organizations"
        ],
        "operationId": "get-organization-details",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the organization.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "organizationId": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The unique identifier of the organization."
                    },
                    "name": {
                      "type": "string",
                      "description": "The legal name of the organization."
                    },
                    "status": {
                      "$ref": "#/paths/~1organizations/get/parameters/0/schema"
                    },
                    "syncType": {
                      "type": "string",
                      "enum": [
                        "FULL",
                        "PARTIAL"
                      ],
                      "nullable": true,
                      "description": "The sync type of the organization, will always be `FULL` for now."
                    },
                    "integrationType": {
                      "type": "string",
                      "enum": [
                        "PARTNER"
                      ],
                      "nullable": true,
                      "description": "The integration type of the organization, will always be `PARTNER`."
                    },
                    "creditLimit": {
                      "type": "object",
                      "description": "The credit limit for the organization, if applicable. For prefund organizations this value is always 0 EUR. See our [guides](/docs/organization-entity#account-limits-and-balance) for more details regarding limits and balances.",
                      "properties": {
                        "value": {
                          "type": "number",
                          "description": "The value of the monetary amount, converted to minor units of the currency. For instance 1.00 EUR is 100 cents, thus the value here is `100`. See our [guides](/docs/monetary-values) for more details about how to handle monetary amounts."
                        },
                        "currency": {
                          "type": "string",
                          "description": "The currency of the monetary amount in ISO 4217 format, for example `EUR` for Euro or `USD` for US Dollar."
                        }
                      }
                    },
                    "availableLimit": {
                      "type": "object",
                      "description": "The available spending capacity for the organization. See our [guides](/docs/organization-entity#account-limits-and-balance) for more details regarding limits and balances.",
                      "properties": {
                        "value": {
                          "type": "number",
                          "description": "The value of the monetary amount, converted to minor units of the currency. For instance 1.00 EUR is 100 cents, thus the value here is `100`. See our [guides](/docs/monetary-values) for more details about how to handle monetary amounts."
                        },
                        "currency": {
                          "type": "string",
                          "description": "The currency of the monetary amount in ISO 4217 format, for example `EUR` for Euro or `USD` for US Dollar."
                        }
                      }
                    },
                    "balance": {
                      "type": "object",
                      "description": "The balance of the organization, which represents movements (positive and negative) on the account. See our [guides](/docs/organization-entity#account-limits-and-balance) for more details regarding limits and balances.",
                      "properties": {
                        "value": {
                          "type": "number",
                          "description": "The value of the monetary amount, converted to minor units of the currency. For instance 1.00 EUR is 100 cents, thus the value here is `100`. See our [guides](/docs/monetary-values) for more details about how to handle monetary amounts."
                        },
                        "currency": {
                          "type": "string",
                          "description": "The currency of the monetary amount in ISO 4217 format, for example `EUR` for Euro or `USD` for US Dollar."
                        }
                      }
                    },
                    "cardsAccounts": {
                      "type": "array",
                      "description": "Organizations are able to define account numbers that are used when exporting data from Pliant to an accounting system (e.g. DATEV). This is optional and only used for accounting purposes. Typically this is set on card account level but we do have fallbacks on organization level.\n**Important**: The properties and values are not identifiers for the companies card accounts within Pliant. Please use the respective endpoints to gather information about the card accounts.\n",
                      "items": {
                        "type": "object",
                        "properties": {
                          "number": {
                            "type": "number",
                            "nullable": true
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "CREDITOR_ACCOUNT",
                              "PAYMENT_ACCOUNT"
                            ]
                          }
                        }
                      }
                    },
                    "tradeName": {
                      "type": "string",
                      "nullable": true,
                      "description": "An organization may use a different name, e.g. for marketing purposes. In case a trade name is provided, this will be the one printed on the employees' physical cards, instead of the organization's legal name.\nThis field is only optional, as long as the legal `name` of the organization is not longer than 20 characters.\n \n**If the legal `name` is longer than 20 characters, the trade name is required:**\n  - The trade name maximum length is 20 characters, since it is printed on the physical cards.\n  - Trade name cannot be `null` or empty.\n"
                    },
                    "legalForm": {
                      "type": "string",
                      "description": "The legal form of the organization. Use a value for the organization's `country` from\n[Legal forms by country](/docs/legal-forms-by-country).\nPreserve the exact spelling, capitalization, spaces, and punctuation.\n"
                    },
                    "foundationDate": {
                      "type": "string",
                      "format": "date",
                      "description": "The founding date of the organization in the format `DD.MM.YYYY`."
                    },
                    "country": {
                      "type": "string",
                      "description": "The country of the organization in ISO 3166-1 alpha-2 notation.",
                      "minLength": 2,
                      "maxLength": 2
                    },
                    "accountType": {
                      "type": "string",
                      "deprecated": true,
                      "description": "Replaced by `cardAccount.accountType`, see [API endpoint](./get-card-accounts). This field now shows the account type of the default card account of this organization. Note: a `CREDIT` card account can also top up their balance with a one-time prefund payment. This does not change the `accountType`, but just shows up as a bigger `availableLimit`.",
                      "enum": [
                        "CREDIT",
                        "PREFUNDED"
                      ]
                    },
                    "partnersOrganizationId": {
                      "type": "string",
                      "nullable": true,
                      "description": "Optional field, referencing the id used by the partner to identify this organization.",
                      "deprecated": true
                    },
                    "partnerOrganizationId": {
                      "type": "string",
                      "nullable": true,
                      "description": "Optional field, referencing the id used by the partner to identify this organization."
                    },
                    "paymentFrequency": {
                      "type": "string",
                      "deprecated": true,
                      "description": "Replaced by `cardAccount.paymentFrequency`, see [API endpoint](./get-card-accounts). This field now shows the payment frequency of the default card account of this organization.",
                      "enum": [
                        "DAILY",
                        "WEEKLY",
                        "BI_WEEKLY",
                        "MONTHLY",
                        "PREFUNDED"
                      ]
                    },
                    "nationalRegisterCourt": {
                      "type": "string",
                      "description": "The national register court of the organization."
                    },
                    "nationalRegisterId": {
                      "type": "string",
                      "nullable": true,
                      "description": "The national register id of the organization."
                    },
                    "nationalRegisterType": {
                      "type": "string",
                      "nullable": true,
                      "description": "The national register type of the organization."
                    },
                    "tradeRegisterNumber": {
                      "type": "string",
                      "description": "The trade register number of the organization."
                    },
                    "vatId": {
                      "type": "string",
                      "nullable": true,
                      "description": "The VAT ID of the organization, if available."
                    },
                    "billingEmail": {
                      "type": "string",
                      "nullable": true,
                      "description": "The billing email of the organization."
                    },
                    "billingAddress": {
                      "type": "object",
                      "description": "The billing address of the organization.",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "The unique identifier of the address."
                        },
                        "type": {
                          "type": "string",
                          "description": "The type of the address, here always `BILLING`.",
                          "enum": [
                            "BILLING",
                            "DELIVERY"
                          ]
                        },
                        "country": {
                          "type": "string",
                          "description": "The country of the address in ISO 3166-1 alpha-2 notation. Might be `null` for non-active organizations, but is set for active organizations.",
                          "nullable": true,
                          "minLength": 2,
                          "maxLength": 2
                        },
                        "city": {
                          "type": "string",
                          "description": "The city of the address. Might be `null` for non-active organizations, but is set for active organizations.",
                          "nullable": true
                        },
                        "postalCode": {
                          "type": "string",
                          "description": "The postal code of the address. Might be `null` for non-active organizations, but is set for active organizations.",
                          "nullable": true
                        },
                        "streetFull": {
                          "type": "string",
                          "description": "The full street name of the address. Might be `null` for non-active organizations, but is set for active organizations.",
                          "nullable": true
                        },
                        "streetName": {
                          "type": "string",
                          "description": "The street name of the address. Might be `null` for non-active organizations, but is set for active organizations.",
                          "nullable": true
                        },
                        "streetNumber": {
                          "type": "string",
                          "description": "The street number of the address. Might be `null` for non-active organizations, but is set for active organizations.",
                          "nullable": true
                        },
                        "streetAdditional": {
                          "type": "string",
                          "nullable": true,
                          "description": "Optional additional street information."
                        }
                      }
                    },
                    "deliveryAddress": {
                      "type": "object",
                      "nullable": true,
                      "description": "The delivery address of the organization.",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "The unique identifier of the address."
                        },
                        "type": {
                          "type": "string",
                          "description": "The type of the address, here always `DELIVERY`.",
                          "enum": [
                            "BILLING",
                            "DELIVERY"
                          ]
                        },
                        "country": {
                          "type": "string",
                          "description": "The country of the address in ISO 3166-1 alpha-2 notation. Might be `null` for non-active organizations, but is set for active organizations.",
                          "minLength": 2,
                          "maxLength": 2,
                          "nullable": true
                        },
                        "city": {
                          "type": "string",
                          "description": "The city of the address. Might be `null` for non-active organizations, but is set for active organizations.",
                          "nullable": true
                        },
                        "postalCode": {
                          "type": "string",
                          "description": "The postal code of the address. Might be `null` for non-active organizations, but is set for active organizations.",
                          "nullable": true
                        },
                        "streetFull": {
                          "type": "string",
                          "description": "The full street name of the address. Might be `null` for non-active organizations, but is set for active organizations.",
                          "nullable": true
                        },
                        "streetName": {
                          "type": "string",
                          "description": "The street name of the address. Might be `null` for non-active organizations, but is set for active organizations.",
                          "nullable": true
                        },
                        "streetNumber": {
                          "type": "string",
                          "description": "The street number of the address. Might be `null` for non-active organizations, but is set for active organizations.",
                          "nullable": true
                        },
                        "streetAdditional": {
                          "type": "string",
                          "nullable": true,
                          "description": "Optional additional street information."
                        }
                      }
                    },
                    "processingAccount": {
                      "type": "object",
                      "deprecated": true,
                      "description": "Replaced by `cardAccount.bankAccountInformation`, see [API endpoint](./get-card-accounts). This field now shows the Pliant-internal IBAN of the default card account of this organization.",
                      "properties": {
                        "beneficiary": {
                          "type": "string",
                          "description": "The beneficiary of the processing account."
                        },
                        "bankName": {
                          "type": "string",
                          "nullable": true,
                          "description": "The name of the bank of the processing account."
                        },
                        "iban": {
                          "type": "string",
                          "nullable": true,
                          "description": "The IBAN of the processing account."
                        },
                        "bic": {
                          "type": "string",
                          "nullable": true,
                          "description": "The BIC of the processing account.",
                          "example": "SPBIDE3B"
                        }
                      }
                    },
                    "isCompanyNamePrintable": {
                      "type": "boolean",
                      "description": "Determines if the company name should be printed on the card."
                    },
                    "eligibleForHybridAccount": {
                      "type": "boolean",
                      "description": "Determines if the organization is eligible for a hybrid account. A hybrid account is a credit account with additional prefund balance."
                    },
                    "cardAccounts": {
                      "type": "array",
                      "description": "The [card accounts](/docs/card-account) of the organization. At least one card account is required.",
                      "items": {
                        "type": "object",
                        "description": "A [card account](/docs/card-account) of the organization.",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "description": "The id of the card account."
                          },
                          "name": {
                            "type": "string",
                            "description": "The name of the card account."
                          },
                          "status": {
                            "type": "string",
                            "description": "The status of the card account. A card account with `status` `SUPERSEDED` was replaced by a successor card account and is kept for historical reasons only. Read the [card account](/reference/get-card-account-details) to find its successor (`supersededBy`).",
                            "enum": [
                              "ACTIVE",
                              "PENDING",
                              "DEACTIVATED",
                              "CANCELLED",
                              "SUPERSEDED"
                            ]
                          },
                          "defaultAccount": {
                            "type": "boolean",
                            "description": "Indicates whether this is the default card account. There is always one active default card account."
                          }
                        }
                      }
                    },
                    "missingReceiptNotifications": {
                      "type": "boolean",
                      "description": "If set to `true`, the organization will receive notifications about missing receipts. If set to `false`, the organization will not receive notifications about missing receipts."
                    },
                    "fxFeePercentage": {
                      "type": "number",
                      "description": "The per-organization fee (as a percentage of the transaction amount) that is charged for foreign exchange transactions. This value is specific to this organization. Example: `2.1`.",
                      "format": "float",
                      "example": 2.1,
                      "minimum": 0,
                      "maximum": 100,
                      "nullable": true
                    },
                    "paymentProgramId": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The id of the payment program this organization belongs to."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/paths/~1cards/get/responses/400"
          },
          "401": {
            "$ref": "#/paths/~1cards/get/responses/401"
          },
          "403": {
            "$ref": "#/paths/~1cards/get/responses/403"
          },
          "404": {
            "$ref": "#/paths/~1cards/post/responses/404"
          },
          "500": {
            "$ref": "#/paths/~1cards/get/responses/500"
          }
        }
      }
    },
    "/card-accounts/{cardAccountId}/deactivate": {
      "post": {
        "summary": "Deactivate Card Account",
        "description": "> 🔒 **Required scope:** `financial-accounts:write`\n>\n> The API credential calling this endpoint must be granted the `financial-accounts` category with `read & write` access.\n> Scopes are assigned to the credential when it is created or edited in Pliant, not requested when obtaining the access token.\n> A credential without this scope receives `403 Forbidden` with the error code `INSUFFICIENT_PERMISSION`.\n\nDeactivates a card account. The organization ownership is automatically determined from the card account. A card account with `status` `SUPERSEDED` cannot be deactivated, since it is already in a terminal state.\n",
        "x-required-scopes": [
          "financial-accounts:write"
        ],
        "tags": [
          "Card Accounts"
        ],
        "operationId": "deactivate-card-account",
        "parameters": [
          {
            "name": "cardAccountId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the card account to deactivate.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Card account successfully deactivated.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1card-accounts/post/responses/201/content/application~1json/schema"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request - Cannot deactivate the default card account.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorCode": {
                      "type": "string",
                      "description": "The error code"
                    },
                    "exceptionId": {
                      "type": "string",
                      "format": "uuid",
                      "description": "The id of the exception that was thrown"
                    },
                    "message": {
                      "type": "string",
                      "description": "The cause of the error or further explanations on the error"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/paths/~1cards/get/responses/401"
          },
          "403": {
            "$ref": "#/paths/~1cards/get/responses/403"
          },
          "404": {
            "$ref": "#/paths/~1cards/post/responses/404"
          },
          "429": {
            "$ref": "#/paths/~1cards/get/responses/429"
          },
          "500": {
            "$ref": "#/paths/~1cards/get/responses/500"
          }
        }
      }
    },
    "/cards": {
      "get": {
        "summary": "List Cards",
        "description": "> 🔒 **Required scope:** `cards:read`\n>\n> The API credential calling this endpoint must be granted the `cards` category with `read` or `read & write` access.\n> Scopes are assigned to the credential when it is created or edited in Pliant, not requested when obtaining the access token.\n> A credential without this scope receives `403 Forbidden` with the error code `INSUFFICIENT_PERMISSION`.\n\nReturns a list of cards. You can use the `limit`, `page`, `sortBy` and `sortDirection` parameters to filter and sort the results.\n\n**This endpoint has changed in comparison to the previous version of the API.** The following changes were made:\n- changed the enumeration for the status field in the response body\n",
        "x-required-scopes": [
          "cards:read"
        ],
        "tags": [
          "Cards"
        ],
        "operationId": "get-cards",
        "parameters": [
          {
            "name": "organizationId",
            "in": "query",
            "description": "The ID of the organization to filter by.",
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "required": true
          },
          {
            "name": "cardAccountId",
            "in": "query",
            "description": "The ID of the card account to filter by. A card always carries the card account it is currently assigned to. Once a card has been reassigned (see the `CARD_REASSIGNED` callback), it is only returned for its new card account, not for the superseded one.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "A list of statuses of cards to filter by.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "PENDING",
                  "PENDING_ACTIVATION",
                  "PENDING_ISSUANCE",
                  "PENDING_REGISTRATION",
                  "REQUEST_APPROVED",
                  "REQUESTED",
                  "REQUEST_CANCELLED",
                  "REQUEST_REJECTED",
                  "ACTIVE",
                  "LOCKED",
                  "LOCKED_PIN",
                  "EXPIRED",
                  "TERMINATED",
                  "TERMINATED_LOST",
                  "TERMINATED_STOLEN"
                ]
              }
            }
          },
          {
            "name": "cardholderId",
            "in": "query",
            "description": "The ID of the [cardholder](/docs/cardholder-entity) to filter by.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "type",
            "in": "query",
            "deprecated": true,
            "description": "**DEPRECATED**: Use `cardConfig` parameter instead. A list of types of cards to filter by.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "VIRTUAL",
                  "SINGLE_USE",
                  "TRAVEL",
                  "PHYSICAL",
                  "BLACK"
                ]
              }
            }
          },
          {
            "name": "cardConfig",
            "in": "query",
            "description": "Filter by exact card configuration (e.g., PLIANT_PHYSICAL, PLIANT_VIRTUAL_TRAVEL, PLIANT_SINGLE_USE). Can be specified multiple times for filtering by multiple configurations.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "description": "The `from` date to filter by as zero-offset UTC time. The date boundary is inclusive. Meaning we compare with `>=`.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2024-07-19T15:00:00.000000Z"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "description": "The `to` date to filter by as zero-offset UTC time. The date boundary is inclusive. Meaning we compare with `<=`.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2024-07-19T15:00:00.000000Z"
            }
          },
          {
            "name": "byDateField",
            "in": "query",
            "description": "The date field to filter by if `fromDate` and `toDate` are present.",
            "schema": {
              "type": "string",
              "nullable": true,
              "enum": [
                "createdAt",
                "updatedAt"
              ],
              "default": "createdAt"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "The maximum number of items to return per page. The default value if not provided is 100, the maximum allowed value is 1000.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "The page number to return, starting with 0, this counts up to the total number of pages. The total number of pages is determined by the total number of records divided by the limit.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "The field to sort by.",
            "schema": {
              "type": "string",
              "enum": [
                "organizationId",
                "status",
                "cardholderId",
                "updatedAt"
              ]
            }
          },
          {
            "name": "sortDirection",
            "in": "query",
            "description": "The direction to sort by.",
            "schema": {
              "type": "string",
              "enum": [
                "ASC",
                "DESC"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "cardId": {
                            "type": "string",
                            "format": "uuid",
                            "description": "The unique identifier of the card."
                          },
                          "organizationId": {
                            "type": "string",
                            "format": "uuid",
                            "description": "The unique identifier of the organization."
                          },
                          "cardAccountId": {
                            "type": "string",
                            "format": "uuid",
                            "description": "The unique identifier of the card account."
                          },
                          "cardholderId": {
                            "type": "string",
                            "format": "uuid",
                            "description": "The unique identifier of the cardholder."
                          },
                          "type": {
                            "type": "string",
                            "deprecated": true,
                            "nullable": true,
                            "description": "Deprecated, please use `cardConfig` instead.\n`VIRTUAL` - Virtual credit card\n`SINGLE_USE` - One-time virtual credit card (only one authorization allowed per card)\n`PHYSICAL` - Physical credit card\n`BLACK` - Physical black premium credit card\n`TRAVEL` - Virtual cards used specifically in travel industry related use cases\n",
                            "enum": [
                              "VIRTUAL",
                              "SINGLE_USE",
                              "PHYSICAL",
                              "BLACK",
                              "TRAVEL"
                            ]
                          },
                          "cardConfig": {
                            "type": "string",
                            "description": "The Pliant card configuration of this card. This describes all feature of this card in one single configuration, e.g. the type of the card and also the design of the card etc. It replaces the deprecated card `type`. Please refer to the [guide section](/docs/card-entity) to learn more about possible values."
                          },
                          "platformFee": {
                            "type": "boolean",
                            "description": "Whether the card is used for the internal Pliant platform fee or not."
                          },
                          "cardDesignId": {
                            "type": "string",
                            "format": "uuid",
                            "description": "The unique identifier of the card design used for this specific card."
                          },
                          "cardDesignLogoName": {
                            "type": "string",
                            "nullable": true,
                            "description": "The name of the card design used for this specific card."
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "description": "The date-time when card was created."
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time",
                            "description": "The date-time when card was updated."
                          }
                        }
                      }
                    },
                    "hasNextPage": {
                      "type": "boolean",
                      "description": "Indicates whether there is a next page available."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request. The API consumer sent a malformed request which could not be processed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1card-accounts~1{cardAccountId}~1deactivate/post/responses/400/content/application~1json/schema"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized. The API consumer is not authorized to access the requested resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1card-accounts~1{cardAccountId}~1deactivate/post/responses/400/content/application~1json/schema"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden. The API consumer is not allowed to access the requested resource.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1card-accounts~1{cardAccountId}~1deactivate/post/responses/400/content/application~1json/schema"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests. The API consumer has sent too many requests in a given amount of time. Please check our [API guidelines](/docs/pliant-api-guidelines#api-rate-limits).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Detailed description of the error and breached rate limit."
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error. The request was not completed due to an internal error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1card-accounts~1{cardAccountId}~1deactivate/post/responses/400/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "This API uses oAuth2 with client credentials flow to [obtain the Bearer Token](/docs/authenticated-api-usage).",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```