---
updatedAt: 2025-06-04T21:35:33.000Z
agentTools:
  projectIndex: https://documentation.paysimple.com/llms.txt
---

# Default Credit Card

Returns the default credit card account 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}/defaultcreditcard": {
      "get": {
        "summary": "Default Credit Card",
        "description": "Returns the default credit card account associated with the specified customer.",
        "operationId": "customercustomeriddefaultcreditcard",
        "parameters": [
          {
            "name": "CustomerId",
            "in": "path",
            "description": "Id of the Customer whose default credit card account you want to retrieve",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": null
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Success": {
                    "value": " {\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": "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"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"Meta\": {\n  \"Errors\": {\n      \"ErrorCode\": \"NotFound\",\n      \"ErrorMessages\": []\n    },\n    \"HttpStatus\": \"NotFound\",\n    \"HttpStatusCode\": 404,\n    \"PagingDetails\": null\n  },\n  \"Response\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "Meta": {
                      "type": "object",
                      "properties": {
                        "Errors": {
                          "type": "object",
                          "properties": {
                            "ErrorCode": {
                              "type": "string",
                              "example": "NotFound"
                            },
                            "ErrorMessages": {
                              "type": "array"
                            }
                          }
                        },
                        "HttpStatus": {
                          "type": "string",
                          "example": "NotFound"
                        },
                        "HttpStatusCode": {
                          "type": "integer",
                          "example": 404,
                          "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
}
```