---
updatedAt: 2025-09-03T22:07:58.000Z
agentTools:
  projectIndex: https://documentation.paysimple.com/llms.txt
---

# Credit Card Accounts

Returns a list of all Credit Card accounts associated with the specified customer.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "paysimple-api-40-do-not-delete",
    "version": "1.1"
  },
  "servers": [
    {
      "url": "https://api.paysimple.com/v4"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/customer/{customerId}/creditcardaccounts": {
      "get": {
        "summary": "Credit Card Accounts",
        "description": "Returns a list of all Credit Card accounts associated with the specified customer.",
        "operationId": "customercustomeridcreditcardaccounts",
        "parameters": [
          {
            "name": "CustomerId",
            "in": "path",
            "description": "Id of the Customer whose credit card accounts you want to list",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": null
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Success": {
                    "value": "[\n    {\n      \"CreditCardNumber\": \"************1111\",\n      \"ExpirationDate\": \"12/2020\",\n      \"Issuer\": \"Visa\",\n      \"BillingZipCode\": \"80202\",\n      \"CustomerId\": 9695143,\n      \"IsDefault\": true,\n      \"RequiresValidation\": false,\n      \"Id\": 8989970,\n      \"LastModified\": \"2018-01-10T20:29:03Z\",\n      \"CreatedOn\": \"2018-01-10T20:29:03Z\"\n    }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "CreditCardNumber": {
                        "type": "string",
                        "example": "************1111"
                      },
                      "ExpirationDate": {
                        "type": "string",
                        "example": "12/2020"
                      },
                      "Issuer": {
                        "type": "string",
                        "example": "Visa"
                      },
                      "BillingZipCode": {
                        "type": "string",
                        "example": "80202"
                      },
                      "CustomerId": {
                        "type": "integer",
                        "example": 9695143,
                        "default": 0
                      },
                      "IsDefault": {
                        "type": "boolean",
                        "example": true,
                        "default": true
                      },
                      "RequiresValidation": {
                        "type": "boolean",
                        "example": false,
                        "default": true
                      },
                      "Id": {
                        "type": "integer",
                        "example": 8989970,
                        "default": 0
                      },
                      "LastModified": {
                        "type": "string",
                        "example": "2018-01-10T20:29:03Z"
                      },
                      "CreatedOn": {
                        "type": "string",
                        "example": "2018-01-10T20:29:03Z"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"Meta\": {\n    \"Errors\": {\n      \"ErrorCode\": \"InvalidInput\",\n      \"ErrorMessages\": [\n        {\n          \"Field\": \"\",\n          \"Message\": \"Customer with ID 0 does not exist\"\n        }\n      ]\n    },\n    \"HttpStatus\": \"BadRequest\",\n    \"HttpStatusCode\": 400,\n    \"PagingDetails\": null\n  },\n  \"Response\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "Meta": {
                      "type": "object",
                      "properties": {
                        "Errors": {
                          "type": "object",
                          "properties": {
                            "ErrorCode": {
                              "type": "string",
                              "example": "InvalidInput"
                            },
                            "ErrorMessages": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "Field": {
                                    "type": "string",
                                    "example": ""
                                  },
                                  "Message": {
                                    "type": "string",
                                    "example": "Customer with ID 0 does not exist"
                                  }
                                }
                              }
                            }
                          }
                        },
                        "HttpStatus": {
                          "type": "string",
                          "example": "BadRequest"
                        },
                        "HttpStatusCode": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "PagingDetails": {}
                      }
                    },
                    "Response": {}
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Content-Type",
        "value": "application/json"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```