---
updatedAt: 2026-09-28T17:29:09.000Z
agentTools:
  projectIndex: https://docs.helix.q2.com/llms.txt
---

# Unlock an account

The following matrix details when this call will succeed or fail

| Current lockTypeCode | Current lockReasonTypeCode | Result |
| -------------------- | -------------------------- | ------ |
| `CST`                | `UNK` - Unknown            | Success |
| `CST`                | `TMP` - Temporary          | Success |
| `CST`                | `FRZ` - Freeze             | Success |
| `CST`                | `ADM` - Administrative     | Success |
| `CST`                | `SUS` - Suspected fraud    | Success |
| `CST`                | `CO` - Credits only        | Success |
| `CST`                | `RTN` - Return risk        | Success |
| `CST`                | `REC` - Recovery           | Success |
| `CST`                | `DED` - Deceased           | Success |
| `CST`                | `DOR` - Dormant            | Success |
| `CST`                | `FRD` - Fraud investigation | Fail - Fraud investigation lock can not be unlocked by CST |
| `SYS`                | `TMP`, `FRD`, `FRZ`, `ADM`, `SUS`, `CO` | Fail - SYS lock type cannot be unlocked by CST |

The account will have a `lockTypeCode` of `UNL` upon successful completion of this call. The account is unlocked and ready for transfers to take place.


#### Error Codes

<details>
  <summary>Click to expand</summary>

| Code    | Message (en-US)                                                                           | Notes                                            |
| :------ | :---------------------------------------------------------------------------------------- | :----------------------------------------------- |
| 1-60000 | Any "Common Error Code" may occur.                                                        | See [Common Error Codes](https://docs.helix.q2.com/reference/common-error-codes) |
| 61301   | Invalid AccountId {0} or CustomerId {1}.                                                  |                                                  |
| 61302   | AccountId {0} has been locked by an Administrator or an automated process. Cannot unlock. |                                                  |
| 61303   | AccountId {0} has been marked as fraud investigation. Cannot unlock.                      |                                                  |
| 61304   | Account Unlock feature is disabled for program {0}. Cannot unlock.                        |                                                  |

</details>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Helix API",
    "version": "3.0.0",
    "description": "Helix Public API (no customer KYC/IDV). **This spec covers all of Helix 3.x and is subject to change at any time.**"
  },
  "servers": [
    {
      "url": "https://sandbox-api.helix.q2.com",
      "description": "Sandbox server"
    },
    {
      "url": "https://api.helix.q2.com",
      "description": "Production server"
    }
  ],
  "tags": [
    {
      "name": "Account",
      "description": "Endpoints for the account object"
    },
    {
      "name": "Card",
      "description": "Endpoints for the card object"
    }
  ],
  "security": [
    {
      "basicAuth": []
    }
  ],
  "paths": {
    "/account/unlock": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Unlock an account",
        "description": "The following matrix details when this call will succeed or fail\n\n| Current lockTypeCode | Current lockReasonTypeCode | Result |\n| -------------------- | -------------------------- | ------ |\n| `CST`                | `UNK` - Unknown            | Success |\n| `CST`                | `TMP` - Temporary          | Success |\n| `CST`                | `FRZ` - Freeze             | Success |\n| `CST`                | `ADM` - Administrative     | Success |\n| `CST`                | `SUS` - Suspected fraud    | Success |\n| `CST`                | `CO` - Credits only        | Success |\n| `CST`                | `RTN` - Return risk        | Success |\n| `CST`                | `REC` - Recovery           | Success |\n| `CST`                | `DED` - Deceased           | Success |\n| `CST`                | `DOR` - Dormant            | Success |\n| `CST`                | `FRD` - Fraud investigation | Fail - Fraud investigation lock can not be unlocked by CST |\n| `SYS`                | `TMP`, `FRD`, `FRZ`, `ADM`, `SUS`, `CO` | Fail - SYS lock type cannot be unlocked by CST |\n\nThe account will have a `lockTypeCode` of `UNL` upon successful completion of this call. The account is unlocked and ready for transfers to take place.\n",
        "externalDocs": {
          "url": "https://docs.helix.q2.com/reference/accountunlock"
        },
        "operationId": "accountUnlock",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customerId",
                  "accountId"
                ],
                "properties": {
                  "customerId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "accountId": {
                    "$ref": "#/components/schemas/HelixId"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "An <a href=\"https://docs.helix.q2.com/reference/response-format\" target=\"_blank\">envelope</a> whose data node is a <a href=\"https://docs.helix.q2.com/docs/account\" target=\"_blank\">account</a> object",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountObject200Response"
                }
              }
            }
          },
          "400": {
            "$ref": "#/paths/~1card~1lock/post/responses/400"
          },
          "401": {
            "$ref": "#/paths/~1card~1lock/post/responses/401"
          },
          "404": {
            "$ref": "#/paths/~1card~1lock/post/responses/404"
          },
          "405": {
            "$ref": "#/paths/~1card~1lock/post/responses/405"
          },
          "429": {
            "$ref": "#/paths/~1card~1lock/post/responses/429"
          }
        }
      }
    },
    "/card/lock": {
      "post": {
        "tags": [
          "Card"
        ],
        "summary": "Lock a card",
        "description": "Lock a card. Most locks can be reversed by calling [/card/unlock](https://docs.helix.q2.com/reference/cardunlock). Please check the [/card/unlock](https://docs.helix.q2.com/reference/cardunlock) documentation to see which lock scenarios can be subsequently unlocked. Will apply a `lockTypeCode` of `CST` on success and all card-based transactions will fail.",
        "externalDocs": {
          "url": "https://docs.helix.q2.com/reference/cardlock"
        },
        "operationId": "cardLock",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customerId",
                  "cardId",
                  "lockReasonTypeCode"
                ],
                "properties": {
                  "customerId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "cardId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "lockReasonTypeCode": {
                    "type": "string",
                    "enum": [
                      "UNK",
                      "FRD",
                      "DMG",
                      "TMP"
                    ],
                    "description": "- `UNK`: Unknown\n- `FRD`: Fraud\n- `DMG`: Physical Damage\n- `TMP`: Temporary\n"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "An <a href=\"https://docs.helix.q2.com/reference/response-format\" target=\"_blank\">envelope</a> whose data node is a <a href=\"https://docs.helix.q2.com/docs/card\" target=\"_blank\">card</a> object",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardObject200Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "$ref": "#/components/schemas/HelixId"
                          },
                          "message": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "requestId": {
                      "type": "string",
                      "example": "b75a96f8-2fbc-4b14-9ba4-7b06aa431c9d"
                    },
                    "status": {
                      "type": "integer",
                      "enum": [
                        400
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "enum": [
                              50401
                            ]
                          },
                          "message": {
                            "type": "string",
                            "example": "User is not authorized"
                          }
                        }
                      }
                    },
                    "requestId": {
                      "type": "string",
                      "enum": [
                        "00000000-0000-0000-0000-000000000000"
                      ]
                    },
                    "status": {
                      "type": "integer",
                      "enum": [
                        401
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "enum": [
                              50404
                            ]
                          },
                          "message": {
                            "type": "string",
                            "example": "The requested resource 'https://sandbox-api.helix.q2.com/customer/updat/805592' was not found"
                          }
                        }
                      }
                    },
                    "requestId": {
                      "type": "string",
                      "example": "b75a96f8-2fbc-4b14-9ba4-7b06aa431c9d"
                    },
                    "status": {
                      "type": "integer",
                      "enum": [
                        404
                      ]
                    }
                  }
                }
              }
            }
          },
          "405": {
            "description": "HTTP Method Not Allowed",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "enum": [
                              50405
                            ]
                          },
                          "message": {
                            "type": "string",
                            "example": "The HTTP method 'POST' for requested resource 'https://sandbox-api.helix.q2.com/customer/get/805594' is not allowed."
                          }
                        }
                      }
                    },
                    "requestId": {
                      "type": "string",
                      "enum": [
                        "00000000-0000-0000-0000-000000000000"
                      ]
                    },
                    "status": {
                      "type": "integer",
                      "enum": [
                        405
                      ]
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate Limit Exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "enum": [
                              50429
                            ]
                          },
                          "message": {
                            "type": "string",
                            "example": "Rate limit exceeded"
                          }
                        }
                      }
                    },
                    "requestId": {
                      "type": "string",
                      "enum": [
                        "00000000-0000-0000-0000-000000000000"
                      ]
                    },
                    "status": {
                      "type": "integer",
                      "enum": [
                        429
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccountObject200Response": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CardArray200Response/allOf/0"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "accessTypeCode": {
                    "type": "string",
                    "enum": [
                      "FULL",
                      "AUTHSIGNER",
                      "RDONLY",
                      "NONE"
                    ]
                  },
                  "accountBalance": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "accountId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "accountMinimumBalance": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "accountNumber": {
                    "type": "string"
                  },
                  "accountNumberMasked": {
                    "type": "string"
                  },
                  "availableBalance": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "balanceLastModifiedDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "category": {
                    "type": "string",
                    "maxLength": 50
                  },
                  "closedAmount": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "closedDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "closedReason": {
                    "$ref": "#/components/schemas/CloseReason"
                  },
                  "closedReasonNotes": {
                    "$ref": "#/components/schemas/CloseReasonNotes"
                  },
                  "createdDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "customField1": {
                    "type": "string",
                    "maxLength": 50
                  },
                  "customField2": {
                    "type": "string",
                    "maxLength": 50
                  },
                  "customField3": {
                    "type": "string",
                    "maxLength": 50
                  },
                  "customField4": {
                    "type": "string",
                    "maxLength": 50
                  },
                  "customField5": {
                    "type": "string",
                    "maxLength": 50
                  },
                  "customerId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "customerPriority": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "externalProgramTag": {
                    "type": "string"
                  },
                  "firstDepositDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "globalAccountAccessEnabled": {
                    "type": "boolean"
                  },
                  "interestTransferFkId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "isCloseable": {
                    "type": "boolean"
                  },
                  "isJointAccount": {
                    "type": "boolean"
                  },
                  "isLocked": {
                    "type": "boolean"
                  },
                  "isPrimary": {
                    "type": "boolean"
                  },
                  "isPrimaryCustomer": {
                    "type": "boolean"
                  },
                  "lastModifiedDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "legalName1": {
                    "$ref": "#/components/schemas/LegalName"
                  },
                  "legalName2": {
                    "$ref": "#/components/schemas/LegalName"
                  },
                  "lockReasonTypeCode": {
                    "$ref": "#/components/schemas/AccountLockReasonTypeCode"
                  },
                  "lockTypeCode": {
                    "$ref": "#/components/schemas/CardObject200Response/allOf/1/properties/data/properties/lockTypeCode"
                  },
                  "accountLockClassificationCode": {
                    "type": "string",
                    "nullable": true,
                    "maxLength": 10,
                    "description": "Program-configured classification code associated with the account lock."
                  },
                  "accountLockClassificationCodeDescription": {
                    "type": "string",
                    "nullable": true,
                    "description": "Human-readable description of the accountLockClassificationCode."
                  },
                  "maturityTypeCode": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "pendingBalance": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "primaryCustomerId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "productId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "recurringContributionAmount": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "recurringContributionEndDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "recurringContributionFromExternalAccountId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "recurringContributionNextDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "recurringContributionStartDate": {
                    "$ref": "#/components/schemas/DateTimeProperty"
                  },
                  "recurringContributionType": {
                    "$ref": "#/components/schemas/RecurringContributionType"
                  },
                  "regDWithdrawalCount": {
                    "type": "integer",
                    "format": "int32",
                    "minimum": 0
                  },
                  "routingNumber": {
                    "type": "string"
                  },
                  "routingNumberMasked": {
                    "type": "string"
                  },
                  "sourceLinks": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "deprecated": true,
                      "properties": {
                        "creditSetting": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "customerId": {
                          "$ref": "#/components/schemas/HelixId"
                        },
                        "debitSetting": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "isCreditAutoTransferEnabled": {
                          "type": "boolean"
                        },
                        "isDebitAutoTransferEnabled": {
                          "type": "boolean"
                        },
                        "linkOptionTypeCode": {
                          "type": "string",
                          "enum": [
                            "OVRPRTAMT",
                            "OVRPRTMLT",
                            "OVRSECPCT",
                            "OVRSECFIX"
                          ],
                          "description": "- `OVRPRTAMT`: Auto-transfer exact amount of withdrawal\n- `OVRPRTMLT`: Auto-transfer to the nearest multiple of `debitSetting` to cover withdrawal amount\n- `OVRSECPCT`: Allow lending up to `debitSetting` percentage of security account funds\n- `OVRSECFIX`: Allow lending up to fixed amount of `debitSetting`\n"
                        },
                        "linkTypeCode": {
                          "type": "string",
                          "enum": [
                            "OVRPRT",
                            "OVRSEC"
                          ],
                          "description": "- `OVRPRT`: Overdraft protention\n- `OVRSEC`: Overdraft security\n"
                        },
                        "sourceAccountId": {
                          "$ref": "#/components/schemas/HelixId"
                        },
                        "targetAccountId": {
                          "$ref": "#/components/schemas/HelixId"
                        }
                      }
                    },
                    "deprecated": true
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "Open",
                      "Closed",
                      "PendingOpen",
                      "PendingClosed"
                    ]
                  },
                  "subCategory": {
                    "type": "string"
                  },
                  "tag": {
                    "$ref": "#/components/schemas/TagProperty"
                  },
                  "targetAmount": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "targetDate": {
                    "$ref": "#/components/schemas/DateTimeProperty"
                  },
                  "targetLinks": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AccountObject200Response/allOf/1/properties/data/properties/sourceLinks/items"
                    },
                    "deprecated": true
                  },
                  "targetMetDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "targetMetPercent": {
                    "type": "number",
                    "format": "decimal"
                  },
                  "totalCustomers": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "Checking",
                      "Savings",
                      "ForBenefitOf",
                      "Prepaid",
                      "Time Deposit",
                      "Business Checking",
                      "Business Savings"
                    ]
                  }
                }
              }
            }
          }
        ]
      },
      "CardArray200Response": {
        "allOf": [
          {
            "type": "object",
            "properties": {
              "errors": {
                "type": "array",
                "items": {},
                "example": []
              },
              "requestId": {
                "type": "string",
                "example": "1249a3bf-aca1-40dd-9fba-2a3193550c39"
              },
              "status": {
                "type": "integer",
                "enum": [
                  200
                ]
              },
              "throttle": {
                "type": "object",
                "properties": {
                  "periodEndsAt": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "periodLengthInSeconds": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "periodRequestLimit": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "requestsRemainingInPeriod": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "warningThreshold": {
                    "type": "number",
                    "format": "decimal",
                    "example": 0.2
                  }
                }
              }
            }
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CardObject200Response/allOf/1/properties/data"
                }
              }
            }
          }
        ]
      },
      "CardObject200Response": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CardArray200Response/allOf/0"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "accounts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "accountBalance": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "accountId": {
                          "$ref": "#/components/schemas/HelixId"
                        },
                        "accountNumberMasked": {
                          "type": "string"
                        },
                        "availableBalance": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "balanceLastModifiedDate": {
                          "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                        },
                        "cardPriority": {
                          "$ref": "#/components/schemas/CardPriority"
                        },
                        "customerId": {
                          "$ref": "#/components/schemas/HelixId"
                        },
                        "lastModifiedDate": {
                          "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                        },
                        "name": {
                          "type": "string"
                        },
                        "pendingBalance": {
                          "type": "number",
                          "format": "decimal"
                        },
                        "status": {
                          "$ref": "#/components/schemas/AccountObject200Response/allOf/1/properties/data/properties/status"
                        },
                        "tag": {
                          "$ref": "#/components/schemas/TagProperty"
                        },
                        "type": {
                          "$ref": "#/components/schemas/AccountObject200Response/allOf/1/properties/data/properties/type"
                        }
                      }
                    }
                  },
                  "archivedDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "binId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "cardCarrierMessage": {
                    "type": "string",
                    "description": "Identifier used uniquely by various card production facilities for mapping card configurations.\n"
                  },
                  "cardDesignIdentificationNumber": {
                    "type": "string",
                    "description": "Identifier used uniquely by various card production facilities for mapping card configurations.\n"
                  },
                  "cardHolderCustomerId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "cardId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "cardNumberMasked": {
                    "type": "string"
                  },
                  "cardVendorUniqueData": {
                    "type": "string",
                    "description": "Identifier used uniquely by various card production facilities for mapping card configurations.\n"
                  },
                  "createdDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "customerId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "deniedDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "digitalWalletTokens": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "device": {
                          "type": "object",
                          "properties": {
                            "deviceId": {
                              "type": "string"
                            },
                            "deviceIpAddress": {
                              "type": "string"
                            },
                            "deviceLanguageCode": {
                              "type": "string"
                            },
                            "deviceLocation": {
                              "type": "string"
                            },
                            "deviceName": {
                              "type": "string"
                            },
                            "deviceNumber": {
                              "type": "string"
                            },
                            "deviceType": {
                              "type": "string",
                              "enum": [
                                "Card",
                                "MobilePhone",
                                "Tablet",
                                "Watch",
                                "MobileDevice",
                                "FashionAccessory",
                                "HomeAppliance",
                                "KeyFob",
                                "MediaOrGamingDevice",
                                "MobileDeviceAccessory",
                                "PCOrLaptop",
                                "Vehicle",
                                "UnknownOther"
                              ]
                            }
                          }
                        },
                        "isDeviceProvisioned": {
                          "type": "boolean"
                        },
                        "panReferenceId": {
                          "type": "string"
                        },
                        "token": {
                          "type": "string"
                        },
                        "tokenReferenceId": {
                          "type": "string"
                        },
                        "tokenRequestorId": {
                          "type": "string",
                          "enum": [
                            "40010030273",
                            "40010075001",
                            "40010043095",
                            "40010075338"
                          ]
                        },
                        "tokenRequestorName": {
                          "type": "string",
                          "enum": [
                            "ApplePay",
                            "GooglePay",
                            "SamsungPay",
                            "VisaCheckout"
                          ]
                        },
                        "tokenStatus": {
                          "type": "string",
                          "enum": [
                            "ActiveForPayment",
                            "Initiated",
                            "SuspendedTemporarily",
                            "DeactivatedPermanently"
                          ]
                        },
                        "tokenType": {
                          "type": "string",
                          "enum": [
                            "Card on file",
                            "Secure element",
                            "Cloud based payment/HCE",
                            "E-Commerce Enabler"
                          ]
                        },
                        "walletInformation": {
                          "type": "object",
                          "properties": {
                            "panSource": {
                              "type": "string",
                              "enum": [
                                "KeyEntered",
                                "OnFile",
                                "MobileBankingApp"
                              ]
                            },
                            "walletAccountId": {
                              "type": "string"
                            },
                            "walletEmailAddressHashed": {
                              "type": "string"
                            },
                            "walletProviderDeviceScore": {
                              "type": "string"
                            },
                            "walletProviderReasonCodes": {
                              "type": "string"
                            },
                            "walletProviderRiskAssessmentType": {
                              "type": "string",
                              "enum": [
                                "Approved",
                                "ApprovedConditionally",
                                "NotApproved"
                              ]
                            },
                            "walletProviderRiskAssessmentVersion": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  },
                  "expireMonth": {
                    "$ref": "#/components/schemas/MonthProperty"
                  },
                  "expireYear": {
                    "$ref": "#/components/schemas/YearProperty"
                  },
                  "expiredDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "firstName": {
                    "type": "string"
                  },
                  "isDigitalOnly": {
                    "type": "boolean"
                  },
                  "isDualIssuanceSinglePAN": {
                    "type": "boolean"
                  },
                  "isPINSet": {
                    "type": "boolean"
                  },
                  "lastModifiedDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "lastName": {
                    "type": "string"
                  },
                  "lockReasonTypeCode": {
                    "type": "string",
                    "enum": [
                      "UNK",
                      "STL",
                      "LST",
                      "FRD",
                      "DMG",
                      "ADM",
                      "TMP",
                      "PIN"
                    ]
                  },
                  "lockTypeCode": {
                    "type": "string",
                    "enum": [
                      "UNL",
                      "CST",
                      "SYS"
                    ]
                  },
                  "middleName": {
                    "type": "string"
                  },
                  "nameOnCard": {
                    "type": "string"
                  },
                  "nickName": {
                    "type": "string"
                  },
                  "photoImageId": {
                    "type": "string",
                    "description": "Identifier used uniquely by various card production facilities for mapping card configurations.\n"
                  },
                  "preferredName": {
                    "type": "string"
                  },
                  "primaryAccountId": {
                    "$ref": "#/components/schemas/HelixId"
                  },
                  "qualifierCode": {
                    "$ref": "#/components/schemas/CardQualifierCode"
                  },
                  "reissuedDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "renewalOverride": {
                    "$ref": "#/components/schemas/RenewalOverride"
                  },
                  "renewalOverrideReason": {
                    "type": "string"
                  },
                  "requestedDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "Initiated",
                      "Pending",
                      "PendingVerification",
                      "Verified",
                      "Denied",
                      "Expired",
                      "Archived",
                      "Reissued",
                      "Hotlisted",
                      "ReissuedPendingVerification",
                      "AutoReissuedPendingVerification"
                    ]
                  },
                  "tag": {
                    "$ref": "#/components/schemas/TagProperty"
                  },
                  "typeCode": {
                    "type": "string",
                    "enum": [
                      "DBT"
                    ]
                  },
                  "vendorTypeCode": {
                    "$ref": "#/components/schemas/CardVendorTypeCode"
                  },
                  "verifiedDate": {
                    "$ref": "#/components/schemas/CustomerSetLastContact200Response/allOf/1/properties/data/items/properties/lastContactDate"
                  }
                }
              }
            }
          }
        ]
      },
      "CustomerSetLastContact200Response": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CardArray200Response/allOf/0"
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "customerId": {
                      "$ref": "#/components/schemas/HelixId"
                    },
                    "dormancyStatus": {
                      "type": "string",
                      "enum": [
                        "Active",
                        "Inactive",
                        "Dormant"
                      ]
                    },
                    "lastContactDate": {
                      "type": "string",
                      "format": "date-time",
                      "example": "2021-01-07T19:00:59.761-06:00"
                    },
                    "lastContactType": {
                      "$ref": "#/components/schemas/LastContactType"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "HelixId": {
        "type": "integer",
        "format": "int32",
        "minimum": 1
      },
      "TagProperty": {
        "type": "string",
        "maxLength": 50
      },
      "DateTimeProperty": {
        "type": "string",
        "format": "date-time",
        "example": "2000-07-04T00:00:00.000+00:00"
      },
      "LegalName": {
        "type": "string",
        "maxLength": 100
      },
      "RecurringContributionType": {
        "type": "string",
        "enum": [
          "None",
          "BiWeekly",
          "Monthly"
        ]
      },
      "CloseReason": {
        "type": "string",
        "enum": [
          "Fraud",
          "Never funded",
          "BSA reasons",
          "Relationship ended",
          "Deceased",
          "Other",
          "Consolidating Bank Accounts",
          "re-CIP",
          "Risk-Related",
          "Member Requested",
          "Negative Balance (Reopen Eligible)",
          "Negative Balance (Reopen Ineligible)",
          "ID Theft",
          "Account Take Over",
          "Dormant"
        ],
        "description": "The following values are not enabled by default and must be enabled by Q2: `Consolidating Bank Accounts`, `re-CIP`, `Risk-Related`, `Member Requested`, `Negative Balance (Reopen Eligible)`, `Negative Balance (Reopen Ineligible)`, `ID Theft`, `Account Take Over`, `Dormant`\n"
      },
      "CloseReasonNotes": {
        "type": "string",
        "maxLength": 255,
        "description": "Required if `closeReason` is `Other`"
      },
      "AccountLockReasonTypeCode": {
        "type": "string",
        "enum": [
          "UNK",
          "FRD",
          "ADM",
          "TMP",
          "FRZ",
          "SUS",
          "CO",
          "RTN",
          "REC",
          "DED",
          "DOR"
        ],
        "description": "- `UNK`: Unknown\n- `FRD`: Fraud investigation\n- `ADM`: Administrative\n- `TMP`: Temporary\n- `FRZ`: Freeze\n- `SUS`: Suspected fraud\n- `CO`: Credits only\n- `RTN`: Return risk\n- `REC`: Recovery\n- `DED`: Deceased\n- `DOR`: Dormant\n"
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "x-samples-languages": [
    "curl",
    "node",
    "python",
    "csharp",
    "ruby",
    "go",
    "java",
    "kotlin",
    "php"
  ]
}
```