---
title: /api/v1/clients/{client}/payment-provider-cards
slug: apiv1clientsclientpayment-provider-cards
docTags: 
createdAt: 2026-04-21T15:22:49.957Z
---

{
  "id": "GAQEf4OJHqZRGo1-u4aZF",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://developer.digitail.io/api/v1/clients/{client}/payment-provider-cards",
    "servers": [
      {
        "url": "https://developer.digitail.io/api/v1/clients/{client}/payment-provider-cards",
        "description": "Sandbox server (uses test data)"
      },
      {
        "url": "https://vet.digitail.io/api/v1/clients/{client}/payment-provider-cards",
        "description": "Production server (uses live data)"
      }
    ],
    "name": "",
    "description": "Get saved payment provider cards.\n",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "client",
          "type": "string",
          "description": "<p>Client id OR {clinic-id}-{pet-parent-id} tuple.</p>"
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "passport",
          "name": "passport",
          "kind": "optional",
          "type": "oauth2",
          "description": "Laravel passport oauth2 security.",
          "oauth2Flows": {
            "authorizationCode": {
              "authorizationUrl": "https://digitail.test/oauth/authorize",
              "tokenUrl": "https://digitail.test/oauth/token",
              "refreshUrl": "https://digitail.test/oauth/token"
            }
          }
        },
        {
          "id": "Bearer",
          "name": "Bearer",
          "kind": "optional",
          "type": "http",
          "scheme": "bearer"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Successful operation",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "data",
                "kind": "optional",
                "type": "array",
                "description": "",
                "example": "",
                "itemType": "object",
                "customType": "object[]",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "pi_fake"
                  },
                  {
                    "name": "brand",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "modelRef": "#/paths/~1api~1v1~1charges/post/requestBody/content/application~1json/schema/properties/card_brand",
                    "customType": "card_brand",
                    "schema": []
                  },
                  {
                    "name": "last4",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "4242"
                  },
                  {
                    "name": "exp_month",
                    "kind": "optional",
                    "type": "integer",
                    "description": "",
                    "example": 12
                  },
                  {
                    "name": "exp_year",
                    "kind": "optional",
                    "type": "integer",
                    "description": "",
                    "example": 2022
                  }
                ]
              },
              {
                "name": "links",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/paths/~1api~1v1~1pets/get/responses/200/content/application~1json/schema/properties/links",
                "customType": "links",
                "schema": []
              },
              {
                "name": "meta",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/paths/~1api~1v1~1pets/get/responses/200/content/application~1json/schema/properties/meta",
                "customType": "meta",
                "schema": []
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "DuLZNdqYG-cIDLhKFZ1oY",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://developer.digitail.io/api/v1/clients/{client}/payment-provider-cards \\\n     --header 'accept: application/json'"
        },
        {
          "id": "NT02uFU6Jc3ykfj9_MyP5",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://developer.digitail.io/api/v1/clients/{client}/payment-provider-cards\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "mNg0GqSziXgiOHkpqz83-",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://developer.digitail.io/api/v1/clients/{client}/payment-provider-cards\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "2LP_3F5JZ_GdSh0qWgxAa",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://developer.digitail.io/api/v1/clients/{client}/payment-provider-cards\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "DuLZNdqYG-cIDLhKFZ1oY"
    },
    "results": {
      "languages": [
        {
          "id": "hkupg34gm2OtmUaq6bVEx",
          "language": "200",
          "code": "// Successful operation\n{\n  \"data\": [\n    {\n      \"id\": \"pi_fake\",\n      \"brand\": {},\n      \"last4\": \"4242\",\n      \"exp_month\": 12,\n      \"exp_year\": 2022\n    }\n  ],\n  \"links\": {},\n  \"meta\": {}\n}"
        }
      ],
      "selectedLanguageId": "hkupg34gm2OtmUaq6bVEx"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}