diff --git a/independent-publisher-connectors/Consumer Complaints/README.md b/independent-publisher-connectors/Consumer Complaints/README.md new file mode 100644 index 000000000..7cfa25f7e --- /dev/null +++ b/independent-publisher-connectors/Consumer Complaints/README.md @@ -0,0 +1,231 @@ +# Consumer Complaints + +The Consumer Financial Protection Bureau, a U.S. government agency, ensures fair treatment by financial institutions. The Consumer Complaint Database collects and publishes complaints about financial products and services after company responses, confirmations, or 15 days. Complaints referred to other regulators, like those about institutions with assets under $10 billion, are not published. The database updates daily. + +## Publisher: Richard Wilson + +## Prerequisites + +To use this connector, you must have an API key. You can obtain an API key by creating an account on the Consumer Financial Protection Bureau website and requesting access to the Consumer Complaint Database API. + +## Supported Operations + +### Search Consumer Complaints + +Search the contents of the consumer complaint database. + +- **Inputs**: + +| Name | Description | +|--------------------------|---------------------------------------------------------------------------------------------------| +| Search Term | Return results containing specific term. | +| Field | Specify which field is searched if "Search Term" has a value. Defaults to "Complaint What Happened".| +| Start Index | Return results starting from a specific index, only if format parameter is not specified. | +| Result Size | Limit the size of the results. | +| Sort Order | Return results sorted in a particular order. | +| No Aggregations | True means no aggregations will be included, False means aggregations will be included. | +| No Highlight | True means no highlighting will be included, False means highlighting will be included. | +| Companies | Filter the results to only return these companies. | +| Public Responses | Filter the results to only return these types of public response by the company. | +| Max Company Received Date| Return results with date < Max Company Received Date (i.e. 2017-03-04). | +| Min Company Received Date| Return results with date >= Min Company Received Date (i.e. 2017-03-04). | +| Company Responses | Filter the results to only return these types of response by the company. | +| Consumer Consents | Filter the results to only return these types of consent consumer provided. | +| Consumer Disputed | Filter the results to only return the specified state of consumer disputed, i.e. yes, no. | +| Max Date Received | Return results with date < Max Date Received (i.e. 2017-03-04). | +| Min Date Received | Return results with date >= Min Date Received (i.e. 2017-03-04). | +| Has Narrative | Filter the results to only return the specified state of whether it has narrative in the complaint.| +| Issues | Filter the results to only return these types of issue and subissue. | +| Products | Filter the results to only return these types of product and subproduct. | +| States | Filter the results to only return these states. | +| Submission Methods | Filter the results to only return these types of way consumers submitted their complaints. | +| Tags | Filter the results to only return these types of tag. | +| Timely Response | Filter the results to show whether a response was timely. | +| Zip Codes | Filter the results to only return these zip codes. | + +- **Outputs**: + +| Name | Description | +|--------------|------------------------------| +| SearchResult | The search results, including hits and aggregations. | + +### Suggest Possible Searches + +Suggest additional search terms based upon filters. + +- **Inputs**: + +| Name | Description | +|---------------|-----------------------------------| +| Result Size | Limit the size of the results. | +| Suggestion Text | Text to use for suggestions. | + +- **Outputs**: + +| Name | Description | +|---------------|-----------------------------| +| SuggestResult | Array of suggestions. | + +### Suggest Possible Companies + +Provide a list of companies that match complaints in the database. + +- **Inputs**: + +| Name | Description | +|--------------------------|---------------------------------------------------------------------------------------------------| +| Suggestion Text | Text to use for suggestions. | +| Result Size | Limit the size of the results. | +| Public Responses | Filter the results to only return these types of public response by the company. | +| Max Company Received Date| Return results with date < Max Company Received Date (i.e. 2017-03-04). | +| Min Company Received Date| Return results with date >= Min Company Received Date (i.e. 2017-03-04). | +| Company Responses | Filter the results to only return these types of response by the company. | +| Consumer Consents | Filter the results to only return these types of consent consumer provided. | +| Consumer Disputed | Filter the results to only return the specified state of consumer disputed, i.e. yes, no. | +| Max Date Received | Return results with date < Max Date Received (i.e. 2017-03-04). | +| Min Date Received | Return results with date >= Min Date Received (i.e. 2017-03-04). | +| Has Narrative | Filter the results to only return the specified state of whether it has narrative in the complaint.| +| Issues | Filter the results to only return these types of issue and subissue. | +| Products | Filter the results to only return these types of product and subproduct. | +| States | Filter the results to only return these states. | +| Submission Methods | Filter the results to only return these types of way consumers submitted their complaints. | +| Tags | Filter the results to only return these types of tag. | +| Timely Response | Filter the results to show whether a response was timely. | +| Zip Codes | Filter the results to only return these zip codes. | + +- **Outputs**: + +| Name | Description | +|---------------|-----------------------------| +| SuggestResult | Array of suggestions. | + +### Suggest Possible Zip Codes + +Provide a list of zip codes that match complaints in the database. + +- **Inputs**: + +| Name | Description | +|--------------------------|---------------------------------------------------------------------------------------------------| +| Suggestion Text | Text to use for suggestions. | +| Result Size | Limit the size of the results. | +| Public Responses | Filter the results to only return these types of public response by the company. | +| Max Company Received Date| Return results with date < Max Company Received Date (i.e. 2017-03-04). | +| Min Company Received Date| Return results with date >= Min Company Received Date (i.e. 2017-03-04). | +| Company Responses | Filter the results to only return these types of response by the company. | +| Consumer Consents | Filter the results to only return these types of consent consumer provided. | +| Consumer Disputed | Filter the results to only return the specified state of consumer disputed, i.e. yes, no. | +| Max Date Received | Return results with date < Max Date Received (i.e. 2017-03-04). | +| Min Date Received | Return results with date >= Min Date Received (i.e. 2017-03-04). | +| Has Narrative | Filter the results to only return the specified state of whether it has narrative in the complaint.| +| Issues | Filter the results to only return these types of issue and subissue. | +| Products | Filter the results to only return these types of product and subproduct. | +| States | Filter the results to only return these states. | +| Submission Methods | Filter the results to only return these types of way consumers submitted their complaints. | +| Tags | Filter the results to only return these types of tag. | +| Timely Response | Filter the results to show whether a response was timely. | +| Zip Codes | Filter the results to only return these zip codes. | + +- **Outputs**: + +| Name | Description | +|---------------|-----------------------------| +| SuggestResult | Array of suggestions. | + +### Get Consumer Complaint by ID + +Get complaint details for a specific ID. + +- **Inputs**: + +| Name | Description | +|---------------|-----------------------------| +| Complaint ID | ID of the complaint. | + +- **Outputs**: + +| Name | Description | +|--------------|--------------------------------| +| Complaint | The complaint details. | + +### Get the State by State Information + +Get complaint information broken down by states. + +- **Inputs**: + +| Name | Description | +|--------------------------|---------------------------------------------------------------------------------------------------| +| Search Term | Return results containing specific term. | +| Field | Specify which field is searched if "Search Term" has a value. Defaults to "Complaint What Happened".| +| Companies | Filter the results to only return these companies. | +| Public Responses | Filter the results to only return these types of public response by the company. | +| Max Company Received Date| Return results with date < Max Company Received Date (i.e. 2017-03-04). | +| Min Company Received Date| Return results with date >= Min Company Received Date (i.e. 2017-03-04). | +| Company Responses | Filter the results to only return these types of response by the company. | +| Consumer Consents | Filter the results to only return these types of consent consumer provided. | +| Consumer Disputed | Filter the results to only return the specified state of consumer disputed, i.e. yes, no. | +| Max Date Received | Return results with date < Max Date Received (i.e. 2017-03-04). | +| Min Date Received | Return results with date >= Min Date Received (i.e. 2017-03-04). | +| Has Narrative | Filter the results to only return the specified state of whether it has narrative in the complaint.| +| Issues | Filter the results to only return these types of issue and subissue. | +| Products | Filter the results to only return these types of product and subproduct. | +| States | Filter the results to only return these states. | +| Submission Methods | Filter the results to only return these types of way consumers submitted their complaints. | +| Tags | Filter the results to only return these types of tag. | +| Timely Response | Filter the results to show whether a response was timely. | +| Zip Codes | Filter the results to only return these zip codes. | + +- **Outputs**: + +| Name | Description | +|--------------|------------------------------| +| StatesResult | The state-by-state information.| + +### List Complaint Trends + +Return specific aggregations for a search. + +- **Inputs**: + +| Name | Description | +|--------------------------|---------------------------------------------------------------------------------------------------| +| Search Term | Return results containing specific term. | +| Field | Specify which field is searched if "Search Term" has a value. Defaults to "Complaint What Happened".| +| Companies | Filter the results to only return these companies. | +| Public Responses | Filter the results to only return these types of public response by the company. | +| Max Company Received Date| Return results with date < Max Company Received Date (i.e. 2017-03-04). | +| Min Company Received Date| Return results with date >= Min Company Received Date (i.e. 2017-03-04). | +| Company Responses | Filter the results to only return these types of response by the company. | +| Consumer Consents | Filter the results to only return these types of consent consumer provided. | +| Consumer Disputed | Filter the results to only return the specified state of consumer disputed, i.e. yes, no. | +| Max Date Received | Return results with date < Max Date Received (i.e. 2017-03-04). | +| Min Date Received | Return results with date >= Min Date Received (i.e. 2017-03-04). | +| Focus | The name of the product or company on which to focus charts for products and issues. | +| Has Narrative | Filter the results to only return the specified state of whether it has narrative in the complaint.| +| Issues | Filter the results to only return these types of issue and subissue. | +| Lens | The data lens through which to view complaint trends over time. | +| Products | Filter the results to only return these types of product and subproduct. | +| States | Filter the results to only return these states. | +| Submission Methods | Filter the results to only return these types of way consumers submitted their complaints. | +| Sub Lens | The sub-lens through which to view complaint trends over time. | +| Sub Lens Depth | The top X trend sub aggregations will be returned, where X is the supplied sub_lens_depth. | +| Tags | Filter the results to only return these types of tag. | +| Timely Response | Filter the results to show whether a response was timely. | +| Trend Depth | The top X trend aggregations will be returned, where X is the supplied trend_depth. | +| Trend Interval | The interval of time to use for trends aggregations histograms. | +| Zip Codes | Filter the results to only return these zip codes. | + +- **Outputs**: + +| Name | Description | +|--------------|------------------------------| +| TrendsResult | The trends result. | + +## Obtaining Credentials + +This API is anonymous and does not require authentication. + +## Known Issues and Limitations + +Currently, no known issues or limitations exist. Always refer to this section for updated information. diff --git a/independent-publisher-connectors/Consumer Complaints/apiDefinition.swagger.json b/independent-publisher-connectors/Consumer Complaints/apiDefinition.swagger.json new file mode 100644 index 000000000..a5647394b --- /dev/null +++ b/independent-publisher-connectors/Consumer Complaints/apiDefinition.swagger.json @@ -0,0 +1,4064 @@ +{ + "swagger": "2.0", + "info": { + "contact": { + "name": "Richard Wilson", + "email": "richard.a.wilson@microsoft.com", + "url": "https://www.richardawilson.com/" + }, + "description": "The Consumer Financial Protection Bureau, a U.S. government agency, ensures fair treatment by financial institutions. The Consumer Complaint Database collects and publishes complaints about financial products and services after company responses, confirmations, or 15 days. Complaints referred to other regulators, like those about institutions with assets under $10 billion, are not published. The database updates daily.", + "title": "Consumer Complaints", + "version": "1.0.0" + }, + "host": "www.consumerfinance.gov", + "basePath": "/data-research/consumer-complaints/search/api/v1/", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/": { + "get": { + "produces": [ + "application/json" + ], + "operationId": "SearchConsumerComplaints", + "parameters": [ + { + "description": "Return results containing specific term", + "x-ms-summary": "Search Term", + "in": "query", + "name": "search_term", + "required": true, + "type": "string" + }, + { + "default": "complaint_what_happened", + "description": "If the parameter \"search_term\" has a value, use \"field\" to specify which field is searched. If not specified, \"complaint_what_happened\" will be searched.", + "x-ms-summary": "Field", + "enum": [ + "complaint_what_happened", + "all" + ], + "x-ms-enum-values": [ + { + "displayName": "Complaint What Happened", + "value": "complaint_what_happened" + }, + { + "displayName": "All", + "value": "all" + } + ], + "in": "query", + "name": "field", + "type": "string" + }, + { + "description": "Return results starting from a specific index, only if format parameter is not specified, ignore otherwise", + "x-ms-summary": "Start Index", + "format": "int64", + "in": "query", + "maximum": 100000, + "minimum": 1, + "name": "frm", + "type": "integer" + }, + { + "default": 10, + "description": "Limit the size of the results", + "x-ms-summary": "Result Size", + "format": "int64", + "in": "query", + "maximum": 100, + "minimum": 1, + "name": "size", + "type": "integer" + }, + { + "default": "relevance_desc", + "description": "Return results sorted in a particular order", + "x-ms-summary": "Sort Order", + "enum": [ + "relevance_desc", + "relevance_asc", + "created_date_desc", + "created_date_asc" + ], + "x-ms-enum-values": [ + { + "displayName": "Relevance Descending", + "value": "relevance_desc" + }, + { + "displayName": "Relevance Ascending", + "value": "relevance_asc" + }, + { + "displayName": "Created Date Descending", + "value": "created_date_desc" + }, + { + "displayName": "Created Date Ascending", + "value": "created_date_asc" + } + ], + "in": "query", + "name": "sort", + "type": "string" + }, + { + "default": false, + "description": "Include aggregations in result or not, True means no aggregations will be included, False means aggregations will be included.", + "x-ms-summary": "No Aggregations", + "in": "query", + "name": "no_aggs", + "type": "boolean" + }, + { + "default": false, + "description": "Include highlight of search term in result or not, True means no highlighting will be included, False means highlighting will be included.", + "x-ms-summary": "No Highlight", + "in": "query", + "name": "no_highlight", + "type": "boolean" + }, + { + "description": "Filter the results to only return these companies", + "x-ms-summary": "Companies", + "in": "query", + "name": "company", + "type": "string" + }, + { + "description": "Filter the results to only return these types of public response by the company", + "x-ms-summary": "Public Responses", + "in": "query", + "enum": [ + "Company has responded to the consumer and the CFPB and chooses not to provide a public response", + "Company believes it acted appropriately as authorized by contract or law", + "Company believes complaint caused principally by actions of third party outside the control or direction of the company", + "Company believes the complaint is the result of a misunderstanding", + "Company disputes the facts presented in the complaint", + "Company can't verify or dispute the facts in the complaint", + "Company believes the complaint provided an opportunity to answer consumer's questions", + "Company believes complaint is the result of an isolated error", + "Company believes complaint represents an opportunity for improvement to better serve consumers", + "Company believes complaint relates to a discontinued policy or procedure" + ], + "name": "company_public_response", + "type": "string" + }, + { + "description": "Return results with date < company_received_max (i.e. 2017-03-04)", + "x-ms-summary": "Max Company Received Date", + "format": "date", + "in": "query", + "name": "company_received_max", + "type": "string" + }, + { + "description": "Return results with date >= company_received_min (i.e. 2017-03-04)", + "x-ms-summary": "Min Company Received Date", + "format": "date", + "in": "query", + "name": "company_received_min", + "type": "string" + }, + { + "description": "Filter the results to only return these types of response by the company", + "x-ms-summary": "Company Responses", + "in": "query", + "name": "company_response", + "type": "string" + }, + { + "description": "Filter the results to only return these types of consent consumer provided", + "x-ms-summary": "Consumer Consents", + "in": "query", + "enum": [ + "Consent not provided", + "Consent provided", + "Other", + "N/A", + "Consent withdrawn" + ], + "name": "consumer_consent_provided", + "type": "string" + }, + { + "description": "Filter the results to only return the specified state of consumer disputed, i.e. yes, no", + "x-ms-summary": "Consumer Disputed", + "in": "query", + "name": "consumer_disputed", + "type": "string" + }, + { + "description": "Return results with date < date_received_max (i.e. 2017-03-04)", + "x-ms-summary": "Max Date Received", + "format": "date", + "in": "query", + "name": "date_received_max", + "type": "string" + }, + { + "description": "Return results with date >= date_received_min (i.e. 2017-03-04)", + "x-ms-summary": "Min Date Received", + "format": "date", + "in": "query", + "name": "date_received_min", + "type": "string" + }, + { + "description": "Filter the results to only return the specified state of whether it has narrative in the complaint or not, i.e. yes, no", + "x-ms-summary": "Has Narrative", + "in": "query", + "enum": [ + "true", + "false" + ], + "name": "has_narrative", + "type": "string" + }, + { + "description": "Filter the results to only return these types of issue and subissue, i.e. product-only: Getting a Loan, subproduct needs to include product, separated by '\u2022', Getting a Loan\u2022Can't qualify for a loan", + "x-ms-summary": "Issues", + "in": "query", + "enum": [ + "Advertising", + "Advertising and marketing, including promotional offers", + "Advertising and marketing, including promotional offers\u2022Confusing or misleading advertising about the credit card", + "Advertising and marketing, including promotional offers\u2022Didn't receive advertised or promotional terms", + "Advertising\u2022Changes in terms from what was offered or advertised", + "Advertising\u2022Confusing or misleading advertising about the card", + "Applying for a mortgage or refinancing an existing mortgage", + "Applying for a mortgage or refinancing an existing mortgage\u2022Application denials", + "Applying for a mortgage or refinancing an existing mortgage\u2022Changes in loan terms during the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Confusing or misleading advertising or marketing", + "Applying for a mortgage or refinancing an existing mortgage\u2022Delays in the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Fees or costs during the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Loan estimate or other related disclosures", + "Applying for a mortgage or refinancing an existing mortgage\u2022Negative impact of inaccurate appraisal", + "Applying for a mortgage or refinancing an existing mortgage\u2022Trying to communicate with the company to fix an issue with the application process", + "Attempts to collect debt not owed", + "Attempts to collect debt not owed\u2022Debt is not yours", + "Attempts to collect debt not owed\u2022Debt was already discharged in bankruptcy and is no longer owed", + "Attempts to collect debt not owed\u2022Debt was paid", + "Attempts to collect debt not owed\u2022Debt was result of identity theft", + "Can't contact lender or servicer", + "Can't stop withdrawals from your bank account", + "Charged fees or interest you didn't expect", + "Charged upfront or unexpected fees", + "Closing an account", + "Closing an account\u2022Can't close your account", + "Closing an account\u2022Company closed your account", + "Closing an account\u2022Fees charged for closing account", + "Closing an account\u2022Funds not received from closed account", + "Closing on a mortgage", + "Closing on a mortgage\u2022Changes in loan terms during or after closing", + "Closing on a mortgage\u2022Closing disclosure or other related disclosures", + "Closing on a mortgage\u2022Delays with the closing process", + "Closing on a mortgage\u2022Fees or costs after closing", + "Closing on a mortgage\u2022Setting up an escrow account for taxes and insurance", + "Closing on a mortgage\u2022Trying to communicate with the company to fix an issue with the loan closing", + "Closing your account", + "Closing your account\u2022Can't close your account", + "Closing your account\u2022Company closed your account", + "Communication tactics", + "Communication tactics\u2022Called before 8am or after 9pm", + "Communication tactics\u2022Contacted before 8am or after 9pm", + "Communication tactics\u2022Frequent or repeated calls", + "Communication tactics\u2022Frequent or repeated messages", + "Communication tactics\u2022Used obscene, profane, or other abusive language", + "Communication tactics\u2022You told them to stop contacting you, but they keep trying", + "Confusing or misleading advertising or marketing", + "Confusing or missing disclosures", + "Credit limit changed", + "Credit monitoring or identity theft protection services", + "Credit monitoring or identity theft protection services\u2022Billing dispute for services", + "Credit monitoring or identity theft protection services\u2022Didn't receive services that were advertised", + "Credit monitoring or identity theft protection services\u2022Problem canceling credit monitoring or identify theft protection service", + "Credit monitoring or identity theft protection services\u2022Problem with product or service terms changing", + "Credit monitoring or identity theft protection services\u2022Received unwanted marketing or advertising", + "Dealing with your lender or servicer", + "Dealing with your lender or servicer\u2022Co-signer", + "Dealing with your lender or servicer\u2022Don't agree with the fees charged", + "Dealing with your lender or servicer\u2022Keep getting calls about your loan", + "Dealing with your lender or servicer\u2022Need information about your loan balance or loan terms", + "Dealing with your lender or servicer\u2022Problem with customer service", + "Dealing with your lender or servicer\u2022Received bad information about your loan", + "Dealing with your lender or servicer\u2022Trouble with how payments are being handled", + "Didn't provide services promised", + "Electronic communications", + "Electronic communications\u2022Contacted before 8am or after 9pm", + "Electronic communications\u2022Frequent or repeated messages", + "Electronic communications\u2022Used obscene, profane, or other abusive language", + "Electronic communications\u2022You told them to stop contacting you, but they keep trying", + "Excessive fees", + "False statements or representation", + "False statements or representation\u2022Attempted to collect wrong amount", + "False statements or representation\u2022Impersonated attorney, law enforcement, or government official", + "False statements or representation\u2022Indicated you were committing crime by not paying debt", + "False statements or representation\u2022Told you not to respond to a lawsuit they filed against you", + "Fees or interest", + "Fees or interest\u2022Charged too much interest", + "Fees or interest\u2022Problem with fees", + "Fees or interest\u2022Unexpected increase in interest rate", + "Fraud or scam", + "Getting a credit card", + "Getting a credit card\u2022Application denied", + "Getting a credit card\u2022Card opened as result of identity theft or fraud", + "Getting a credit card\u2022Card opened without my consent or knowledge", + "Getting a credit card\u2022Delay in processing application", + "Getting a credit card\u2022Problem getting a working replacement card", + "Getting a credit card\u2022Sent card you never applied for", + "Getting a line of credit", + "Getting a loan", + "Getting a loan or lease", + "Getting a loan or lease\u2022Changes in terms mid-deal or after closing", + "Getting a loan or lease\u2022Confusing or misleading advertising", + "Getting a loan or lease\u2022Confusing or misleading advertising or marketing", + "Getting a loan or lease\u2022Credit denial", + "Getting a loan or lease\u2022Did not receive car title", + "Getting a loan or lease\u2022Fraudulent loan", + "Getting a loan or lease\u2022High-pressure sales tactics", + "Getting a loan or lease\u2022Loan opened without my consent or knowledge", + "Getting a loan or lease\u2022Problem with a trade-in", + "Getting a loan or lease\u2022Problem with additional add-on products or services purchased with the loan", + "Getting a loan or lease\u2022Problem with signing the paperwork", + "Getting a loan\u2022Changes in terms mid-deal or after closing", + "Getting a loan\u2022Confusing or misleading advertising", + "Getting a loan\u2022Denied loan", + "Getting a loan\u2022Fraudulent loan", + "Getting a loan\u2022High pressure sales tactics or recruiting", + "Getting a loan\u2022Issues with financial aid services", + "Getting a loan\u2022Loan opened without my consent or knowledge", + "Getting a loan\u2022Problem with signing the paperwork", + "Getting a loan\u2022Problem with the interest rate", + "Getting a loan\u2022Qualified for a better loan than the one offered", + "Getting the loan", + "Identity theft protection or other monitoring services", + "Identity theft protection or other monitoring services\u2022Billing dispute for services", + "Identity theft protection or other monitoring services\u2022Didn't receive services that were advertised", + "Identity theft protection or other monitoring services\u2022Problem canceling credit monitoring or identify theft protection service", + "Identity theft protection or other monitoring services\u2022Problem with product or service terms changing", + "Identity theft protection or other monitoring services\u2022Received unwanted marketing or advertising", + "Improper use of your report", + "Improper use of your report\u2022Credit inquiries on your report that you don't recognize", + "Improper use of your report\u2022Received unsolicited financial product or insurance offers after opting out", + "Improper use of your report\u2022Report provided to employer without your written authorization", + "Improper use of your report\u2022Reporting company used your report improperly", + "Incorrect exchange rate", + "Incorrect information on your report", + "Incorrect information on your report\u2022Account information incorrect", + "Incorrect information on your report\u2022Account status incorrect", + "Incorrect information on your report\u2022Information belongs to someone else", + "Incorrect information on your report\u2022Information is incorrect", + "Incorrect information on your report\u2022Information is missing that should be on the report", + "Incorrect information on your report\u2022Information that should be on the report is missing", + "Incorrect information on your report\u2022Old information reappears or never goes away", + "Incorrect information on your report\u2022Personal information incorrect", + "Incorrect information on your report\u2022Public record information inaccurate", + "Issue where my lender is my school", + "Issue where my lender is my school\u2022Cannot graduate, receive diploma, or get transcript due to money owed", + "Issue where my lender is my school\u2022Issues with fees connected to the loan", + "Issue with income share agreement", + "Issue with income share agreement\u2022Billing or statement issues", + "Issue with income share agreement\u2022Dealing with provider of income share agreement", + "Issue with income share agreement\u2022Marketing or disclosure issues", + "Issue with income share agreement\u2022Payment issues", + "Issues with repayment", + "Loan payment wasn't credited to your account", + "Lost or stolen check", + "Lost or stolen money order", + "Lost or stolen refund", + "Managing an account", + "Managing an account\u2022Banking errors", + "Managing an account\u2022Cashing a check", + "Managing an account\u2022Deposits and withdrawals", + "Managing an account\u2022Deposits or withdrawals", + "Managing an account\u2022Fee problem", + "Managing an account\u2022Funds not handled or disbursed as instructed", + "Managing an account\u2022Problem accessing account", + "Managing an account\u2022Problem making or receiving payments", + "Managing an account\u2022Problem using a debit or ATM card", + "Managing an account\u2022Problem with fees or penalties", + "Managing an account\u2022Problem with renewal", + "Managing the loan or lease", + "Managing the loan or lease\u2022Billing problem", + "Managing the loan or lease\u2022Loan sold or transferred to another company", + "Managing the loan or lease\u2022Problem with additional products or services purchased with the loan", + "Managing the loan or lease\u2022Problem with fees charged", + "Managing the loan or lease\u2022Problem with the interest rate", + "Managing, opening, or closing your mobile wallet account", + "Money was not available when promised", + "Money was taken from your bank account on the wrong day or for the wrong amount", + "Opening an account", + "Opening an account\u2022Account opened as a result of fraud", + "Opening an account\u2022Account opened without my consent or knowledge", + "Opening an account\u2022Confusing or missing disclosures", + "Opening an account\u2022Didn't receive terms that were advertised", + "Opening an account\u2022Unable to open an account", + "Other features, terms, or problems", + "Other features, terms, or problems\u2022Add-on products and services", + "Other features, terms, or problems\u2022Credit card company forcing arbitration", + "Other features, terms, or problems\u2022Other problem", + "Other features, terms, or problems\u2022Privacy issues", + "Other features, terms, or problems\u2022Problem with balance transfer", + "Other features, terms, or problems\u2022Problem with cash advances", + "Other features, terms, or problems\u2022Problem with convenience check", + "Other features, terms, or problems\u2022Problem with customer service", + "Other features, terms, or problems\u2022Problem with rewards from credit card", + "Other service problem", + "Other transaction problem", + "Overdraft, savings, or rewards features", + "Problem adding money", + "Problem caused by your funds being low", + "Problem caused by your funds being low\u2022Bounced checks or returned payments", + "Problem caused by your funds being low\u2022Late or other fees", + "Problem caused by your funds being low\u2022Non-sufficient funds and associated fees", + "Problem caused by your funds being low\u2022Overdrafts and overdraft fees", + "Problem getting a card or closing an account", + "Problem getting a card or closing an account\u2022Don't want a card provided by your employer or the government", + "Problem getting a card or closing an account\u2022Trouble closing card", + "Problem getting a card or closing an account\u2022Trouble getting a working replacement card", + "Problem getting a card or closing an account\u2022Trouble getting, activating, or registering a card", + "Problem when making payments", + "Problem when making payments\u2022Problem during payment process", + "Problem when making payments\u2022You never received your bill or did not know a payment was due", + "Problem with a company's investigation into an existing issue", + "Problem with a company's investigation into an existing issue\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a company's investigation into an existing issue\u2022Investigation took more than 30 days", + "Problem with a company's investigation into an existing issue\u2022Problem with personal statement of dispute", + "Problem with a company's investigation into an existing issue\u2022Their investigation did not fix an error on your report", + "Problem with a company's investigation into an existing issue\u2022Was not notified of investigation status or results", + "Problem with a company's investigation into an existing problem", + "Problem with a company's investigation into an existing problem\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a company's investigation into an existing problem\u2022Investigation took more than 30 days", + "Problem with a company's investigation into an existing problem\u2022Problem with personal statement of dispute", + "Problem with a company's investigation into an existing problem\u2022Their investigation did not fix an error on your report", + "Problem with a company's investigation into an existing problem\u2022Was not notified of investigation status or results", + "Problem with a credit reporting company's investigation into an existing problem", + "Problem with a credit reporting company's investigation into an existing problem\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a credit reporting company's investigation into an existing problem\u2022Investigation took more than 30 days", + "Problem with a credit reporting company's investigation into an existing problem\u2022Problem with personal statement of dispute", + "Problem with a credit reporting company's investigation into an existing problem\u2022Their investigation did not fix an error on your report", + "Problem with a credit reporting company's investigation into an existing problem\u2022Was not notified of investigation status or results", + "Problem with a lender or other company charging your account", + "Problem with a lender or other company charging your account\u2022Can't stop withdrawals from your account", + "Problem with a lender or other company charging your account\u2022Money was taken from your account on the wrong day or for the wrong amount", + "Problem with a lender or other company charging your account\u2022Transaction was not authorized", + "Problem with a purchase or transfer", + "Problem with a purchase or transfer\u2022Card company isn't resolving a dispute about a purchase or transfer", + "Problem with a purchase or transfer\u2022Charged for a purchase or transfer you did not make with the card", + "Problem with a purchase or transfer\u2022Overcharged for a purchase or transfer you did make with the card", + "Problem with a purchase shown on your statement", + "Problem with a purchase shown on your statement\u2022Card was charged for something you did not purchase with the card", + "Problem with a purchase shown on your statement\u2022Credit card company isn't resolving a dispute about a purchase on your statement", + "Problem with a purchase shown on your statement\u2022Overcharged for something you did purchase with the card", + "Problem with additional add-on products or services", + "Problem with an overdraft", + "Problem with an overdraft\u2022Overdraft charges", + "Problem with cash advance", + "Problem with customer service", + "Problem with fraud alerts or security freezes", + "Problem with overdraft", + "Problem with overdraft\u2022Overdraft charges", + "Problem with overdraft\u2022Was signed up for overdraft on card, but don't want to be", + "Problem with the payoff process at the end of the loan", + "Problems at the end of the loan or lease", + "Problems at the end of the loan or lease\u2022Excess mileage, damage, or wear fees, or other problem after the lease is finished", + "Problems at the end of the loan or lease\u2022Problem extending the lease", + "Problems at the end of the loan or lease\u2022Problem related to refinancing", + "Problems at the end of the loan or lease\u2022Problem when attempting to purchase vehicle at the end of the lease", + "Problems at the end of the loan or lease\u2022Problem while selling or giving up the vehicle", + "Problems at the end of the loan or lease\u2022Problem with paying off the loan", + "Problems at the end of the loan or lease\u2022Termination fees or other problem when ending the lease early", + "Problems at the end of the loan or lease\u2022Unable to receive car title or other problem after the loan is paid off", + "Problems receiving the advance", + "Property was damaged or destroyed property", + "Property was sold", + "Received a loan you didn't apply for", + "Repossession", + "Repossession\u2022Account reinstatement or redemption after repossession", + "Repossession\u2022Company communicating payment assistance or payment extension options", + "Repossession\u2022Company explaining amount owed", + "Repossession\u2022Damage caused or loss of personal items in vehicle during the actual repossession", + "Repossession\u2022Deficiency balance after repossession", + "Repossession\u2022Lender trying to repossess or disable the vehicle", + "Repossession\u2022Loan balance remaining after the vehicle is repossessed and sold", + "Repossession\u2022Notice to repossess", + "Repossession\u2022Voluntary repossession", + "Struggling to pay mortgage", + "Struggling to pay mortgage\u2022An existing modification, forbearance plan, short sale, or other loss mitigation relief", + "Struggling to pay mortgage\u2022Applying for or obtaining a modification, forbearance plan, short sale, or deed-in-lieu", + "Struggling to pay mortgage\u2022Foreclosure", + "Struggling to pay mortgage\u2022Trying to communicate with the company to fix an issue related to modification, forbearance, short sale, deed-in-lieu, bankruptcy, or foreclosure", + "Struggling to pay your bill", + "Struggling to pay your bill\u2022Credit card company won't work with you while you're going through financial hardship", + "Struggling to pay your bill\u2022Filed for bankruptcy", + "Struggling to pay your bill\u2022Problem lowering your monthly payments", + "Struggling to pay your loan", + "Struggling to pay your loan\u2022Denied request to lower payments", + "Struggling to pay your loan\u2022Lender trying to repossess or disable the vehicle", + "Struggling to pay your loan\u2022Loan balance remaining after the vehicle is repossessed and sold", + "Struggling to pay your loan\u2022Problem after you declared or threatened to declare bankruptcy", + "Struggling to repay your loan", + "Struggling to repay your loan\u2022Bankruptcy", + "Struggling to repay your loan\u2022Can't get other flexible options for repaying your loan", + "Struggling to repay your loan\u2022Can't temporarily delay making payments", + "Struggling to repay your loan\u2022Problem lowering your monthly payments", + "Struggling to repay your loan\u2022Problem with forgiveness, cancellation, or discharge", + "Struggling to repay your loan\u2022Problem with your payment plan", + "Threatened to contact someone or share information improperly", + "Threatened to contact someone or share information improperly\u2022Contacted you after you asked them to stop", + "Threatened to contact someone or share information improperly\u2022Contacted you instead of your attorney", + "Threatened to contact someone or share information improperly\u2022Contacted your employer", + "Threatened to contact someone or share information improperly\u2022Talked to a third-party about your debt", + "Took or threatened to take negative or legal action", + "Took or threatened to take negative or legal action\u2022Collected or attempted to collect exempt funds", + "Took or threatened to take negative or legal action\u2022Seized or attempted to seize your property", + "Took or threatened to take negative or legal action\u2022Sued you in a state where you do not live or did not sign for the debt", + "Took or threatened to take negative or legal action\u2022Sued you without properly notifying you of lawsuit", + "Took or threatened to take negative or legal action\u2022Threatened or suggested your credit would be damaged", + "Took or threatened to take negative or legal action\u2022Threatened to arrest you or take you to jail if you do not pay", + "Took or threatened to take negative or legal action\u2022Threatened to sue you for very old debt", + "Took or threatened to take negative or legal action\u2022Threatened to turn you in to immigration or deport you", + "Trouble accessing funds in your mobile or digital wallet", + "Trouble during payment process", + "Trouble during payment process\u2022Escrow, taxes, or insurance", + "Trouble during payment process\u2022Fees charged", + "Trouble during payment process\u2022Interest rate", + "Trouble during payment process\u2022Lien release", + "Trouble during payment process\u2022Loan sold or transferred to another company", + "Trouble during payment process\u2022Paying off the loan", + "Trouble during payment process\u2022Payment process", + "Trouble during payment process\u2022Private mortgage insurance (PMI)", + "Trouble during payment process\u2022Trying to communicate with the company to fix an issue while managing or servicing your loan", + "Trouble using the card", + "Trouble using the card\u2022Problem adding money", + "Trouble using the card\u2022Problem using the card to withdraw money from an ATM", + "Trouble using the card\u2022Problem with a check written from your prepaid card account", + "Trouble using the card\u2022Problem with direct deposit", + "Trouble using the card\u2022Trouble getting information about the card", + "Trouble using the card\u2022Trouble using the card to pay a bill", + "Trouble using the card\u2022Trouble using the card to send money to another person", + "Trouble using the card\u2022Trouble using the card to spend money in a store or online", + "Trouble using your card", + "Trouble using your card\u2022Account sold or transferred to another company", + "Trouble using your card\u2022Can't use card to make purchases", + "Trouble using your card\u2022Credit card company won't increase or decrease your credit limit", + "Unable to get your credit report or credit score", + "Unable to get your credit report or credit score\u2022Other problem getting your report or credit score", + "Unable to get your credit report or credit score\u2022Problem getting your free annual credit report", + "Unauthorized transactions or other transaction problem", + "Unauthorized withdrawals or charges", + "Unexpected fees", + "Unexpected or other fees", + "Vehicle was damaged or destroyed the vehicle", + "Vehicle was repossessed or sold the vehicle", + "Was approved for a loan, but didn't receive money", + "Was approved for a loan, but didn't receive the money", + "Written notification about debt", + "Written notification about debt\u2022Didn't receive enough information to verify debt", + "Written notification about debt\u2022Didn't receive notice of right to dispute", + "Written notification about debt\u2022Notification didn't disclose it was an attempt to collect a debt", + "Wrong amount charged or received" + ], + "name": "issue", + "type": "string" + }, + { + "description": "Filter the results to only return these types of product and subproduct, i.e. product-only: Mortgage, subproduct needs to include product, separated by '\u2022', Mortgage\u2022FHA mortgage", + "x-ms-summary": "Products", + "in": "query", + "enum": [ + "Checking or savings account", + "Checking or savings account\u2022CD (Certificate of Deposit)", + "Checking or savings account\u2022Checking account", + "Checking or savings account\u2022Other banking product or service", + "Checking or savings account\u2022Savings account", + "Credit card", + "Credit card or prepaid card", + "Credit card or prepaid card\u2022General-purpose credit card or charge card", + "Credit card or prepaid card\u2022General-purpose prepaid card", + "Credit card or prepaid card\u2022Gift card", + "Credit card or prepaid card\u2022Government benefit card", + "Credit card or prepaid card\u2022Payroll card", + "Credit card or prepaid card\u2022Store credit card", + "Credit card or prepaid card\u2022Student prepaid card", + "Credit card\u2022General-purpose credit card or charge card", + "Credit card\u2022Store credit card", + "Credit reporting or other personal consumer reports", + "Credit reporting or other personal consumer reports\u2022Credit reporting", + "Credit reporting or other personal consumer reports\u2022Other personal consumer report", + "Credit reporting, credit repair services, or other personal consumer reports", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Credit repair services", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Credit reporting", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Other personal consumer report", + "Debt collection", + "Debt collection\u2022Auto debt", + "Debt collection\u2022Credit card debt", + "Debt collection\u2022Federal student loan debt", + "Debt collection\u2022I do not know", + "Debt collection\u2022Medical debt", + "Debt collection\u2022Mortgage debt", + "Debt collection\u2022Other debt", + "Debt collection\u2022Payday loan debt", + "Debt collection\u2022Private student loan debt", + "Debt collection\u2022Rental debt", + "Debt collection\u2022Telecommunications debt", + "Debt or credit management", + "Debt or credit management\u2022Credit repair services", + "Debt or credit management\u2022Debt settlement", + "Debt or credit management\u2022Mortgage modification or foreclosure avoidance", + "Debt or credit management\u2022Student loan debt relief", + "Money transfer, virtual currency, or money service", + "Money transfer, virtual currency, or money service\u2022Check cashing service", + "Money transfer, virtual currency, or money service\u2022Debt settlement", + "Money transfer, virtual currency, or money service\u2022Domestic (US) money transfer", + "Money transfer, virtual currency, or money service\u2022Foreign currency exchange", + "Money transfer, virtual currency, or money service\u2022International money transfer", + "Money transfer, virtual currency, or money service\u2022Mobile or digital wallet", + "Money transfer, virtual currency, or money service\u2022Money order", + "Money transfer, virtual currency, or money service\u2022Money order, traveler's check or cashier's check", + "Money transfer, virtual currency, or money service\u2022Refund anticipation check", + "Money transfer, virtual currency, or money service\u2022Traveler's check or cashier's check", + "Money transfer, virtual currency, or money service\u2022Virtual currency", + "Mortgage", + "Mortgage\u2022Conventional home mortgage", + "Mortgage\u2022FHA mortgage", + "Mortgage\u2022Home equity loan or line of credit (HELOC)", + "Mortgage\u2022Manufactured home loan", + "Mortgage\u2022Other type of mortgage", + "Mortgage\u2022Reverse mortgage", + "Mortgage\u2022USDA mortgage", + "Mortgage\u2022VA mortgage", + "Payday loan, title loan, or personal loan", + "Payday loan, title loan, or personal loan\u2022Installment loan", + "Payday loan, title loan, or personal loan\u2022Pawn loan", + "Payday loan, title loan, or personal loan\u2022Payday loan", + "Payday loan, title loan, or personal loan\u2022Personal line of credit", + "Payday loan, title loan, or personal loan\u2022Title loan", + "Payday loan, title loan, personal loan, or advance loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Earned wage access", + "Payday loan, title loan, personal loan, or advance loan\u2022Installment loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Other advances of future income", + "Payday loan, title loan, personal loan, or advance loan\u2022Pawn loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Payday loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Personal line of credit", + "Payday loan, title loan, personal loan, or advance loan\u2022Tax refund anticipation loan or check", + "Payday loan, title loan, personal loan, or advance loan\u2022Title loan", + "Prepaid card", + "Prepaid card\u2022General-purpose prepaid card", + "Prepaid card\u2022Gift card", + "Prepaid card\u2022Government benefit card", + "Prepaid card\u2022Payroll card", + "Prepaid card\u2022Student prepaid card", + "Student loan", + "Student loan\u2022Federal student loan servicing", + "Student loan\u2022Private student loan", + "Vehicle loan or lease", + "Vehicle loan or lease\u2022Lease", + "Vehicle loan or lease\u2022Loan", + "Vehicle loan or lease\u2022Title loan" + ], + "name": "product", + "type": "string" + }, + { + "description": "Filter the results to only return these states (use abbreviation, i.e. CA, VA)", + "x-ms-summary": "States", + "in": "query", + "name": "state", + "type": "string" + }, + { + "description": "Filter the results to only return these types of way consumers submitted their complaints", + "x-ms-summary": "Submission Methods", + "in": "query", + "enum": [ + "Web", + "Referral", + "Phone", + "Postal mail", + "Fax", + "Web Referral", + "Email" + ], + "name": "submitted_via", + "type": "string" + }, + { + "description": "Filter the results to only return these types of tag", + "x-ms-summary": "Tags", + "in": "query", + "enum": [ + "Servicemember", + "Older American", + "Older American, Servicemember" + ], + "name": "tags", + "type": "string" + }, + { + "description": "Filter the results to show whether a response was timely", + "x-ms-summary": "Timely Response", + "in": "query", + "enum": [ + "Yes", + "No" + ], + "name": "timely", + "type": "string" + }, + { + "description": "Filter the results to only return these zip codes", + "x-ms-summary": "Zip Codes", + "in": "query", + "name": "zip_code", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/SearchResult" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "tags": [ + "Complaints" + ], + "description": "Search the contents of the consumer complaint database", + "summary": "Search consumer complaints" + } + }, + "/_suggest": { + "get": { + "produces": [ + "application/json" + ], + "operationId": "SuggestSearches", + "parameters": [ + { + "default": 10, + "description": "Limit the size of the results", + "x-ms-summary": "Result Size", + "format": "int64", + "in": "query", + "maximum": 100, + "minimum": 1, + "name": "size", + "type": "integer" + }, + { + "description": "Text to use for suggestions", + "x-ms-summary": "Suggestion Text", + "in": "query", + "name": "text", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/SuggestResult" + } + }, + "400": { + "description": "Invalid input" + } + }, + "description": "Suggest additional search terms based upon filters", + "summary": "Suggest possible searches" + } + }, + "/_suggest_company": { + "get": { + "produces": [ + "application/json" + ], + "operationId": "SuggestCompanies", + "parameters": [ + { + "description": "Text to use for suggestions", + "x-ms-summary": "Suggestion Text", + "in": "query", + "name": "text", + "required": true, + "type": "string" + }, + { + "default": 10, + "description": "Limit the size of the results", + "x-ms-summary": "Result Size", + "format": "int64", + "in": "query", + "maximum": 100, + "minimum": 1, + "name": "size", + "type": "integer" + }, + { + "description": "Filter the results to only return these types of public response by the company", + "x-ms-summary": "Public Responses", + "in": "query", + "enum": [ + "Company has responded to the consumer and the CFPB and chooses not to provide a public response", + "Company believes it acted appropriately as authorized by contract or law", + "Company believes complaint caused principally by actions of third party outside the control or direction of the company", + "Company believes the complaint is the result of a misunderstanding", + "Company disputes the facts presented in the complaint", + "Company can't verify or dispute the facts in the complaint", + "Company believes the complaint provided an opportunity to answer consumer's questions", + "Company believes complaint is the result of an isolated error", + "Company believes complaint represents an opportunity for improvement to better serve consumers", + "Company believes complaint relates to a discontinued policy or procedure" + ], + "name": "company_public_response", + "type": "string" + }, + { + "description": "Return results with date < company_received_max (i.e. 2017-03-04)", + "x-ms-summary": "Max Company Received Date", + "format": "date", + "in": "query", + "name": "company_received_max", + "type": "string" + }, + { + "description": "Return results with date >= company_received_min (i.e. 2017-03-04)", + "x-ms-summary": "Min Company Received Date", + "format": "date", + "in": "query", + "name": "company_received_min", + "type": "string" + }, + { + "description": "Filter the results to only return these types of response by the company", + "x-ms-summary": "Company Responses", + "in": "query", + "name": "company_response", + "type": "string" + }, + { + "description": "Filter the results to only return these types of consent consumer provided", + "x-ms-summary": "Consumer Consents", + "in": "query", + "enum": [ + "Consent not provided", + "Consent provided", + "Other", + "N/A", + "Consent withdrawn" + ], + "name": "consumer_consent_provided", + "type": "string" + }, + { + "description": "Filter the results to only return the specified state of consumer disputed, i.e. yes, no", + "x-ms-summary": "Consumer Disputed", + "in": "query", + "name": "consumer_disputed", + "type": "string" + }, + { + "description": "Return results with date < date_received_max (i.e. 2017-03-04)", + "x-ms-summary": "Max Date Received", + "format": "date", + "in": "query", + "name": "date_received_max", + "type": "string" + }, + { + "description": "Return results with date >= date_received_min (i.e. 2017-03-04)", + "x-ms-summary": "Min Date Received", + "format": "date", + "in": "query", + "name": "date_received_min", + "type": "string" + }, + { + "description": "Filter the results to only return the specified state of whether it has narrative in the complaint or not, i.e. yes, no", + "x-ms-summary": "Has Narrative", + "in": "query", + "enum": [ + "true", + "false" + ], + "name": "has_narrative", + "type": "string" + }, + { + "description": "Filter the results to only return these types of issue and subissue, i.e. product-only: Getting a Loan, subproduct needs to include product, separated by '\u2022', Getting a Loan\u2022Can't qualify for a loan", + "x-ms-summary": "Issues", + "in": "query", + "enum": [ + "Advertising", + "Advertising and marketing, including promotional offers", + "Advertising and marketing, including promotional offers\u2022Confusing or misleading advertising about the credit card", + "Advertising and marketing, including promotional offers\u2022Didn't receive advertised or promotional terms", + "Advertising\u2022Changes in terms from what was offered or advertised", + "Advertising\u2022Confusing or misleading advertising about the card", + "Applying for a mortgage or refinancing an existing mortgage", + "Applying for a mortgage or refinancing an existing mortgage\u2022Application denials", + "Applying for a mortgage or refinancing an existing mortgage\u2022Changes in loan terms during the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Confusing or misleading advertising or marketing", + "Applying for a mortgage or refinancing an existing mortgage\u2022Delays in the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Fees or costs during the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Loan estimate or other related disclosures", + "Applying for a mortgage or refinancing an existing mortgage\u2022Negative impact of inaccurate appraisal", + "Applying for a mortgage or refinancing an existing mortgage\u2022Trying to communicate with the company to fix an issue with the application process", + "Attempts to collect debt not owed", + "Attempts to collect debt not owed\u2022Debt is not yours", + "Attempts to collect debt not owed\u2022Debt was already discharged in bankruptcy and is no longer owed", + "Attempts to collect debt not owed\u2022Debt was paid", + "Attempts to collect debt not owed\u2022Debt was result of identity theft", + "Can't contact lender or servicer", + "Can't stop withdrawals from your bank account", + "Charged fees or interest you didn't expect", + "Charged upfront or unexpected fees", + "Closing an account", + "Closing an account\u2022Can't close your account", + "Closing an account\u2022Company closed your account", + "Closing an account\u2022Fees charged for closing account", + "Closing an account\u2022Funds not received from closed account", + "Closing on a mortgage", + "Closing on a mortgage\u2022Changes in loan terms during or after closing", + "Closing on a mortgage\u2022Closing disclosure or other related disclosures", + "Closing on a mortgage\u2022Delays with the closing process", + "Closing on a mortgage\u2022Fees or costs after closing", + "Closing on a mortgage\u2022Setting up an escrow account for taxes and insurance", + "Closing on a mortgage\u2022Trying to communicate with the company to fix an issue with the loan closing", + "Closing your account", + "Closing your account\u2022Can't close your account", + "Closing your account\u2022Company closed your account", + "Communication tactics", + "Communication tactics\u2022Called before 8am or after 9pm", + "Communication tactics\u2022Contacted before 8am or after 9pm", + "Communication tactics\u2022Frequent or repeated calls", + "Communication tactics\u2022Frequent or repeated messages", + "Communication tactics\u2022Used obscene, profane, or other abusive language", + "Communication tactics\u2022You told them to stop contacting you, but they keep trying", + "Confusing or misleading advertising or marketing", + "Confusing or missing disclosures", + "Credit limit changed", + "Credit monitoring or identity theft protection services", + "Credit monitoring or identity theft protection services\u2022Billing dispute for services", + "Credit monitoring or identity theft protection services\u2022Didn't receive services that were advertised", + "Credit monitoring or identity theft protection services\u2022Problem canceling credit monitoring or identify theft protection service", + "Credit monitoring or identity theft protection services\u2022Problem with product or service terms changing", + "Credit monitoring or identity theft protection services\u2022Received unwanted marketing or advertising", + "Dealing with your lender or servicer", + "Dealing with your lender or servicer\u2022Co-signer", + "Dealing with your lender or servicer\u2022Don't agree with the fees charged", + "Dealing with your lender or servicer\u2022Keep getting calls about your loan", + "Dealing with your lender or servicer\u2022Need information about your loan balance or loan terms", + "Dealing with your lender or servicer\u2022Problem with customer service", + "Dealing with your lender or servicer\u2022Received bad information about your loan", + "Dealing with your lender or servicer\u2022Trouble with how payments are being handled", + "Didn't provide services promised", + "Electronic communications", + "Electronic communications\u2022Contacted before 8am or after 9pm", + "Electronic communications\u2022Frequent or repeated messages", + "Electronic communications\u2022Used obscene, profane, or other abusive language", + "Electronic communications\u2022You told them to stop contacting you, but they keep trying", + "Excessive fees", + "False statements or representation", + "False statements or representation\u2022Attempted to collect wrong amount", + "False statements or representation\u2022Impersonated attorney, law enforcement, or government official", + "False statements or representation\u2022Indicated you were committing crime by not paying debt", + "False statements or representation\u2022Told you not to respond to a lawsuit they filed against you", + "Fees or interest", + "Fees or interest\u2022Charged too much interest", + "Fees or interest\u2022Problem with fees", + "Fees or interest\u2022Unexpected increase in interest rate", + "Fraud or scam", + "Getting a credit card", + "Getting a credit card\u2022Application denied", + "Getting a credit card\u2022Card opened as result of identity theft or fraud", + "Getting a credit card\u2022Card opened without my consent or knowledge", + "Getting a credit card\u2022Delay in processing application", + "Getting a credit card\u2022Problem getting a working replacement card", + "Getting a credit card\u2022Sent card you never applied for", + "Getting a line of credit", + "Getting a loan", + "Getting a loan or lease", + "Getting a loan or lease\u2022Changes in terms mid-deal or after closing", + "Getting a loan or lease\u2022Confusing or misleading advertising", + "Getting a loan or lease\u2022Confusing or misleading advertising or marketing", + "Getting a loan or lease\u2022Credit denial", + "Getting a loan or lease\u2022Did not receive car title", + "Getting a loan or lease\u2022Fraudulent loan", + "Getting a loan or lease\u2022High-pressure sales tactics", + "Getting a loan or lease\u2022Loan opened without my consent or knowledge", + "Getting a loan or lease\u2022Problem with a trade-in", + "Getting a loan or lease\u2022Problem with additional add-on products or services purchased with the loan", + "Getting a loan or lease\u2022Problem with signing the paperwork", + "Getting a loan\u2022Changes in terms mid-deal or after closing", + "Getting a loan\u2022Confusing or misleading advertising", + "Getting a loan\u2022Denied loan", + "Getting a loan\u2022Fraudulent loan", + "Getting a loan\u2022High pressure sales tactics or recruiting", + "Getting a loan\u2022Issues with financial aid services", + "Getting a loan\u2022Loan opened without my consent or knowledge", + "Getting a loan\u2022Problem with signing the paperwork", + "Getting a loan\u2022Problem with the interest rate", + "Getting a loan\u2022Qualified for a better loan than the one offered", + "Getting the loan", + "Identity theft protection or other monitoring services", + "Identity theft protection or other monitoring services\u2022Billing dispute for services", + "Identity theft protection or other monitoring services\u2022Didn't receive services that were advertised", + "Identity theft protection or other monitoring services\u2022Problem canceling credit monitoring or identify theft protection service", + "Identity theft protection or other monitoring services\u2022Problem with product or service terms changing", + "Identity theft protection or other monitoring services\u2022Received unwanted marketing or advertising", + "Improper use of your report", + "Improper use of your report\u2022Credit inquiries on your report that you don't recognize", + "Improper use of your report\u2022Received unsolicited financial product or insurance offers after opting out", + "Improper use of your report\u2022Report provided to employer without your written authorization", + "Improper use of your report\u2022Reporting company used your report improperly", + "Incorrect exchange rate", + "Incorrect information on your report", + "Incorrect information on your report\u2022Account information incorrect", + "Incorrect information on your report\u2022Account status incorrect", + "Incorrect information on your report\u2022Information belongs to someone else", + "Incorrect information on your report\u2022Information is incorrect", + "Incorrect information on your report\u2022Information is missing that should be on the report", + "Incorrect information on your report\u2022Information that should be on the report is missing", + "Incorrect information on your report\u2022Old information reappears or never goes away", + "Incorrect information on your report\u2022Personal information incorrect", + "Incorrect information on your report\u2022Public record information inaccurate", + "Issue where my lender is my school", + "Issue where my lender is my school\u2022Cannot graduate, receive diploma, or get transcript due to money owed", + "Issue where my lender is my school\u2022Issues with fees connected to the loan", + "Issue with income share agreement", + "Issue with income share agreement\u2022Billing or statement issues", + "Issue with income share agreement\u2022Dealing with provider of income share agreement", + "Issue with income share agreement\u2022Marketing or disclosure issues", + "Issue with income share agreement\u2022Payment issues", + "Issues with repayment", + "Loan payment wasn't credited to your account", + "Lost or stolen check", + "Lost or stolen money order", + "Lost or stolen refund", + "Managing an account", + "Managing an account\u2022Banking errors", + "Managing an account\u2022Cashing a check", + "Managing an account\u2022Deposits and withdrawals", + "Managing an account\u2022Deposits or withdrawals", + "Managing an account\u2022Fee problem", + "Managing an account\u2022Funds not handled or disbursed as instructed", + "Managing an account\u2022Problem accessing account", + "Managing an account\u2022Problem making or receiving payments", + "Managing an account\u2022Problem using a debit or ATM card", + "Managing an account\u2022Problem with fees or penalties", + "Managing an account\u2022Problem with renewal", + "Managing the loan or lease", + "Managing the loan or lease\u2022Billing problem", + "Managing the loan or lease\u2022Loan sold or transferred to another company", + "Managing the loan or lease\u2022Problem with additional products or services purchased with the loan", + "Managing the loan or lease\u2022Problem with fees charged", + "Managing the loan or lease\u2022Problem with the interest rate", + "Managing, opening, or closing your mobile wallet account", + "Money was not available when promised", + "Money was taken from your bank account on the wrong day or for the wrong amount", + "Opening an account", + "Opening an account\u2022Account opened as a result of fraud", + "Opening an account\u2022Account opened without my consent or knowledge", + "Opening an account\u2022Confusing or missing disclosures", + "Opening an account\u2022Didn't receive terms that were advertised", + "Opening an account\u2022Unable to open an account", + "Other features, terms, or problems", + "Other features, terms, or problems\u2022Add-on products and services", + "Other features, terms, or problems\u2022Credit card company forcing arbitration", + "Other features, terms, or problems\u2022Other problem", + "Other features, terms, or problems\u2022Privacy issues", + "Other features, terms, or problems\u2022Problem with balance transfer", + "Other features, terms, or problems\u2022Problem with cash advances", + "Other features, terms, or problems\u2022Problem with convenience check", + "Other features, terms, or problems\u2022Problem with customer service", + "Other features, terms, or problems\u2022Problem with rewards from credit card", + "Other service problem", + "Other transaction problem", + "Overdraft, savings, or rewards features", + "Problem adding money", + "Problem caused by your funds being low", + "Problem caused by your funds being low\u2022Bounced checks or returned payments", + "Problem caused by your funds being low\u2022Late or other fees", + "Problem caused by your funds being low\u2022Non-sufficient funds and associated fees", + "Problem caused by your funds being low\u2022Overdrafts and overdraft fees", + "Problem getting a card or closing an account", + "Problem getting a card or closing an account\u2022Don't want a card provided by your employer or the government", + "Problem getting a card or closing an account\u2022Trouble closing card", + "Problem getting a card or closing an account\u2022Trouble getting a working replacement card", + "Problem getting a card or closing an account\u2022Trouble getting, activating, or registering a card", + "Problem when making payments", + "Problem when making payments\u2022Problem during payment process", + "Problem when making payments\u2022You never received your bill or did not know a payment was due", + "Problem with a company's investigation into an existing issue", + "Problem with a company's investigation into an existing issue\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a company's investigation into an existing issue\u2022Investigation took more than 30 days", + "Problem with a company's investigation into an existing issue\u2022Problem with personal statement of dispute", + "Problem with a company's investigation into an existing issue\u2022Their investigation did not fix an error on your report", + "Problem with a company's investigation into an existing issue\u2022Was not notified of investigation status or results", + "Problem with a company's investigation into an existing problem", + "Problem with a company's investigation into an existing problem\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a company's investigation into an existing problem\u2022Investigation took more than 30 days", + "Problem with a company's investigation into an existing problem\u2022Problem with personal statement of dispute", + "Problem with a company's investigation into an existing problem\u2022Their investigation did not fix an error on your report", + "Problem with a company's investigation into an existing problem\u2022Was not notified of investigation status or results", + "Problem with a credit reporting company's investigation into an existing problem", + "Problem with a credit reporting company's investigation into an existing problem\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a credit reporting company's investigation into an existing problem\u2022Investigation took more than 30 days", + "Problem with a credit reporting company's investigation into an existing problem\u2022Problem with personal statement of dispute", + "Problem with a credit reporting company's investigation into an existing problem\u2022Their investigation did not fix an error on your report", + "Problem with a credit reporting company's investigation into an existing problem\u2022Was not notified of investigation status or results", + "Problem with a lender or other company charging your account", + "Problem with a lender or other company charging your account\u2022Can't stop withdrawals from your account", + "Problem with a lender or other company charging your account\u2022Money was taken from your account on the wrong day or for the wrong amount", + "Problem with a lender or other company charging your account\u2022Transaction was not authorized", + "Problem with a purchase or transfer", + "Problem with a purchase or transfer\u2022Card company isn't resolving a dispute about a purchase or transfer", + "Problem with a purchase or transfer\u2022Charged for a purchase or transfer you did not make with the card", + "Problem with a purchase or transfer\u2022Overcharged for a purchase or transfer you did make with the card", + "Problem with a purchase shown on your statement", + "Problem with a purchase shown on your statement\u2022Card was charged for something you did not purchase with the card", + "Problem with a purchase shown on your statement\u2022Credit card company isn't resolving a dispute about a purchase on your statement", + "Problem with a purchase shown on your statement\u2022Overcharged for something you did purchase with the card", + "Problem with additional add-on products or services", + "Problem with an overdraft", + "Problem with an overdraft\u2022Overdraft charges", + "Problem with cash advance", + "Problem with customer service", + "Problem with fraud alerts or security freezes", + "Problem with overdraft", + "Problem with overdraft\u2022Overdraft charges", + "Problem with overdraft\u2022Was signed up for overdraft on card, but don't want to be", + "Problem with the payoff process at the end of the loan", + "Problems at the end of the loan or lease", + "Problems at the end of the loan or lease\u2022Excess mileage, damage, or wear fees, or other problem after the lease is finished", + "Problems at the end of the loan or lease\u2022Problem extending the lease", + "Problems at the end of the loan or lease\u2022Problem related to refinancing", + "Problems at the end of the loan or lease\u2022Problem when attempting to purchase vehicle at the end of the lease", + "Problems at the end of the loan or lease\u2022Problem while selling or giving up the vehicle", + "Problems at the end of the loan or lease\u2022Problem with paying off the loan", + "Problems at the end of the loan or lease\u2022Termination fees or other problem when ending the lease early", + "Problems at the end of the loan or lease\u2022Unable to receive car title or other problem after the loan is paid off", + "Problems receiving the advance", + "Property was damaged or destroyed property", + "Property was sold", + "Received a loan you didn't apply for", + "Repossession", + "Repossession\u2022Account reinstatement or redemption after repossession", + "Repossession\u2022Company communicating payment assistance or payment extension options", + "Repossession\u2022Company explaining amount owed", + "Repossession\u2022Damage caused or loss of personal items in vehicle during the actual repossession", + "Repossession\u2022Deficiency balance after repossession", + "Repossession\u2022Lender trying to repossess or disable the vehicle", + "Repossession\u2022Loan balance remaining after the vehicle is repossessed and sold", + "Repossession\u2022Notice to repossess", + "Repossession\u2022Voluntary repossession", + "Struggling to pay mortgage", + "Struggling to pay mortgage\u2022An existing modification, forbearance plan, short sale, or other loss mitigation relief", + "Struggling to pay mortgage\u2022Applying for or obtaining a modification, forbearance plan, short sale, or deed-in-lieu", + "Struggling to pay mortgage\u2022Foreclosure", + "Struggling to pay mortgage\u2022Trying to communicate with the company to fix an issue related to modification, forbearance, short sale, deed-in-lieu, bankruptcy, or foreclosure", + "Struggling to pay your bill", + "Struggling to pay your bill\u2022Credit card company won't work with you while you're going through financial hardship", + "Struggling to pay your bill\u2022Filed for bankruptcy", + "Struggling to pay your bill\u2022Problem lowering your monthly payments", + "Struggling to pay your loan", + "Struggling to pay your loan\u2022Denied request to lower payments", + "Struggling to pay your loan\u2022Lender trying to repossess or disable the vehicle", + "Struggling to pay your loan\u2022Loan balance remaining after the vehicle is repossessed and sold", + "Struggling to pay your loan\u2022Problem after you declared or threatened to declare bankruptcy", + "Struggling to repay your loan", + "Struggling to repay your loan\u2022Bankruptcy", + "Struggling to repay your loan\u2022Can't get other flexible options for repaying your loan", + "Struggling to repay your loan\u2022Can't temporarily delay making payments", + "Struggling to repay your loan\u2022Problem lowering your monthly payments", + "Struggling to repay your loan\u2022Problem with forgiveness, cancellation, or discharge", + "Struggling to repay your loan\u2022Problem with your payment plan", + "Threatened to contact someone or share information improperly", + "Threatened to contact someone or share information improperly\u2022Contacted you after you asked them to stop", + "Threatened to contact someone or share information improperly\u2022Contacted you instead of your attorney", + "Threatened to contact someone or share information improperly\u2022Contacted your employer", + "Threatened to contact someone or share information improperly\u2022Talked to a third-party about your debt", + "Took or threatened to take negative or legal action", + "Took or threatened to take negative or legal action\u2022Collected or attempted to collect exempt funds", + "Took or threatened to take negative or legal action\u2022Seized or attempted to seize your property", + "Took or threatened to take negative or legal action\u2022Sued you in a state where you do not live or did not sign for the debt", + "Took or threatened to take negative or legal action\u2022Sued you without properly notifying you of lawsuit", + "Took or threatened to take negative or legal action\u2022Threatened or suggested your credit would be damaged", + "Took or threatened to take negative or legal action\u2022Threatened to arrest you or take you to jail if you do not pay", + "Took or threatened to take negative or legal action\u2022Threatened to sue you for very old debt", + "Took or threatened to take negative or legal action\u2022Threatened to turn you in to immigration or deport you", + "Trouble accessing funds in your mobile or digital wallet", + "Trouble during payment process", + "Trouble during payment process\u2022Escrow, taxes, or insurance", + "Trouble during payment process\u2022Fees charged", + "Trouble during payment process\u2022Interest rate", + "Trouble during payment process\u2022Lien release", + "Trouble during payment process\u2022Loan sold or transferred to another company", + "Trouble during payment process\u2022Paying off the loan", + "Trouble during payment process\u2022Payment process", + "Trouble during payment process\u2022Private mortgage insurance (PMI)", + "Trouble during payment process\u2022Trying to communicate with the company to fix an issue while managing or servicing your loan", + "Trouble using the card", + "Trouble using the card\u2022Problem adding money", + "Trouble using the card\u2022Problem using the card to withdraw money from an ATM", + "Trouble using the card\u2022Problem with a check written from your prepaid card account", + "Trouble using the card\u2022Problem with direct deposit", + "Trouble using the card\u2022Trouble getting information about the card", + "Trouble using the card\u2022Trouble using the card to pay a bill", + "Trouble using the card\u2022Trouble using the card to send money to another person", + "Trouble using the card\u2022Trouble using the card to spend money in a store or online", + "Trouble using your card", + "Trouble using your card\u2022Account sold or transferred to another company", + "Trouble using your card\u2022Can't use card to make purchases", + "Trouble using your card\u2022Credit card company won't increase or decrease your credit limit", + "Unable to get your credit report or credit score", + "Unable to get your credit report or credit score\u2022Other problem getting your report or credit score", + "Unable to get your credit report or credit score\u2022Problem getting your free annual credit report", + "Unauthorized transactions or other transaction problem", + "Unauthorized withdrawals or charges", + "Unexpected fees", + "Unexpected or other fees", + "Vehicle was damaged or destroyed the vehicle", + "Vehicle was repossessed or sold the vehicle", + "Was approved for a loan, but didn't receive money", + "Was approved for a loan, but didn't receive the money", + "Written notification about debt", + "Written notification about debt\u2022Didn't receive enough information to verify debt", + "Written notification about debt\u2022Didn't receive notice of right to dispute", + "Written notification about debt\u2022Notification didn't disclose it was an attempt to collect a debt", + "Wrong amount charged or received" + ], + "name": "issue", + "type": "string" + }, + { + "description": "Filter the results to only return these types of product and subproduct, i.e. product-only: Mortgage, subproduct needs to include product, separated by '\u2022', Mortgage\u2022FHA mortgage", + "x-ms-summary": "Products", + "in": "query", + "enum": [ + "Checking or savings account", + "Checking or savings account\u2022CD (Certificate of Deposit)", + "Checking or savings account\u2022Checking account", + "Checking or savings account\u2022Other banking product or service", + "Checking or savings account\u2022Savings account", + "Credit card", + "Credit card or prepaid card", + "Credit card or prepaid card\u2022General-purpose credit card or charge card", + "Credit card or prepaid card\u2022General-purpose prepaid card", + "Credit card or prepaid card\u2022Gift card", + "Credit card or prepaid card\u2022Government benefit card", + "Credit card or prepaid card\u2022Payroll card", + "Credit card or prepaid card\u2022Store credit card", + "Credit card or prepaid card\u2022Student prepaid card", + "Credit card\u2022General-purpose credit card or charge card", + "Credit card\u2022Store credit card", + "Credit reporting or other personal consumer reports", + "Credit reporting or other personal consumer reports\u2022Credit reporting", + "Credit reporting or other personal consumer reports\u2022Other personal consumer report", + "Credit reporting, credit repair services, or other personal consumer reports", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Credit repair services", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Credit reporting", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Other personal consumer report", + "Debt collection", + "Debt collection\u2022Auto debt", + "Debt collection\u2022Credit card debt", + "Debt collection\u2022Federal student loan debt", + "Debt collection\u2022I do not know", + "Debt collection\u2022Medical debt", + "Debt collection\u2022Mortgage debt", + "Debt collection\u2022Other debt", + "Debt collection\u2022Payday loan debt", + "Debt collection\u2022Private student loan debt", + "Debt collection\u2022Rental debt", + "Debt collection\u2022Telecommunications debt", + "Debt or credit management", + "Debt or credit management\u2022Credit repair services", + "Debt or credit management\u2022Debt settlement", + "Debt or credit management\u2022Mortgage modification or foreclosure avoidance", + "Debt or credit management\u2022Student loan debt relief", + "Money transfer, virtual currency, or money service", + "Money transfer, virtual currency, or money service\u2022Check cashing service", + "Money transfer, virtual currency, or money service\u2022Debt settlement", + "Money transfer, virtual currency, or money service\u2022Domestic (US) money transfer", + "Money transfer, virtual currency, or money service\u2022Foreign currency exchange", + "Money transfer, virtual currency, or money service\u2022International money transfer", + "Money transfer, virtual currency, or money service\u2022Mobile or digital wallet", + "Money transfer, virtual currency, or money service\u2022Money order", + "Money transfer, virtual currency, or money service\u2022Money order, traveler's check or cashier's check", + "Money transfer, virtual currency, or money service\u2022Refund anticipation check", + "Money transfer, virtual currency, or money service\u2022Traveler's check or cashier's check", + "Money transfer, virtual currency, or money service\u2022Virtual currency", + "Mortgage", + "Mortgage\u2022Conventional home mortgage", + "Mortgage\u2022FHA mortgage", + "Mortgage\u2022Home equity loan or line of credit (HELOC)", + "Mortgage\u2022Manufactured home loan", + "Mortgage\u2022Other type of mortgage", + "Mortgage\u2022Reverse mortgage", + "Mortgage\u2022USDA mortgage", + "Mortgage\u2022VA mortgage", + "Payday loan, title loan, or personal loan", + "Payday loan, title loan, or personal loan\u2022Installment loan", + "Payday loan, title loan, or personal loan\u2022Pawn loan", + "Payday loan, title loan, or personal loan\u2022Payday loan", + "Payday loan, title loan, or personal loan\u2022Personal line of credit", + "Payday loan, title loan, or personal loan\u2022Title loan", + "Payday loan, title loan, personal loan, or advance loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Earned wage access", + "Payday loan, title loan, personal loan, or advance loan\u2022Installment loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Other advances of future income", + "Payday loan, title loan, personal loan, or advance loan\u2022Pawn loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Payday loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Personal line of credit", + "Payday loan, title loan, personal loan, or advance loan\u2022Tax refund anticipation loan or check", + "Payday loan, title loan, personal loan, or advance loan\u2022Title loan", + "Prepaid card", + "Prepaid card\u2022General-purpose prepaid card", + "Prepaid card\u2022Gift card", + "Prepaid card\u2022Government benefit card", + "Prepaid card\u2022Payroll card", + "Prepaid card\u2022Student prepaid card", + "Student loan", + "Student loan\u2022Federal student loan servicing", + "Student loan\u2022Private student loan", + "Vehicle loan or lease", + "Vehicle loan or lease\u2022Lease", + "Vehicle loan or lease\u2022Loan", + "Vehicle loan or lease\u2022Title loan" + ], + "name": "product", + "type": "string" + }, + { + "description": "Filter the results to only return these states (use abbreviation, i.e. CA, VA)", + "x-ms-summary": "States", + "in": "query", + "name": "state", + "type": "string" + }, + { + "description": "Filter the results to only return these types of way consumers submitted their complaints", + "x-ms-summary": "Submission Methods", + "in": "query", + "enum": [ + "Web", + "Referral", + "Phone", + "Postal mail", + "Fax", + "Web Referral", + "Email" + ], + "name": "submitted_via", + "type": "string" + }, + { + "description": "Filter the results to only return these types of tag", + "x-ms-summary": "Tags", + "in": "query", + "enum": [ + "Servicemember", + "Older American", + "Older American, Servicemember" + ], + "name": "tags", + "type": "string" + }, + { + "description": "Filter the results to show whether a response was timely", + "x-ms-summary": "Timely Response", + "in": "query", + "enum": [ + "Yes", + "No" + ], + "name": "timely", + "type": "string" + }, + { + "description": "Filter the results to only return these zip codes", + "x-ms-summary": "Zip Codes", + "in": "query", + "name": "zip_code", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/SuggestResult" + } + }, + "400": { + "description": "Invalid input" + } + }, + "description": "Provide a list of companies that match complaints in the database", + "summary": "Suggest possible companies" + } + }, + "/_suggest_zip": { + "get": { + "produces": [ + "application/json" + ], + "operationId": "SuggestZipCodes", + "parameters": [ + { + "description": "Text to use for suggestions", + "x-ms-summary": "Suggestion Text", + "in": "query", + "name": "text", + "required": true, + "type": "string" + }, + { + "default": 10, + "description": "Limit the size of the results", + "x-ms-summary": "Result Size", + "format": "int64", + "in": "query", + "maximum": 100, + "minimum": 1, + "name": "size", + "type": "integer" + }, + { + "description": "Filter the results to only return these types of public response by the company", + "x-ms-summary": "Public Responses", + "in": "query", + "enum": [ + "Company has responded to the consumer and the CFPB and chooses not to provide a public response", + "Company believes it acted appropriately as authorized by contract or law", + "Company believes complaint caused principally by actions of third party outside the control or direction of the company", + "Company believes the complaint is the result of a misunderstanding", + "Company disputes the facts presented in the complaint", + "Company can't verify or dispute the facts in the complaint", + "Company believes the complaint provided an opportunity to answer consumer's questions", + "Company believes complaint is the result of an isolated error", + "Company believes complaint represents an opportunity for improvement to better serve consumers", + "Company believes complaint relates to a discontinued policy or procedure" + ], + "name": "company_public_response", + "type": "string" + }, + { + "description": "Return results with date < company_received_max (i.e. 2017-03-04)", + "x-ms-summary": "Max Company Received Date", + "format": "date", + "in": "query", + "name": "company_received_max", + "type": "string" + }, + { + "description": "Return results with date >= company_received_min (i.e. 2017-03-04)", + "x-ms-summary": "Min Company Received Date", + "format": "date", + "in": "query", + "name": "company_received_min", + "type": "string" + }, + { + "description": "Filter the results to only return these types of response by the company", + "x-ms-summary": "Company Responses", + "in": "query", + "name": "company_response", + "type": "string" + }, + { + "description": "Filter the results to only return these types of consent consumer provided", + "x-ms-summary": "Consumer Consents", + "in": "query", + "enum": [ + "Consent not provided", + "Consent provided", + "Other", + "N/A", + "Consent withdrawn" + ], + "name": "consumer_consent_provided", + "type": "string" + }, + { + "description": "Filter the results to only return the specified state of consumer disputed, i.e. yes, no", + "x-ms-summary": "Consumer Disputed", + "in": "query", + "name": "consumer_disputed", + "type": "string" + }, + { + "description": "Return results with date < date_received_max (i.e. 2017-03-04)", + "x-ms-summary": "Max Date Received", + "format": "date", + "in": "query", + "name": "date_received_max", + "type": "string" + }, + { + "description": "Return results with date >= date_received_min (i.e. 2017-03-04)", + "x-ms-summary": "Min Date Received", + "format": "date", + "in": "query", + "name": "date_received_min", + "type": "string" + }, + { + "description": "Filter the results to only return the specified state of whether it has narrative in the complaint or not, i.e. yes, no", + "x-ms-summary": "Has Narrative", + "in": "query", + "enum": [ + "true", + "false" + ], + "name": "has_narrative", + "type": "string" + }, + { + "description": "Filter the results to only return these types of issue and subissue, i.e. product-only: Getting a Loan, subproduct needs to include product, separated by '\u2022', Getting a Loan\u2022Can't qualify for a loan", + "x-ms-summary": "Issues", + "in": "query", + "enum": [ + "Advertising", + "Advertising and marketing, including promotional offers", + "Advertising and marketing, including promotional offers\u2022Confusing or misleading advertising about the credit card", + "Advertising and marketing, including promotional offers\u2022Didn't receive advertised or promotional terms", + "Advertising\u2022Changes in terms from what was offered or advertised", + "Advertising\u2022Confusing or misleading advertising about the card", + "Applying for a mortgage or refinancing an existing mortgage", + "Applying for a mortgage or refinancing an existing mortgage\u2022Application denials", + "Applying for a mortgage or refinancing an existing mortgage\u2022Changes in loan terms during the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Confusing or misleading advertising or marketing", + "Applying for a mortgage or refinancing an existing mortgage\u2022Delays in the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Fees or costs during the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Loan estimate or other related disclosures", + "Applying for a mortgage or refinancing an existing mortgage\u2022Negative impact of inaccurate appraisal", + "Applying for a mortgage or refinancing an existing mortgage\u2022Trying to communicate with the company to fix an issue with the application process", + "Attempts to collect debt not owed", + "Attempts to collect debt not owed\u2022Debt is not yours", + "Attempts to collect debt not owed\u2022Debt was already discharged in bankruptcy and is no longer owed", + "Attempts to collect debt not owed\u2022Debt was paid", + "Attempts to collect debt not owed\u2022Debt was result of identity theft", + "Can't contact lender or servicer", + "Can't stop withdrawals from your bank account", + "Charged fees or interest you didn't expect", + "Charged upfront or unexpected fees", + "Closing an account", + "Closing an account\u2022Can't close your account", + "Closing an account\u2022Company closed your account", + "Closing an account\u2022Fees charged for closing account", + "Closing an account\u2022Funds not received from closed account", + "Closing on a mortgage", + "Closing on a mortgage\u2022Changes in loan terms during or after closing", + "Closing on a mortgage\u2022Closing disclosure or other related disclosures", + "Closing on a mortgage\u2022Delays with the closing process", + "Closing on a mortgage\u2022Fees or costs after closing", + "Closing on a mortgage\u2022Setting up an escrow account for taxes and insurance", + "Closing on a mortgage\u2022Trying to communicate with the company to fix an issue with the loan closing", + "Closing your account", + "Closing your account\u2022Can't close your account", + "Closing your account\u2022Company closed your account", + "Communication tactics", + "Communication tactics\u2022Called before 8am or after 9pm", + "Communication tactics\u2022Contacted before 8am or after 9pm", + "Communication tactics\u2022Frequent or repeated calls", + "Communication tactics\u2022Frequent or repeated messages", + "Communication tactics\u2022Used obscene, profane, or other abusive language", + "Communication tactics\u2022You told them to stop contacting you, but they keep trying", + "Confusing or misleading advertising or marketing", + "Confusing or missing disclosures", + "Credit limit changed", + "Credit monitoring or identity theft protection services", + "Credit monitoring or identity theft protection services\u2022Billing dispute for services", + "Credit monitoring or identity theft protection services\u2022Didn't receive services that were advertised", + "Credit monitoring or identity theft protection services\u2022Problem canceling credit monitoring or identify theft protection service", + "Credit monitoring or identity theft protection services\u2022Problem with product or service terms changing", + "Credit monitoring or identity theft protection services\u2022Received unwanted marketing or advertising", + "Dealing with your lender or servicer", + "Dealing with your lender or servicer\u2022Co-signer", + "Dealing with your lender or servicer\u2022Don't agree with the fees charged", + "Dealing with your lender or servicer\u2022Keep getting calls about your loan", + "Dealing with your lender or servicer\u2022Need information about your loan balance or loan terms", + "Dealing with your lender or servicer\u2022Problem with customer service", + "Dealing with your lender or servicer\u2022Received bad information about your loan", + "Dealing with your lender or servicer\u2022Trouble with how payments are being handled", + "Didn't provide services promised", + "Electronic communications", + "Electronic communications\u2022Contacted before 8am or after 9pm", + "Electronic communications\u2022Frequent or repeated messages", + "Electronic communications\u2022Used obscene, profane, or other abusive language", + "Electronic communications\u2022You told them to stop contacting you, but they keep trying", + "Excessive fees", + "False statements or representation", + "False statements or representation\u2022Attempted to collect wrong amount", + "False statements or representation\u2022Impersonated attorney, law enforcement, or government official", + "False statements or representation\u2022Indicated you were committing crime by not paying debt", + "False statements or representation\u2022Told you not to respond to a lawsuit they filed against you", + "Fees or interest", + "Fees or interest\u2022Charged too much interest", + "Fees or interest\u2022Problem with fees", + "Fees or interest\u2022Unexpected increase in interest rate", + "Fraud or scam", + "Getting a credit card", + "Getting a credit card\u2022Application denied", + "Getting a credit card\u2022Card opened as result of identity theft or fraud", + "Getting a credit card\u2022Card opened without my consent or knowledge", + "Getting a credit card\u2022Delay in processing application", + "Getting a credit card\u2022Problem getting a working replacement card", + "Getting a credit card\u2022Sent card you never applied for", + "Getting a line of credit", + "Getting a loan", + "Getting a loan or lease", + "Getting a loan or lease\u2022Changes in terms mid-deal or after closing", + "Getting a loan or lease\u2022Confusing or misleading advertising", + "Getting a loan or lease\u2022Confusing or misleading advertising or marketing", + "Getting a loan or lease\u2022Credit denial", + "Getting a loan or lease\u2022Did not receive car title", + "Getting a loan or lease\u2022Fraudulent loan", + "Getting a loan or lease\u2022High-pressure sales tactics", + "Getting a loan or lease\u2022Loan opened without my consent or knowledge", + "Getting a loan or lease\u2022Problem with a trade-in", + "Getting a loan or lease\u2022Problem with additional add-on products or services purchased with the loan", + "Getting a loan or lease\u2022Problem with signing the paperwork", + "Getting a loan\u2022Changes in terms mid-deal or after closing", + "Getting a loan\u2022Confusing or misleading advertising", + "Getting a loan\u2022Denied loan", + "Getting a loan\u2022Fraudulent loan", + "Getting a loan\u2022High pressure sales tactics or recruiting", + "Getting a loan\u2022Issues with financial aid services", + "Getting a loan\u2022Loan opened without my consent or knowledge", + "Getting a loan\u2022Problem with signing the paperwork", + "Getting a loan\u2022Problem with the interest rate", + "Getting a loan\u2022Qualified for a better loan than the one offered", + "Getting the loan", + "Identity theft protection or other monitoring services", + "Identity theft protection or other monitoring services\u2022Billing dispute for services", + "Identity theft protection or other monitoring services\u2022Didn't receive services that were advertised", + "Identity theft protection or other monitoring services\u2022Problem canceling credit monitoring or identify theft protection service", + "Identity theft protection or other monitoring services\u2022Problem with product or service terms changing", + "Identity theft protection or other monitoring services\u2022Received unwanted marketing or advertising", + "Improper use of your report", + "Improper use of your report\u2022Credit inquiries on your report that you don't recognize", + "Improper use of your report\u2022Received unsolicited financial product or insurance offers after opting out", + "Improper use of your report\u2022Report provided to employer without your written authorization", + "Improper use of your report\u2022Reporting company used your report improperly", + "Incorrect exchange rate", + "Incorrect information on your report", + "Incorrect information on your report\u2022Account information incorrect", + "Incorrect information on your report\u2022Account status incorrect", + "Incorrect information on your report\u2022Information belongs to someone else", + "Incorrect information on your report\u2022Information is incorrect", + "Incorrect information on your report\u2022Information is missing that should be on the report", + "Incorrect information on your report\u2022Information that should be on the report is missing", + "Incorrect information on your report\u2022Old information reappears or never goes away", + "Incorrect information on your report\u2022Personal information incorrect", + "Incorrect information on your report\u2022Public record information inaccurate", + "Issue where my lender is my school", + "Issue where my lender is my school\u2022Cannot graduate, receive diploma, or get transcript due to money owed", + "Issue where my lender is my school\u2022Issues with fees connected to the loan", + "Issue with income share agreement", + "Issue with income share agreement\u2022Billing or statement issues", + "Issue with income share agreement\u2022Dealing with provider of income share agreement", + "Issue with income share agreement\u2022Marketing or disclosure issues", + "Issue with income share agreement\u2022Payment issues", + "Issues with repayment", + "Loan payment wasn't credited to your account", + "Lost or stolen check", + "Lost or stolen money order", + "Lost or stolen refund", + "Managing an account", + "Managing an account\u2022Banking errors", + "Managing an account\u2022Cashing a check", + "Managing an account\u2022Deposits and withdrawals", + "Managing an account\u2022Deposits or withdrawals", + "Managing an account\u2022Fee problem", + "Managing an account\u2022Funds not handled or disbursed as instructed", + "Managing an account\u2022Problem accessing account", + "Managing an account\u2022Problem making or receiving payments", + "Managing an account\u2022Problem using a debit or ATM card", + "Managing an account\u2022Problem with fees or penalties", + "Managing an account\u2022Problem with renewal", + "Managing the loan or lease", + "Managing the loan or lease\u2022Billing problem", + "Managing the loan or lease\u2022Loan sold or transferred to another company", + "Managing the loan or lease\u2022Problem with additional products or services purchased with the loan", + "Managing the loan or lease\u2022Problem with fees charged", + "Managing the loan or lease\u2022Problem with the interest rate", + "Managing, opening, or closing your mobile wallet account", + "Money was not available when promised", + "Money was taken from your bank account on the wrong day or for the wrong amount", + "Opening an account", + "Opening an account\u2022Account opened as a result of fraud", + "Opening an account\u2022Account opened without my consent or knowledge", + "Opening an account\u2022Confusing or missing disclosures", + "Opening an account\u2022Didn't receive terms that were advertised", + "Opening an account\u2022Unable to open an account", + "Other features, terms, or problems", + "Other features, terms, or problems\u2022Add-on products and services", + "Other features, terms, or problems\u2022Credit card company forcing arbitration", + "Other features, terms, or problems\u2022Other problem", + "Other features, terms, or problems\u2022Privacy issues", + "Other features, terms, or problems\u2022Problem with balance transfer", + "Other features, terms, or problems\u2022Problem with cash advances", + "Other features, terms, or problems\u2022Problem with convenience check", + "Other features, terms, or problems\u2022Problem with customer service", + "Other features, terms, or problems\u2022Problem with rewards from credit card", + "Other service problem", + "Other transaction problem", + "Overdraft, savings, or rewards features", + "Problem adding money", + "Problem caused by your funds being low", + "Problem caused by your funds being low\u2022Bounced checks or returned payments", + "Problem caused by your funds being low\u2022Late or other fees", + "Problem caused by your funds being low\u2022Non-sufficient funds and associated fees", + "Problem caused by your funds being low\u2022Overdrafts and overdraft fees", + "Problem getting a card or closing an account", + "Problem getting a card or closing an account\u2022Don't want a card provided by your employer or the government", + "Problem getting a card or closing an account\u2022Trouble closing card", + "Problem getting a card or closing an account\u2022Trouble getting a working replacement card", + "Problem getting a card or closing an account\u2022Trouble getting, activating, or registering a card", + "Problem when making payments", + "Problem when making payments\u2022Problem during payment process", + "Problem when making payments\u2022You never received your bill or did not know a payment was due", + "Problem with a company's investigation into an existing issue", + "Problem with a company's investigation into an existing issue\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a company's investigation into an existing issue\u2022Investigation took more than 30 days", + "Problem with a company's investigation into an existing issue\u2022Problem with personal statement of dispute", + "Problem with a company's investigation into an existing issue\u2022Their investigation did not fix an error on your report", + "Problem with a company's investigation into an existing issue\u2022Was not notified of investigation status or results", + "Problem with a company's investigation into an existing problem", + "Problem with a company's investigation into an existing problem\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a company's investigation into an existing problem\u2022Investigation took more than 30 days", + "Problem with a company's investigation into an existing problem\u2022Problem with personal statement of dispute", + "Problem with a company's investigation into an existing problem\u2022Their investigation did not fix an error on your report", + "Problem with a company's investigation into an existing problem\u2022Was not notified of investigation status or results", + "Problem with a credit reporting company's investigation into an existing problem", + "Problem with a credit reporting company's investigation into an existing problem\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a credit reporting company's investigation into an existing problem\u2022Investigation took more than 30 days", + "Problem with a credit reporting company's investigation into an existing problem\u2022Problem with personal statement of dispute", + "Problem with a credit reporting company's investigation into an existing problem\u2022Their investigation did not fix an error on your report", + "Problem with a credit reporting company's investigation into an existing problem\u2022Was not notified of investigation status or results", + "Problem with a lender or other company charging your account", + "Problem with a lender or other company charging your account\u2022Can't stop withdrawals from your account", + "Problem with a lender or other company charging your account\u2022Money was taken from your account on the wrong day or for the wrong amount", + "Problem with a lender or other company charging your account\u2022Transaction was not authorized", + "Problem with a purchase or transfer", + "Problem with a purchase or transfer\u2022Card company isn't resolving a dispute about a purchase or transfer", + "Problem with a purchase or transfer\u2022Charged for a purchase or transfer you did not make with the card", + "Problem with a purchase or transfer\u2022Overcharged for a purchase or transfer you did make with the card", + "Problem with a purchase shown on your statement", + "Problem with a purchase shown on your statement\u2022Card was charged for something you did not purchase with the card", + "Problem with a purchase shown on your statement\u2022Credit card company isn't resolving a dispute about a purchase on your statement", + "Problem with a purchase shown on your statement\u2022Overcharged for something you did purchase with the card", + "Problem with additional add-on products or services", + "Problem with an overdraft", + "Problem with an overdraft\u2022Overdraft charges", + "Problem with cash advance", + "Problem with customer service", + "Problem with fraud alerts or security freezes", + "Problem with overdraft", + "Problem with overdraft\u2022Overdraft charges", + "Problem with overdraft\u2022Was signed up for overdraft on card, but don't want to be", + "Problem with the payoff process at the end of the loan", + "Problems at the end of the loan or lease", + "Problems at the end of the loan or lease\u2022Excess mileage, damage, or wear fees, or other problem after the lease is finished", + "Problems at the end of the loan or lease\u2022Problem extending the lease", + "Problems at the end of the loan or lease\u2022Problem related to refinancing", + "Problems at the end of the loan or lease\u2022Problem when attempting to purchase vehicle at the end of the lease", + "Problems at the end of the loan or lease\u2022Problem while selling or giving up the vehicle", + "Problems at the end of the loan or lease\u2022Problem with paying off the loan", + "Problems at the end of the loan or lease\u2022Termination fees or other problem when ending the lease early", + "Problems at the end of the loan or lease\u2022Unable to receive car title or other problem after the loan is paid off", + "Problems receiving the advance", + "Property was damaged or destroyed property", + "Property was sold", + "Received a loan you didn't apply for", + "Repossession", + "Repossession\u2022Account reinstatement or redemption after repossession", + "Repossession\u2022Company communicating payment assistance or payment extension options", + "Repossession\u2022Company explaining amount owed", + "Repossession\u2022Damage caused or loss of personal items in vehicle during the actual repossession", + "Repossession\u2022Deficiency balance after repossession", + "Repossession\u2022Lender trying to repossess or disable the vehicle", + "Repossession\u2022Loan balance remaining after the vehicle is repossessed and sold", + "Repossession\u2022Notice to repossess", + "Repossession\u2022Voluntary repossession", + "Struggling to pay mortgage", + "Struggling to pay mortgage\u2022An existing modification, forbearance plan, short sale, or other loss mitigation relief", + "Struggling to pay mortgage\u2022Applying for or obtaining a modification, forbearance plan, short sale, or deed-in-lieu", + "Struggling to pay mortgage\u2022Foreclosure", + "Struggling to pay mortgage\u2022Trying to communicate with the company to fix an issue related to modification, forbearance, short sale, deed-in-lieu, bankruptcy, or foreclosure", + "Struggling to pay your bill", + "Struggling to pay your bill\u2022Credit card company won't work with you while you're going through financial hardship", + "Struggling to pay your bill\u2022Filed for bankruptcy", + "Struggling to pay your bill\u2022Problem lowering your monthly payments", + "Struggling to pay your loan", + "Struggling to pay your loan\u2022Denied request to lower payments", + "Struggling to pay your loan\u2022Lender trying to repossess or disable the vehicle", + "Struggling to pay your loan\u2022Loan balance remaining after the vehicle is repossessed and sold", + "Struggling to pay your loan\u2022Problem after you declared or threatened to declare bankruptcy", + "Struggling to repay your loan", + "Struggling to repay your loan\u2022Bankruptcy", + "Struggling to repay your loan\u2022Can't get other flexible options for repaying your loan", + "Struggling to repay your loan\u2022Can't temporarily delay making payments", + "Struggling to repay your loan\u2022Problem lowering your monthly payments", + "Struggling to repay your loan\u2022Problem with forgiveness, cancellation, or discharge", + "Struggling to repay your loan\u2022Problem with your payment plan", + "Threatened to contact someone or share information improperly", + "Threatened to contact someone or share information improperly\u2022Contacted you after you asked them to stop", + "Threatened to contact someone or share information improperly\u2022Contacted you instead of your attorney", + "Threatened to contact someone or share information improperly\u2022Contacted your employer", + "Threatened to contact someone or share information improperly\u2022Talked to a third-party about your debt", + "Took or threatened to take negative or legal action", + "Took or threatened to take negative or legal action\u2022Collected or attempted to collect exempt funds", + "Took or threatened to take negative or legal action\u2022Seized or attempted to seize your property", + "Took or threatened to take negative or legal action\u2022Sued you in a state where you do not live or did not sign for the debt", + "Took or threatened to take negative or legal action\u2022Sued you without properly notifying you of lawsuit", + "Took or threatened to take negative or legal action\u2022Threatened or suggested your credit would be damaged", + "Took or threatened to take negative or legal action\u2022Threatened to arrest you or take you to jail if you do not pay", + "Took or threatened to take negative or legal action\u2022Threatened to sue you for very old debt", + "Took or threatened to take negative or legal action\u2022Threatened to turn you in to immigration or deport you", + "Trouble accessing funds in your mobile or digital wallet", + "Trouble during payment process", + "Trouble during payment process\u2022Escrow, taxes, or insurance", + "Trouble during payment process\u2022Fees charged", + "Trouble during payment process\u2022Interest rate", + "Trouble during payment process\u2022Lien release", + "Trouble during payment process\u2022Loan sold or transferred to another company", + "Trouble during payment process\u2022Paying off the loan", + "Trouble during payment process\u2022Payment process", + "Trouble during payment process\u2022Private mortgage insurance (PMI)", + "Trouble during payment process\u2022Trying to communicate with the company to fix an issue while managing or servicing your loan", + "Trouble using the card", + "Trouble using the card\u2022Problem adding money", + "Trouble using the card\u2022Problem using the card to withdraw money from an ATM", + "Trouble using the card\u2022Problem with a check written from your prepaid card account", + "Trouble using the card\u2022Problem with direct deposit", + "Trouble using the card\u2022Trouble getting information about the card", + "Trouble using the card\u2022Trouble using the card to pay a bill", + "Trouble using the card\u2022Trouble using the card to send money to another person", + "Trouble using the card\u2022Trouble using the card to spend money in a store or online", + "Trouble using your card", + "Trouble using your card\u2022Account sold or transferred to another company", + "Trouble using your card\u2022Can't use card to make purchases", + "Trouble using your card\u2022Credit card company won't increase or decrease your credit limit", + "Unable to get your credit report or credit score", + "Unable to get your credit report or credit score\u2022Other problem getting your report or credit score", + "Unable to get your credit report or credit score\u2022Problem getting your free annual credit report", + "Unauthorized transactions or other transaction problem", + "Unauthorized withdrawals or charges", + "Unexpected fees", + "Unexpected or other fees", + "Vehicle was damaged or destroyed the vehicle", + "Vehicle was repossessed or sold the vehicle", + "Was approved for a loan, but didn't receive money", + "Was approved for a loan, but didn't receive the money", + "Written notification about debt", + "Written notification about debt\u2022Didn't receive enough information to verify debt", + "Written notification about debt\u2022Didn't receive notice of right to dispute", + "Written notification about debt\u2022Notification didn't disclose it was an attempt to collect a debt", + "Wrong amount charged or received" + ], + "name": "issue", + "type": "string" + }, + { + "description": "Filter the results to only return these types of product and subproduct, i.e. product-only: Mortgage, subproduct needs to include product, separated by '\u2022', Mortgage\u2022FHA mortgage", + "x-ms-summary": "Products", + "in": "query", + "enum": [ + "Checking or savings account", + "Checking or savings account\u2022CD (Certificate of Deposit)", + "Checking or savings account\u2022Checking account", + "Checking or savings account\u2022Other banking product or service", + "Checking or savings account\u2022Savings account", + "Credit card", + "Credit card or prepaid card", + "Credit card or prepaid card\u2022General-purpose credit card or charge card", + "Credit card or prepaid card\u2022General-purpose prepaid card", + "Credit card or prepaid card\u2022Gift card", + "Credit card or prepaid card\u2022Government benefit card", + "Credit card or prepaid card\u2022Payroll card", + "Credit card or prepaid card\u2022Store credit card", + "Credit card or prepaid card\u2022Student prepaid card", + "Credit card\u2022General-purpose credit card or charge card", + "Credit card\u2022Store credit card", + "Credit reporting or other personal consumer reports", + "Credit reporting or other personal consumer reports\u2022Credit reporting", + "Credit reporting or other personal consumer reports\u2022Other personal consumer report", + "Credit reporting, credit repair services, or other personal consumer reports", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Credit repair services", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Credit reporting", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Other personal consumer report", + "Debt collection", + "Debt collection\u2022Auto debt", + "Debt collection\u2022Credit card debt", + "Debt collection\u2022Federal student loan debt", + "Debt collection\u2022I do not know", + "Debt collection\u2022Medical debt", + "Debt collection\u2022Mortgage debt", + "Debt collection\u2022Other debt", + "Debt collection\u2022Payday loan debt", + "Debt collection\u2022Private student loan debt", + "Debt collection\u2022Rental debt", + "Debt collection\u2022Telecommunications debt", + "Debt or credit management", + "Debt or credit management\u2022Credit repair services", + "Debt or credit management\u2022Debt settlement", + "Debt or credit management\u2022Mortgage modification or foreclosure avoidance", + "Debt or credit management\u2022Student loan debt relief", + "Money transfer, virtual currency, or money service", + "Money transfer, virtual currency, or money service\u2022Check cashing service", + "Money transfer, virtual currency, or money service\u2022Debt settlement", + "Money transfer, virtual currency, or money service\u2022Domestic (US) money transfer", + "Money transfer, virtual currency, or money service\u2022Foreign currency exchange", + "Money transfer, virtual currency, or money service\u2022International money transfer", + "Money transfer, virtual currency, or money service\u2022Mobile or digital wallet", + "Money transfer, virtual currency, or money service\u2022Money order", + "Money transfer, virtual currency, or money service\u2022Money order, traveler's check or cashier's check", + "Money transfer, virtual currency, or money service\u2022Refund anticipation check", + "Money transfer, virtual currency, or money service\u2022Traveler's check or cashier's check", + "Money transfer, virtual currency, or money service\u2022Virtual currency", + "Mortgage", + "Mortgage\u2022Conventional home mortgage", + "Mortgage\u2022FHA mortgage", + "Mortgage\u2022Home equity loan or line of credit (HELOC)", + "Mortgage\u2022Manufactured home loan", + "Mortgage\u2022Other type of mortgage", + "Mortgage\u2022Reverse mortgage", + "Mortgage\u2022USDA mortgage", + "Mortgage\u2022VA mortgage", + "Payday loan, title loan, or personal loan", + "Payday loan, title loan, or personal loan\u2022Installment loan", + "Payday loan, title loan, or personal loan\u2022Pawn loan", + "Payday loan, title loan, or personal loan\u2022Payday loan", + "Payday loan, title loan, or personal loan\u2022Personal line of credit", + "Payday loan, title loan, or personal loan\u2022Title loan", + "Payday loan, title loan, personal loan, or advance loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Earned wage access", + "Payday loan, title loan, personal loan, or advance loan\u2022Installment loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Other advances of future income", + "Payday loan, title loan, personal loan, or advance loan\u2022Pawn loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Payday loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Personal line of credit", + "Payday loan, title loan, personal loan, or advance loan\u2022Tax refund anticipation loan or check", + "Payday loan, title loan, personal loan, or advance loan\u2022Title loan", + "Prepaid card", + "Prepaid card\u2022General-purpose prepaid card", + "Prepaid card\u2022Gift card", + "Prepaid card\u2022Government benefit card", + "Prepaid card\u2022Payroll card", + "Prepaid card\u2022Student prepaid card", + "Student loan", + "Student loan\u2022Federal student loan servicing", + "Student loan\u2022Private student loan", + "Vehicle loan or lease", + "Vehicle loan or lease\u2022Lease", + "Vehicle loan or lease\u2022Loan", + "Vehicle loan or lease\u2022Title loan" + ], + "name": "product", + "type": "string" + }, + { + "description": "Filter the results to only return these states (use abbreviation, i.e. CA, VA)", + "x-ms-summary": "States", + "in": "query", + "name": "state", + "type": "string" + }, + { + "description": "Filter the results to only return these types of way consumers submitted their complaints", + "x-ms-summary": "Submission Methods", + "in": "query", + "enum": [ + "Web", + "Referral", + "Phone", + "Postal mail", + "Fax", + "Web Referral", + "Email" + ], + "name": "submitted_via", + "type": "string" + }, + { + "description": "Filter the results to only return these types of tag", + "x-ms-summary": "Tags", + "in": "query", + "enum": [ + "Servicemember", + "Older American", + "Older American, Servicemember" + ], + "name": "tags", + "type": "string" + }, + { + "description": "Filter the results to show whether a response was timely", + "x-ms-summary": "Timely Response", + "in": "query", + "enum": [ + "Yes", + "No" + ], + "name": "timely", + "type": "string" + }, + { + "description": "Filter the results to only return these zip codes", + "x-ms-summary": "Zip Codes", + "in": "query", + "name": "zip_code", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/SuggestResult" + } + }, + "400": { + "description": "Invalid input" + } + }, + "description": "Provide a list of zip codes that match complaints in the database", + "summary": "Suggest possible zip codes" + } + }, + "/geo/states": { + "get": { + "produces": [ + "application/json" + ], + "operationId": "ListStateComplaints", + "parameters": [ + { + "description": "Return results containing specific term", + "x-ms-summary": "Search Term", + "in": "query", + "name": "search_term", + "type": "string" + }, + { + "default": "complaint_what_happened", + "description": "If the parameter \"search_term\" has a value, use \"field\" to specify which field is searched. If not specified, \"complaint_what_happened\" will be searched.", + "x-ms-summary": "Field", + "enum": [ + "complaint_what_happened", + "company_public_response", + "all" + ], + "x-ms-enum-values": [ + { + "displayName": "Complaint What Happened", + "value": "complaint_what_happened" + }, + { + "displayName": "Company Public Response", + "value": "company_public_response" + }, + { + "displayName": "All", + "value": "all" + } + ], + "in": "query", + "name": "field", + "type": "string" + }, + { + "description": "Filter the results to only return these companies", + "x-ms-summary": "Companies", + "in": "query", + "name": "company", + "type": "string" + }, + { + "description": "Filter the results to only return these types of public response by the company", + "x-ms-summary": "Public Responses", + "in": "query", + "enum": [ + "Company has responded to the consumer and the CFPB and chooses not to provide a public response", + "Company believes it acted appropriately as authorized by contract or law", + "Company believes complaint caused principally by actions of third party outside the control or direction of the company", + "Company believes the complaint is the result of a misunderstanding", + "Company disputes the facts presented in the complaint", + "Company can't verify or dispute the facts in the complaint", + "Company believes the complaint provided an opportunity to answer consumer's questions", + "Company believes complaint is the result of an isolated error", + "Company believes complaint represents an opportunity for improvement to better serve consumers", + "Company believes complaint relates to a discontinued policy or procedure" + ], + "name": "company_public_response", + "type": "string" + }, + { + "description": "Return results with date < company_received_max (i.e. 2017-03-04)", + "x-ms-summary": "Max Company Received Date", + "format": "date", + "in": "query", + "name": "company_received_max", + "type": "string" + }, + { + "description": "Return results with date >= company_received_min (i.e. 2017-03-04)", + "x-ms-summary": "Min Company Received Date", + "format": "date", + "in": "query", + "name": "company_received_min", + "type": "string" + }, + { + "description": "Filter the results to only return these types of response by the company", + "x-ms-summary": "Company Responses", + "in": "query", + "name": "company_response", + "type": "string" + }, + { + "description": "Filter the results to only return these types of consent consumer provided", + "x-ms-summary": "Consumer Consents", + "in": "query", + "enum": [ + "Consent not provided", + "Consent provided", + "Other", + "N/A", + "Consent withdrawn" + ], + "name": "consumer_consent_provided", + "type": "string" + }, + { + "description": "Filter the results to only return the specified state of consumer disputed, i.e. yes, no", + "x-ms-summary": "Consumer Disputed", + "in": "query", + "name": "consumer_disputed", + "type": "string" + }, + { + "description": "Return results with date < date_received_max (i.e. 2017-03-04)", + "x-ms-summary": "Max Date Received", + "format": "date", + "in": "query", + "name": "date_received_max", + "type": "string" + }, + { + "description": "Return results with date >= date_received_min (i.e. 2017-03-04)", + "x-ms-summary": "Min Date Received", + "format": "date", + "in": "query", + "name": "date_received_min", + "type": "string" + }, + { + "description": "Filter the results to only return the specified state of whether it has narrative in the complaint or not, i.e. yes, no", + "x-ms-summary": "Has Narrative", + "in": "query", + "enum": [ + "true", + "false" + ], + "name": "has_narrative", + "type": "string" + }, + { + "description": "Filter the results to only return these types of issue and subissue, i.e. product-only: Getting a Loan, subproduct needs to include product, separated by '\u2022', Getting a Loan\u2022Can't qualify for a loan", + "x-ms-summary": "Issues", + "in": "query", + "enum": [ + "Advertising", + "Advertising and marketing, including promotional offers", + "Advertising and marketing, including promotional offers\u2022Confusing or misleading advertising about the credit card", + "Advertising and marketing, including promotional offers\u2022Didn't receive advertised or promotional terms", + "Advertising\u2022Changes in terms from what was offered or advertised", + "Advertising\u2022Confusing or misleading advertising about the card", + "Applying for a mortgage or refinancing an existing mortgage", + "Applying for a mortgage or refinancing an existing mortgage\u2022Application denials", + "Applying for a mortgage or refinancing an existing mortgage\u2022Changes in loan terms during the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Confusing or misleading advertising or marketing", + "Applying for a mortgage or refinancing an existing mortgage\u2022Delays in the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Fees or costs during the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Loan estimate or other related disclosures", + "Applying for a mortgage or refinancing an existing mortgage\u2022Negative impact of inaccurate appraisal", + "Applying for a mortgage or refinancing an existing mortgage\u2022Trying to communicate with the company to fix an issue with the application process", + "Attempts to collect debt not owed", + "Attempts to collect debt not owed\u2022Debt is not yours", + "Attempts to collect debt not owed\u2022Debt was already discharged in bankruptcy and is no longer owed", + "Attempts to collect debt not owed\u2022Debt was paid", + "Attempts to collect debt not owed\u2022Debt was result of identity theft", + "Can't contact lender or servicer", + "Can't stop withdrawals from your bank account", + "Charged fees or interest you didn't expect", + "Charged upfront or unexpected fees", + "Closing an account", + "Closing an account\u2022Can't close your account", + "Closing an account\u2022Company closed your account", + "Closing an account\u2022Fees charged for closing account", + "Closing an account\u2022Funds not received from closed account", + "Closing on a mortgage", + "Closing on a mortgage\u2022Changes in loan terms during or after closing", + "Closing on a mortgage\u2022Closing disclosure or other related disclosures", + "Closing on a mortgage\u2022Delays with the closing process", + "Closing on a mortgage\u2022Fees or costs after closing", + "Closing on a mortgage\u2022Setting up an escrow account for taxes and insurance", + "Closing on a mortgage\u2022Trying to communicate with the company to fix an issue with the loan closing", + "Closing your account", + "Closing your account\u2022Can't close your account", + "Closing your account\u2022Company closed your account", + "Communication tactics", + "Communication tactics\u2022Called before 8am or after 9pm", + "Communication tactics\u2022Contacted before 8am or after 9pm", + "Communication tactics\u2022Frequent or repeated calls", + "Communication tactics\u2022Frequent or repeated messages", + "Communication tactics\u2022Used obscene, profane, or other abusive language", + "Communication tactics\u2022You told them to stop contacting you, but they keep trying", + "Confusing or misleading advertising or marketing", + "Confusing or missing disclosures", + "Credit limit changed", + "Credit monitoring or identity theft protection services", + "Credit monitoring or identity theft protection services\u2022Billing dispute for services", + "Credit monitoring or identity theft protection services\u2022Didn't receive services that were advertised", + "Credit monitoring or identity theft protection services\u2022Problem canceling credit monitoring or identify theft protection service", + "Credit monitoring or identity theft protection services\u2022Problem with product or service terms changing", + "Credit monitoring or identity theft protection services\u2022Received unwanted marketing or advertising", + "Dealing with your lender or servicer", + "Dealing with your lender or servicer\u2022Co-signer", + "Dealing with your lender or servicer\u2022Don't agree with the fees charged", + "Dealing with your lender or servicer\u2022Keep getting calls about your loan", + "Dealing with your lender or servicer\u2022Need information about your loan balance or loan terms", + "Dealing with your lender or servicer\u2022Problem with customer service", + "Dealing with your lender or servicer\u2022Received bad information about your loan", + "Dealing with your lender or servicer\u2022Trouble with how payments are being handled", + "Didn't provide services promised", + "Electronic communications", + "Electronic communications\u2022Contacted before 8am or after 9pm", + "Electronic communications\u2022Frequent or repeated messages", + "Electronic communications\u2022Used obscene, profane, or other abusive language", + "Electronic communications\u2022You told them to stop contacting you, but they keep trying", + "Excessive fees", + "False statements or representation", + "False statements or representation\u2022Attempted to collect wrong amount", + "False statements or representation\u2022Impersonated attorney, law enforcement, or government official", + "False statements or representation\u2022Indicated you were committing crime by not paying debt", + "False statements or representation\u2022Told you not to respond to a lawsuit they filed against you", + "Fees or interest", + "Fees or interest\u2022Charged too much interest", + "Fees or interest\u2022Problem with fees", + "Fees or interest\u2022Unexpected increase in interest rate", + "Fraud or scam", + "Getting a credit card", + "Getting a credit card\u2022Application denied", + "Getting a credit card\u2022Card opened as result of identity theft or fraud", + "Getting a credit card\u2022Card opened without my consent or knowledge", + "Getting a credit card\u2022Delay in processing application", + "Getting a credit card\u2022Problem getting a working replacement card", + "Getting a credit card\u2022Sent card you never applied for", + "Getting a line of credit", + "Getting a loan", + "Getting a loan or lease", + "Getting a loan or lease\u2022Changes in terms mid-deal or after closing", + "Getting a loan or lease\u2022Confusing or misleading advertising", + "Getting a loan or lease\u2022Confusing or misleading advertising or marketing", + "Getting a loan or lease\u2022Credit denial", + "Getting a loan or lease\u2022Did not receive car title", + "Getting a loan or lease\u2022Fraudulent loan", + "Getting a loan or lease\u2022High-pressure sales tactics", + "Getting a loan or lease\u2022Loan opened without my consent or knowledge", + "Getting a loan or lease\u2022Problem with a trade-in", + "Getting a loan or lease\u2022Problem with additional add-on products or services purchased with the loan", + "Getting a loan or lease\u2022Problem with signing the paperwork", + "Getting a loan\u2022Changes in terms mid-deal or after closing", + "Getting a loan\u2022Confusing or misleading advertising", + "Getting a loan\u2022Denied loan", + "Getting a loan\u2022Fraudulent loan", + "Getting a loan\u2022High pressure sales tactics or recruiting", + "Getting a loan\u2022Issues with financial aid services", + "Getting a loan\u2022Loan opened without my consent or knowledge", + "Getting a loan\u2022Problem with signing the paperwork", + "Getting a loan\u2022Problem with the interest rate", + "Getting a loan\u2022Qualified for a better loan than the one offered", + "Getting the loan", + "Identity theft protection or other monitoring services", + "Identity theft protection or other monitoring services\u2022Billing dispute for services", + "Identity theft protection or other monitoring services\u2022Didn't receive services that were advertised", + "Identity theft protection or other monitoring services\u2022Problem canceling credit monitoring or identify theft protection service", + "Identity theft protection or other monitoring services\u2022Problem with product or service terms changing", + "Identity theft protection or other monitoring services\u2022Received unwanted marketing or advertising", + "Improper use of your report", + "Improper use of your report\u2022Credit inquiries on your report that you don't recognize", + "Improper use of your report\u2022Received unsolicited financial product or insurance offers after opting out", + "Improper use of your report\u2022Report provided to employer without your written authorization", + "Improper use of your report\u2022Reporting company used your report improperly", + "Incorrect exchange rate", + "Incorrect information on your report", + "Incorrect information on your report\u2022Account information incorrect", + "Incorrect information on your report\u2022Account status incorrect", + "Incorrect information on your report\u2022Information belongs to someone else", + "Incorrect information on your report\u2022Information is incorrect", + "Incorrect information on your report\u2022Information is missing that should be on the report", + "Incorrect information on your report\u2022Information that should be on the report is missing", + "Incorrect information on your report\u2022Old information reappears or never goes away", + "Incorrect information on your report\u2022Personal information incorrect", + "Incorrect information on your report\u2022Public record information inaccurate", + "Issue where my lender is my school", + "Issue where my lender is my school\u2022Cannot graduate, receive diploma, or get transcript due to money owed", + "Issue where my lender is my school\u2022Issues with fees connected to the loan", + "Issue with income share agreement", + "Issue with income share agreement\u2022Billing or statement issues", + "Issue with income share agreement\u2022Dealing with provider of income share agreement", + "Issue with income share agreement\u2022Marketing or disclosure issues", + "Issue with income share agreement\u2022Payment issues", + "Issues with repayment", + "Loan payment wasn't credited to your account", + "Lost or stolen check", + "Lost or stolen money order", + "Lost or stolen refund", + "Managing an account", + "Managing an account\u2022Banking errors", + "Managing an account\u2022Cashing a check", + "Managing an account\u2022Deposits and withdrawals", + "Managing an account\u2022Deposits or withdrawals", + "Managing an account\u2022Fee problem", + "Managing an account\u2022Funds not handled or disbursed as instructed", + "Managing an account\u2022Problem accessing account", + "Managing an account\u2022Problem making or receiving payments", + "Managing an account\u2022Problem using a debit or ATM card", + "Managing an account\u2022Problem with fees or penalties", + "Managing an account\u2022Problem with renewal", + "Managing the loan or lease", + "Managing the loan or lease\u2022Billing problem", + "Managing the loan or lease\u2022Loan sold or transferred to another company", + "Managing the loan or lease\u2022Problem with additional products or services purchased with the loan", + "Managing the loan or lease\u2022Problem with fees charged", + "Managing the loan or lease\u2022Problem with the interest rate", + "Managing, opening, or closing your mobile wallet account", + "Money was not available when promised", + "Money was taken from your bank account on the wrong day or for the wrong amount", + "Opening an account", + "Opening an account\u2022Account opened as a result of fraud", + "Opening an account\u2022Account opened without my consent or knowledge", + "Opening an account\u2022Confusing or missing disclosures", + "Opening an account\u2022Didn't receive terms that were advertised", + "Opening an account\u2022Unable to open an account", + "Other features, terms, or problems", + "Other features, terms, or problems\u2022Add-on products and services", + "Other features, terms, or problems\u2022Credit card company forcing arbitration", + "Other features, terms, or problems\u2022Other problem", + "Other features, terms, or problems\u2022Privacy issues", + "Other features, terms, or problems\u2022Problem with balance transfer", + "Other features, terms, or problems\u2022Problem with cash advances", + "Other features, terms, or problems\u2022Problem with convenience check", + "Other features, terms, or problems\u2022Problem with customer service", + "Other features, terms, or problems\u2022Problem with rewards from credit card", + "Other service problem", + "Other transaction problem", + "Overdraft, savings, or rewards features", + "Problem adding money", + "Problem caused by your funds being low", + "Problem caused by your funds being low\u2022Bounced checks or returned payments", + "Problem caused by your funds being low\u2022Late or other fees", + "Problem caused by your funds being low\u2022Non-sufficient funds and associated fees", + "Problem caused by your funds being low\u2022Overdrafts and overdraft fees", + "Problem getting a card or closing an account", + "Problem getting a card or closing an account\u2022Don't want a card provided by your employer or the government", + "Problem getting a card or closing an account\u2022Trouble closing card", + "Problem getting a card or closing an account\u2022Trouble getting a working replacement card", + "Problem getting a card or closing an account\u2022Trouble getting, activating, or registering a card", + "Problem when making payments", + "Problem when making payments\u2022Problem during payment process", + "Problem when making payments\u2022You never received your bill or did not know a payment was due", + "Problem with a company's investigation into an existing issue", + "Problem with a company's investigation into an existing issue\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a company's investigation into an existing issue\u2022Investigation took more than 30 days", + "Problem with a company's investigation into an existing issue\u2022Problem with personal statement of dispute", + "Problem with a company's investigation into an existing issue\u2022Their investigation did not fix an error on your report", + "Problem with a company's investigation into an existing issue\u2022Was not notified of investigation status or results", + "Problem with a company's investigation into an existing problem", + "Problem with a company's investigation into an existing problem\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a company's investigation into an existing problem\u2022Investigation took more than 30 days", + "Problem with a company's investigation into an existing problem\u2022Problem with personal statement of dispute", + "Problem with a company's investigation into an existing problem\u2022Their investigation did not fix an error on your report", + "Problem with a company's investigation into an existing problem\u2022Was not notified of investigation status or results", + "Problem with a credit reporting company's investigation into an existing problem", + "Problem with a credit reporting company's investigation into an existing problem\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a credit reporting company's investigation into an existing problem\u2022Investigation took more than 30 days", + "Problem with a credit reporting company's investigation into an existing problem\u2022Problem with personal statement of dispute", + "Problem with a credit reporting company's investigation into an existing problem\u2022Their investigation did not fix an error on your report", + "Problem with a credit reporting company's investigation into an existing problem\u2022Was not notified of investigation status or results", + "Problem with a lender or other company charging your account", + "Problem with a lender or other company charging your account\u2022Can't stop withdrawals from your account", + "Problem with a lender or other company charging your account\u2022Money was taken from your account on the wrong day or for the wrong amount", + "Problem with a lender or other company charging your account\u2022Transaction was not authorized", + "Problem with a purchase or transfer", + "Problem with a purchase or transfer\u2022Card company isn't resolving a dispute about a purchase or transfer", + "Problem with a purchase or transfer\u2022Charged for a purchase or transfer you did not make with the card", + "Problem with a purchase or transfer\u2022Overcharged for a purchase or transfer you did make with the card", + "Problem with a purchase shown on your statement", + "Problem with a purchase shown on your statement\u2022Card was charged for something you did not purchase with the card", + "Problem with a purchase shown on your statement\u2022Credit card company isn't resolving a dispute about a purchase on your statement", + "Problem with a purchase shown on your statement\u2022Overcharged for something you did purchase with the card", + "Problem with additional add-on products or services", + "Problem with an overdraft", + "Problem with an overdraft\u2022Overdraft charges", + "Problem with cash advance", + "Problem with customer service", + "Problem with fraud alerts or security freezes", + "Problem with overdraft", + "Problem with overdraft\u2022Overdraft charges", + "Problem with overdraft\u2022Was signed up for overdraft on card, but don't want to be", + "Problem with the payoff process at the end of the loan", + "Problems at the end of the loan or lease", + "Problems at the end of the loan or lease\u2022Excess mileage, damage, or wear fees, or other problem after the lease is finished", + "Problems at the end of the loan or lease\u2022Problem extending the lease", + "Problems at the end of the loan or lease\u2022Problem related to refinancing", + "Problems at the end of the loan or lease\u2022Problem when attempting to purchase vehicle at the end of the lease", + "Problems at the end of the loan or lease\u2022Problem while selling or giving up the vehicle", + "Problems at the end of the loan or lease\u2022Problem with paying off the loan", + "Problems at the end of the loan or lease\u2022Termination fees or other problem when ending the lease early", + "Problems at the end of the loan or lease\u2022Unable to receive car title or other problem after the loan is paid off", + "Problems receiving the advance", + "Property was damaged or destroyed property", + "Property was sold", + "Received a loan you didn't apply for", + "Repossession", + "Repossession\u2022Account reinstatement or redemption after repossession", + "Repossession\u2022Company communicating payment assistance or payment extension options", + "Repossession\u2022Company explaining amount owed", + "Repossession\u2022Damage caused or loss of personal items in vehicle during the actual repossession", + "Repossession\u2022Deficiency balance after repossession", + "Repossession\u2022Lender trying to repossess or disable the vehicle", + "Repossession\u2022Loan balance remaining after the vehicle is repossessed and sold", + "Repossession\u2022Notice to repossess", + "Repossession\u2022Voluntary repossession", + "Struggling to pay mortgage", + "Struggling to pay mortgage\u2022An existing modification, forbearance plan, short sale, or other loss mitigation relief", + "Struggling to pay mortgage\u2022Applying for or obtaining a modification, forbearance plan, short sale, or deed-in-lieu", + "Struggling to pay mortgage\u2022Foreclosure", + "Struggling to pay mortgage\u2022Trying to communicate with the company to fix an issue related to modification, forbearance, short sale, deed-in-lieu, bankruptcy, or foreclosure", + "Struggling to pay your bill", + "Struggling to pay your bill\u2022Credit card company won't work with you while you're going through financial hardship", + "Struggling to pay your bill\u2022Filed for bankruptcy", + "Struggling to pay your bill\u2022Problem lowering your monthly payments", + "Struggling to pay your loan", + "Struggling to pay your loan\u2022Denied request to lower payments", + "Struggling to pay your loan\u2022Lender trying to repossess or disable the vehicle", + "Struggling to pay your loan\u2022Loan balance remaining after the vehicle is repossessed and sold", + "Struggling to pay your loan\u2022Problem after you declared or threatened to declare bankruptcy", + "Struggling to repay your loan", + "Struggling to repay your loan\u2022Bankruptcy", + "Struggling to repay your loan\u2022Can't get other flexible options for repaying your loan", + "Struggling to repay your loan\u2022Can't temporarily delay making payments", + "Struggling to repay your loan\u2022Problem lowering your monthly payments", + "Struggling to repay your loan\u2022Problem with forgiveness, cancellation, or discharge", + "Struggling to repay your loan\u2022Problem with your payment plan", + "Threatened to contact someone or share information improperly", + "Threatened to contact someone or share information improperly\u2022Contacted you after you asked them to stop", + "Threatened to contact someone or share information improperly\u2022Contacted you instead of your attorney", + "Threatened to contact someone or share information improperly\u2022Contacted your employer", + "Threatened to contact someone or share information improperly\u2022Talked to a third-party about your debt", + "Took or threatened to take negative or legal action", + "Took or threatened to take negative or legal action\u2022Collected or attempted to collect exempt funds", + "Took or threatened to take negative or legal action\u2022Seized or attempted to seize your property", + "Took or threatened to take negative or legal action\u2022Sued you in a state where you do not live or did not sign for the debt", + "Took or threatened to take negative or legal action\u2022Sued you without properly notifying you of lawsuit", + "Took or threatened to take negative or legal action\u2022Threatened or suggested your credit would be damaged", + "Took or threatened to take negative or legal action\u2022Threatened to arrest you or take you to jail if you do not pay", + "Took or threatened to take negative or legal action\u2022Threatened to sue you for very old debt", + "Took or threatened to take negative or legal action\u2022Threatened to turn you in to immigration or deport you", + "Trouble accessing funds in your mobile or digital wallet", + "Trouble during payment process", + "Trouble during payment process\u2022Escrow, taxes, or insurance", + "Trouble during payment process\u2022Fees charged", + "Trouble during payment process\u2022Interest rate", + "Trouble during payment process\u2022Lien release", + "Trouble during payment process\u2022Loan sold or transferred to another company", + "Trouble during payment process\u2022Paying off the loan", + "Trouble during payment process\u2022Payment process", + "Trouble during payment process\u2022Private mortgage insurance (PMI)", + "Trouble during payment process\u2022Trying to communicate with the company to fix an issue while managing or servicing your loan", + "Trouble using the card", + "Trouble using the card\u2022Problem adding money", + "Trouble using the card\u2022Problem using the card to withdraw money from an ATM", + "Trouble using the card\u2022Problem with a check written from your prepaid card account", + "Trouble using the card\u2022Problem with direct deposit", + "Trouble using the card\u2022Trouble getting information about the card", + "Trouble using the card\u2022Trouble using the card to pay a bill", + "Trouble using the card\u2022Trouble using the card to send money to another person", + "Trouble using the card\u2022Trouble using the card to spend money in a store or online", + "Trouble using your card", + "Trouble using your card\u2022Account sold or transferred to another company", + "Trouble using your card\u2022Can't use card to make purchases", + "Trouble using your card\u2022Credit card company won't increase or decrease your credit limit", + "Unable to get your credit report or credit score", + "Unable to get your credit report or credit score\u2022Other problem getting your report or credit score", + "Unable to get your credit report or credit score\u2022Problem getting your free annual credit report", + "Unauthorized transactions or other transaction problem", + "Unauthorized withdrawals or charges", + "Unexpected fees", + "Unexpected or other fees", + "Vehicle was damaged or destroyed the vehicle", + "Vehicle was repossessed or sold the vehicle", + "Was approved for a loan, but didn't receive money", + "Was approved for a loan, but didn't receive the money", + "Written notification about debt", + "Written notification about debt\u2022Didn't receive enough information to verify debt", + "Written notification about debt\u2022Didn't receive notice of right to dispute", + "Written notification about debt\u2022Notification didn't disclose it was an attempt to collect a debt", + "Wrong amount charged or received" + ], + "name": "issue", + "type": "string" + }, + { + "description": "Filter the results to only return these types of product and subproduct, i.e. product-only: Mortgage, subproduct needs to include product, separated by '\u2022', Mortgage\u2022FHA mortgage", + "x-ms-summary": "Products", + "in": "query", + "enum": [ + "Checking or savings account", + "Checking or savings account\u2022CD (Certificate of Deposit)", + "Checking or savings account\u2022Checking account", + "Checking or savings account\u2022Other banking product or service", + "Checking or savings account\u2022Savings account", + "Credit card", + "Credit card or prepaid card", + "Credit card or prepaid card\u2022General-purpose credit card or charge card", + "Credit card or prepaid card\u2022General-purpose prepaid card", + "Credit card or prepaid card\u2022Gift card", + "Credit card or prepaid card\u2022Government benefit card", + "Credit card or prepaid card\u2022Payroll card", + "Credit card or prepaid card\u2022Store credit card", + "Credit card or prepaid card\u2022Student prepaid card", + "Credit card\u2022General-purpose credit card or charge card", + "Credit card\u2022Store credit card", + "Credit reporting or other personal consumer reports", + "Credit reporting or other personal consumer reports\u2022Credit reporting", + "Credit reporting or other personal consumer reports\u2022Other personal consumer report", + "Credit reporting, credit repair services, or other personal consumer reports", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Credit repair services", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Credit reporting", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Other personal consumer report", + "Debt collection", + "Debt collection\u2022Auto debt", + "Debt collection\u2022Credit card debt", + "Debt collection\u2022Federal student loan debt", + "Debt collection\u2022I do not know", + "Debt collection\u2022Medical debt", + "Debt collection\u2022Mortgage debt", + "Debt collection\u2022Other debt", + "Debt collection\u2022Payday loan debt", + "Debt collection\u2022Private student loan debt", + "Debt collection\u2022Rental debt", + "Debt collection\u2022Telecommunications debt", + "Debt or credit management", + "Debt or credit management\u2022Credit repair services", + "Debt or credit management\u2022Debt settlement", + "Debt or credit management\u2022Mortgage modification or foreclosure avoidance", + "Debt or credit management\u2022Student loan debt relief", + "Money transfer, virtual currency, or money service", + "Money transfer, virtual currency, or money service\u2022Check cashing service", + "Money transfer, virtual currency, or money service\u2022Debt settlement", + "Money transfer, virtual currency, or money service\u2022Domestic (US) money transfer", + "Money transfer, virtual currency, or money service\u2022Foreign currency exchange", + "Money transfer, virtual currency, or money service\u2022International money transfer", + "Money transfer, virtual currency, or money service\u2022Mobile or digital wallet", + "Money transfer, virtual currency, or money service\u2022Money order", + "Money transfer, virtual currency, or money service\u2022Money order, traveler's check or cashier's check", + "Money transfer, virtual currency, or money service\u2022Refund anticipation check", + "Money transfer, virtual currency, or money service\u2022Traveler's check or cashier's check", + "Money transfer, virtual currency, or money service\u2022Virtual currency", + "Mortgage", + "Mortgage\u2022Conventional home mortgage", + "Mortgage\u2022FHA mortgage", + "Mortgage\u2022Home equity loan or line of credit (HELOC)", + "Mortgage\u2022Manufactured home loan", + "Mortgage\u2022Other type of mortgage", + "Mortgage\u2022Reverse mortgage", + "Mortgage\u2022USDA mortgage", + "Mortgage\u2022VA mortgage", + "Payday loan, title loan, or personal loan", + "Payday loan, title loan, or personal loan\u2022Installment loan", + "Payday loan, title loan, or personal loan\u2022Pawn loan", + "Payday loan, title loan, or personal loan\u2022Payday loan", + "Payday loan, title loan, or personal loan\u2022Personal line of credit", + "Payday loan, title loan, or personal loan\u2022Title loan", + "Payday loan, title loan, personal loan, or advance loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Earned wage access", + "Payday loan, title loan, personal loan, or advance loan\u2022Installment loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Other advances of future income", + "Payday loan, title loan, personal loan, or advance loan\u2022Pawn loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Payday loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Personal line of credit", + "Payday loan, title loan, personal loan, or advance loan\u2022Tax refund anticipation loan or check", + "Payday loan, title loan, personal loan, or advance loan\u2022Title loan", + "Prepaid card", + "Prepaid card\u2022General-purpose prepaid card", + "Prepaid card\u2022Gift card", + "Prepaid card\u2022Government benefit card", + "Prepaid card\u2022Payroll card", + "Prepaid card\u2022Student prepaid card", + "Student loan", + "Student loan\u2022Federal student loan servicing", + "Student loan\u2022Private student loan", + "Vehicle loan or lease", + "Vehicle loan or lease\u2022Lease", + "Vehicle loan or lease\u2022Loan", + "Vehicle loan or lease\u2022Title loan" + ], + "name": "product", + "type": "string" + }, + { + "description": "Filter the results to only return these states (use abbreviation, i.e. CA, VA)", + "x-ms-summary": "States", + "in": "query", + "name": "state", + "type": "string" + }, + { + "description": "Filter the results to only return these types of way consumers submitted their complaints", + "x-ms-summary": "Submission Methods", + "in": "query", + "enum": [ + "Web", + "Referral", + "Phone", + "Postal mail", + "Fax", + "Web Referral", + "Email" + ], + "name": "submitted_via", + "type": "string" + }, + { + "description": "Filter the results to only return these types of tag", + "x-ms-summary": "Tags", + "in": "query", + "enum": [ + "Servicemember", + "Older American", + "Older American, Servicemember" + ], + "name": "tags", + "type": "string" + }, + { + "description": "Filter the results to show whether a response was timely", + "x-ms-summary": "Timely Response", + "in": "query", + "enum": [ + "Yes", + "No" + ], + "name": "timely", + "type": "string" + }, + { + "description": "Filter the results to only return these zip codes", + "x-ms-summary": "Zip Codes", + "in": "query", + "name": "zip_code", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/StatesResult" + } + } + }, + "tags": [ + "Complaints" + ], + "description": "Get complaint information broken down by states", + "summary": "Get the state by state information" + } + }, + "/trends": { + "get": { + "produces": [ + "application/json" + ], + "operationId": "ListComplaintTrends", + "parameters": [ + { + "description": "Return results containing specific term", + "x-ms-summary": "Search Term", + "in": "query", + "name": "search_term", + "type": "string" + }, + { + "default": "complaint_what_happened", + "description": "If the parameter \"search_term\" has a value, use \"field\" to specify which field is searched. If not specified, \"complaint_what_happened\" will be searched.", + "x-ms-summary": "Field", + "enum": [ + "complaint_what_happened", + "company_public_response", + "all" + ], + "x-ms-enum-values": [ + { + "displayName": "Complaint What Happened", + "value": "complaint_what_happened" + }, + { + "displayName": "Company Public Response", + "value": "company_public_response" + }, + { + "displayName": "All", + "value": "all" + } + ], + "in": "query", + "name": "field", + "type": "string" + }, + { + "description": "Filter the results to only return these companies", + "x-ms-summary": "Companies", + "in": "query", + "name": "company", + "type": "string" + }, + { + "description": "Filter the results to only return these types of public response by the company", + "x-ms-summary": "Public Responses", + "in": "query", + "enum": [ + "Company has responded to the consumer and the CFPB and chooses not to provide a public response", + "Company believes it acted appropriately as authorized by contract or law", + "Company believes complaint caused principally by actions of third party outside the control or direction of the company", + "Company believes the complaint is the result of a misunderstanding", + "Company disputes the facts presented in the complaint", + "Company can't verify or dispute the facts in the complaint", + "Company believes the complaint provided an opportunity to answer consumer's questions", + "Company believes complaint is the result of an isolated error", + "Company believes complaint represents an opportunity for improvement to better serve consumers", + "Company believes complaint relates to a discontinued policy or procedure" + ], + "name": "company_public_response", + "type": "string" + }, + { + "description": "Return results with date < company_received_max (i.e. 2017-03-04)", + "x-ms-summary": "Max Company Received Date", + "format": "date", + "in": "query", + "name": "company_received_max", + "type": "string" + }, + { + "description": "Return results with date >= company_received_min (i.e. 2017-03-04)", + "x-ms-summary": "Min Company Received Date", + "format": "date", + "in": "query", + "name": "company_received_min", + "type": "string" + }, + { + "description": "Filter the results to only return these types of response by the company", + "x-ms-summary": "Company Responses", + "in": "query", + "name": "company_response", + "type": "string" + }, + { + "description": "Filter the results to only return these types of consent consumer provided", + "x-ms-summary": "Consumer Consents", + "in": "query", + "enum": [ + "Consent not provided", + "Consent provided", + "Other", + "N/A", + "Consent withdrawn" + ], + "name": "consumer_consent_provided", + "type": "string" + }, + { + "description": "Filter the results to only return the specified state of consumer disputed, i.e. yes, no", + "x-ms-summary": "Consumer Disputed", + "in": "query", + "name": "consumer_disputed", + "type": "string" + }, + { + "description": "Return results with date < date_received_max (i.e. 2017-03-04)", + "x-ms-summary": "Max Date Received", + "format": "date", + "in": "query", + "name": "date_received_max", + "type": "string" + }, + { + "description": "Return results with date >= date_received_min (i.e. 2017-03-04)", + "x-ms-summary": "Min Date Received", + "format": "date", + "in": "query", + "name": "date_received_min", + "type": "string" + }, + { + "description": "The name of the product or company on which to focus charts for products and issues", + "x-ms-summary": "Focus", + "in": "query", + "name": "focus", + "type": "string" + }, + { + "description": "Filter the results to only return the specified state of whether it has narrative in the complaint or not", + "x-ms-summary": "Has Narrative", + "in": "query", + "enum": [ + "true", + "false" + ], + "name": "has_narrative", + "type": "string" + }, + { + "description": "Filter the results to only return these types of issue and subissue, i.e. product-only: Getting a Loan, subproduct needs to include product, separated by '\u2022', Getting a Loan\u2022Can't qualify for a loan", + "x-ms-summary": "Issues", + "in": "query", + "enum": [ + "Advertising", + "Advertising and marketing, including promotional offers", + "Advertising and marketing, including promotional offers\u2022Confusing or misleading advertising about the credit card", + "Advertising and marketing, including promotional offers\u2022Didn't receive advertised or promotional terms", + "Advertising\u2022Changes in terms from what was offered or advertised", + "Advertising\u2022Confusing or misleading advertising about the card", + "Applying for a mortgage or refinancing an existing mortgage", + "Applying for a mortgage or refinancing an existing mortgage\u2022Application denials", + "Applying for a mortgage or refinancing an existing mortgage\u2022Changes in loan terms during the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Confusing or misleading advertising or marketing", + "Applying for a mortgage or refinancing an existing mortgage\u2022Delays in the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Fees or costs during the application process", + "Applying for a mortgage or refinancing an existing mortgage\u2022Loan estimate or other related disclosures", + "Applying for a mortgage or refinancing an existing mortgage\u2022Negative impact of inaccurate appraisal", + "Applying for a mortgage or refinancing an existing mortgage\u2022Trying to communicate with the company to fix an issue with the application process", + "Attempts to collect debt not owed", + "Attempts to collect debt not owed\u2022Debt is not yours", + "Attempts to collect debt not owed\u2022Debt was already discharged in bankruptcy and is no longer owed", + "Attempts to collect debt not owed\u2022Debt was paid", + "Attempts to collect debt not owed\u2022Debt was result of identity theft", + "Can't contact lender or servicer", + "Can't stop withdrawals from your bank account", + "Charged fees or interest you didn't expect", + "Charged upfront or unexpected fees", + "Closing an account", + "Closing an account\u2022Can't close your account", + "Closing an account\u2022Company closed your account", + "Closing an account\u2022Fees charged for closing account", + "Closing an account\u2022Funds not received from closed account", + "Closing on a mortgage", + "Closing on a mortgage\u2022Changes in loan terms during or after closing", + "Closing on a mortgage\u2022Closing disclosure or other related disclosures", + "Closing on a mortgage\u2022Delays with the closing process", + "Closing on a mortgage\u2022Fees or costs after closing", + "Closing on a mortgage\u2022Setting up an escrow account for taxes and insurance", + "Closing on a mortgage\u2022Trying to communicate with the company to fix an issue with the loan closing", + "Closing your account", + "Closing your account\u2022Can't close your account", + "Closing your account\u2022Company closed your account", + "Communication tactics", + "Communication tactics\u2022Called before 8am or after 9pm", + "Communication tactics\u2022Contacted before 8am or after 9pm", + "Communication tactics\u2022Frequent or repeated calls", + "Communication tactics\u2022Frequent or repeated messages", + "Communication tactics\u2022Used obscene, profane, or other abusive language", + "Communication tactics\u2022You told them to stop contacting you, but they keep trying", + "Confusing or misleading advertising or marketing", + "Confusing or missing disclosures", + "Credit limit changed", + "Credit monitoring or identity theft protection services", + "Credit monitoring or identity theft protection services\u2022Billing dispute for services", + "Credit monitoring or identity theft protection services\u2022Didn't receive services that were advertised", + "Credit monitoring or identity theft protection services\u2022Problem canceling credit monitoring or identify theft protection service", + "Credit monitoring or identity theft protection services\u2022Problem with product or service terms changing", + "Credit monitoring or identity theft protection services\u2022Received unwanted marketing or advertising", + "Dealing with your lender or servicer", + "Dealing with your lender or servicer\u2022Co-signer", + "Dealing with your lender or servicer\u2022Don't agree with the fees charged", + "Dealing with your lender or servicer\u2022Keep getting calls about your loan", + "Dealing with your lender or servicer\u2022Need information about your loan balance or loan terms", + "Dealing with your lender or servicer\u2022Problem with customer service", + "Dealing with your lender or servicer\u2022Received bad information about your loan", + "Dealing with your lender or servicer\u2022Trouble with how payments are being handled", + "Didn't provide services promised", + "Electronic communications", + "Electronic communications\u2022Contacted before 8am or after 9pm", + "Electronic communications\u2022Frequent or repeated messages", + "Electronic communications\u2022Used obscene, profane, or other abusive language", + "Electronic communications\u2022You told them to stop contacting you, but they keep trying", + "Excessive fees", + "False statements or representation", + "False statements or representation\u2022Attempted to collect wrong amount", + "False statements or representation\u2022Impersonated attorney, law enforcement, or government official", + "False statements or representation\u2022Indicated you were committing crime by not paying debt", + "False statements or representation\u2022Told you not to respond to a lawsuit they filed against you", + "Fees or interest", + "Fees or interest\u2022Charged too much interest", + "Fees or interest\u2022Problem with fees", + "Fees or interest\u2022Unexpected increase in interest rate", + "Fraud or scam", + "Getting a credit card", + "Getting a credit card\u2022Application denied", + "Getting a credit card\u2022Card opened as result of identity theft or fraud", + "Getting a credit card\u2022Card opened without my consent or knowledge", + "Getting a credit card\u2022Delay in processing application", + "Getting a credit card\u2022Problem getting a working replacement card", + "Getting a credit card\u2022Sent card you never applied for", + "Getting a line of credit", + "Getting a loan", + "Getting a loan or lease", + "Getting a loan or lease\u2022Changes in terms mid-deal or after closing", + "Getting a loan or lease\u2022Confusing or misleading advertising", + "Getting a loan or lease\u2022Confusing or misleading advertising or marketing", + "Getting a loan or lease\u2022Credit denial", + "Getting a loan or lease\u2022Did not receive car title", + "Getting a loan or lease\u2022Fraudulent loan", + "Getting a loan or lease\u2022High-pressure sales tactics", + "Getting a loan or lease\u2022Loan opened without my consent or knowledge", + "Getting a loan or lease\u2022Problem with a trade-in", + "Getting a loan or lease\u2022Problem with additional add-on products or services purchased with the loan", + "Getting a loan or lease\u2022Problem with signing the paperwork", + "Getting a loan\u2022Changes in terms mid-deal or after closing", + "Getting a loan\u2022Confusing or misleading advertising", + "Getting a loan\u2022Denied loan", + "Getting a loan\u2022Fraudulent loan", + "Getting a loan\u2022High pressure sales tactics or recruiting", + "Getting a loan\u2022Issues with financial aid services", + "Getting a loan\u2022Loan opened without my consent or knowledge", + "Getting a loan\u2022Problem with signing the paperwork", + "Getting a loan\u2022Problem with the interest rate", + "Getting a loan\u2022Qualified for a better loan than the one offered", + "Getting the loan", + "Identity theft protection or other monitoring services", + "Identity theft protection or other monitoring services\u2022Billing dispute for services", + "Identity theft protection or other monitoring services\u2022Didn't receive services that were advertised", + "Identity theft protection or other monitoring services\u2022Problem canceling credit monitoring or identify theft protection service", + "Identity theft protection or other monitoring services\u2022Problem with product or service terms changing", + "Identity theft protection or other monitoring services\u2022Received unwanted marketing or advertising", + "Improper use of your report", + "Improper use of your report\u2022Credit inquiries on your report that you don't recognize", + "Improper use of your report\u2022Received unsolicited financial product or insurance offers after opting out", + "Improper use of your report\u2022Report provided to employer without your written authorization", + "Improper use of your report\u2022Reporting company used your report improperly", + "Incorrect exchange rate", + "Incorrect information on your report", + "Incorrect information on your report\u2022Account information incorrect", + "Incorrect information on your report\u2022Account status incorrect", + "Incorrect information on your report\u2022Information belongs to someone else", + "Incorrect information on your report\u2022Information is incorrect", + "Incorrect information on your report\u2022Information is missing that should be on the report", + "Incorrect information on your report\u2022Information that should be on the report is missing", + "Incorrect information on your report\u2022Old information reappears or never goes away", + "Incorrect information on your report\u2022Personal information incorrect", + "Incorrect information on your report\u2022Public record information inaccurate", + "Issue where my lender is my school", + "Issue where my lender is my school\u2022Cannot graduate, receive diploma, or get transcript due to money owed", + "Issue where my lender is my school\u2022Issues with fees connected to the loan", + "Issue with income share agreement", + "Issue with income share agreement\u2022Billing or statement issues", + "Issue with income share agreement\u2022Dealing with provider of income share agreement", + "Issue with income share agreement\u2022Marketing or disclosure issues", + "Issue with income share agreement\u2022Payment issues", + "Issues with repayment", + "Loan payment wasn't credited to your account", + "Lost or stolen check", + "Lost or stolen money order", + "Lost or stolen refund", + "Managing an account", + "Managing an account\u2022Banking errors", + "Managing an account\u2022Cashing a check", + "Managing an account\u2022Deposits and withdrawals", + "Managing an account\u2022Deposits or withdrawals", + "Managing an account\u2022Fee problem", + "Managing an account\u2022Funds not handled or disbursed as instructed", + "Managing an account\u2022Problem accessing account", + "Managing an account\u2022Problem making or receiving payments", + "Managing an account\u2022Problem using a debit or ATM card", + "Managing an account\u2022Problem with fees or penalties", + "Managing an account\u2022Problem with renewal", + "Managing the loan or lease", + "Managing the loan or lease\u2022Billing problem", + "Managing the loan or lease\u2022Loan sold or transferred to another company", + "Managing the loan or lease\u2022Problem with additional products or services purchased with the loan", + "Managing the loan or lease\u2022Problem with fees charged", + "Managing the loan or lease\u2022Problem with the interest rate", + "Managing, opening, or closing your mobile wallet account", + "Money was not available when promised", + "Money was taken from your bank account on the wrong day or for the wrong amount", + "Opening an account", + "Opening an account\u2022Account opened as a result of fraud", + "Opening an account\u2022Account opened without my consent or knowledge", + "Opening an account\u2022Confusing or missing disclosures", + "Opening an account\u2022Didn't receive terms that were advertised", + "Opening an account\u2022Unable to open an account", + "Other features, terms, or problems", + "Other features, terms, or problems\u2022Add-on products and services", + "Other features, terms, or problems\u2022Credit card company forcing arbitration", + "Other features, terms, or problems\u2022Other problem", + "Other features, terms, or problems\u2022Privacy issues", + "Other features, terms, or problems\u2022Problem with balance transfer", + "Other features, terms, or problems\u2022Problem with cash advances", + "Other features, terms, or problems\u2022Problem with convenience check", + "Other features, terms, or problems\u2022Problem with customer service", + "Other features, terms, or problems\u2022Problem with rewards from credit card", + "Other service problem", + "Other transaction problem", + "Overdraft, savings, or rewards features", + "Problem adding money", + "Problem caused by your funds being low", + "Problem caused by your funds being low\u2022Bounced checks or returned payments", + "Problem caused by your funds being low\u2022Late or other fees", + "Problem caused by your funds being low\u2022Non-sufficient funds and associated fees", + "Problem caused by your funds being low\u2022Overdrafts and overdraft fees", + "Problem getting a card or closing an account", + "Problem getting a card or closing an account\u2022Don't want a card provided by your employer or the government", + "Problem getting a card or closing an account\u2022Trouble closing card", + "Problem getting a card or closing an account\u2022Trouble getting a working replacement card", + "Problem getting a card or closing an account\u2022Trouble getting, activating, or registering a card", + "Problem when making payments", + "Problem when making payments\u2022Problem during payment process", + "Problem when making payments\u2022You never received your bill or did not know a payment was due", + "Problem with a company's investigation into an existing issue", + "Problem with a company's investigation into an existing issue\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a company's investigation into an existing issue\u2022Investigation took more than 30 days", + "Problem with a company's investigation into an existing issue\u2022Problem with personal statement of dispute", + "Problem with a company's investigation into an existing issue\u2022Their investigation did not fix an error on your report", + "Problem with a company's investigation into an existing issue\u2022Was not notified of investigation status or results", + "Problem with a company's investigation into an existing problem", + "Problem with a company's investigation into an existing problem\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a company's investigation into an existing problem\u2022Investigation took more than 30 days", + "Problem with a company's investigation into an existing problem\u2022Problem with personal statement of dispute", + "Problem with a company's investigation into an existing problem\u2022Their investigation did not fix an error on your report", + "Problem with a company's investigation into an existing problem\u2022Was not notified of investigation status or results", + "Problem with a credit reporting company's investigation into an existing problem", + "Problem with a credit reporting company's investigation into an existing problem\u2022Difficulty submitting a dispute or getting information about a dispute over the phone", + "Problem with a credit reporting company's investigation into an existing problem\u2022Investigation took more than 30 days", + "Problem with a credit reporting company's investigation into an existing problem\u2022Problem with personal statement of dispute", + "Problem with a credit reporting company's investigation into an existing problem\u2022Their investigation did not fix an error on your report", + "Problem with a credit reporting company's investigation into an existing problem\u2022Was not notified of investigation status or results", + "Problem with a lender or other company charging your account", + "Problem with a lender or other company charging your account\u2022Can't stop withdrawals from your account", + "Problem with a lender or other company charging your account\u2022Money was taken from your account on the wrong day or for the wrong amount", + "Problem with a lender or other company charging your account\u2022Transaction was not authorized", + "Problem with a purchase or transfer", + "Problem with a purchase or transfer\u2022Card company isn't resolving a dispute about a purchase or transfer", + "Problem with a purchase or transfer\u2022Charged for a purchase or transfer you did not make with the card", + "Problem with a purchase or transfer\u2022Overcharged for a purchase or transfer you did make with the card", + "Problem with a purchase shown on your statement", + "Problem with a purchase shown on your statement\u2022Card was charged for something you did not purchase with the card", + "Problem with a purchase shown on your statement\u2022Credit card company isn't resolving a dispute about a purchase on your statement", + "Problem with a purchase shown on your statement\u2022Overcharged for something you did purchase with the card", + "Problem with additional add-on products or services", + "Problem with an overdraft", + "Problem with an overdraft\u2022Overdraft charges", + "Problem with cash advance", + "Problem with customer service", + "Problem with fraud alerts or security freezes", + "Problem with overdraft", + "Problem with overdraft\u2022Overdraft charges", + "Problem with overdraft\u2022Was signed up for overdraft on card, but don't want to be", + "Problem with the payoff process at the end of the loan", + "Problems at the end of the loan or lease", + "Problems at the end of the loan or lease\u2022Excess mileage, damage, or wear fees, or other problem after the lease is finished", + "Problems at the end of the loan or lease\u2022Problem extending the lease", + "Problems at the end of the loan or lease\u2022Problem related to refinancing", + "Problems at the end of the loan or lease\u2022Problem when attempting to purchase vehicle at the end of the lease", + "Problems at the end of the loan or lease\u2022Problem while selling or giving up the vehicle", + "Problems at the end of the loan or lease\u2022Problem with paying off the loan", + "Problems at the end of the loan or lease\u2022Termination fees or other problem when ending the lease early", + "Problems at the end of the loan or lease\u2022Unable to receive car title or other problem after the loan is paid off", + "Problems receiving the advance", + "Property was damaged or destroyed property", + "Property was sold", + "Received a loan you didn't apply for", + "Repossession", + "Repossession\u2022Account reinstatement or redemption after repossession", + "Repossession\u2022Company communicating payment assistance or payment extension options", + "Repossession\u2022Company explaining amount owed", + "Repossession\u2022Damage caused or loss of personal items in vehicle during the actual repossession", + "Repossession\u2022Deficiency balance after repossession", + "Repossession\u2022Lender trying to repossess or disable the vehicle", + "Repossession\u2022Loan balance remaining after the vehicle is repossessed and sold", + "Repossession\u2022Notice to repossess", + "Repossession\u2022Voluntary repossession", + "Struggling to pay mortgage", + "Struggling to pay mortgage\u2022An existing modification, forbearance plan, short sale, or other loss mitigation relief", + "Struggling to pay mortgage\u2022Applying for or obtaining a modification, forbearance plan, short sale, or deed-in-lieu", + "Struggling to pay mortgage\u2022Foreclosure", + "Struggling to pay mortgage\u2022Trying to communicate with the company to fix an issue related to modification, forbearance, short sale, deed-in-lieu, bankruptcy, or foreclosure", + "Struggling to pay your bill", + "Struggling to pay your bill\u2022Credit card company won't work with you while you're going through financial hardship", + "Struggling to pay your bill\u2022Filed for bankruptcy", + "Struggling to pay your bill\u2022Problem lowering your monthly payments", + "Struggling to pay your loan", + "Struggling to pay your loan\u2022Denied request to lower payments", + "Struggling to pay your loan\u2022Lender trying to repossess or disable the vehicle", + "Struggling to pay your loan\u2022Loan balance remaining after the vehicle is repossessed and sold", + "Struggling to pay your loan\u2022Problem after you declared or threatened to declare bankruptcy", + "Struggling to repay your loan", + "Struggling to repay your loan\u2022Bankruptcy", + "Struggling to repay your loan\u2022Can't get other flexible options for repaying your loan", + "Struggling to repay your loan\u2022Can't temporarily delay making payments", + "Struggling to repay your loan\u2022Problem lowering your monthly payments", + "Struggling to repay your loan\u2022Problem with forgiveness, cancellation, or discharge", + "Struggling to repay your loan\u2022Problem with your payment plan", + "Threatened to contact someone or share information improperly", + "Threatened to contact someone or share information improperly\u2022Contacted you after you asked them to stop", + "Threatened to contact someone or share information improperly\u2022Contacted you instead of your attorney", + "Threatened to contact someone or share information improperly\u2022Contacted your employer", + "Threatened to contact someone or share information improperly\u2022Talked to a third-party about your debt", + "Took or threatened to take negative or legal action", + "Took or threatened to take negative or legal action\u2022Collected or attempted to collect exempt funds", + "Took or threatened to take negative or legal action\u2022Seized or attempted to seize your property", + "Took or threatened to take negative or legal action\u2022Sued you in a state where you do not live or did not sign for the debt", + "Took or threatened to take negative or legal action\u2022Sued you without properly notifying you of lawsuit", + "Took or threatened to take negative or legal action\u2022Threatened or suggested your credit would be damaged", + "Took or threatened to take negative or legal action\u2022Threatened to arrest you or take you to jail if you do not pay", + "Took or threatened to take negative or legal action\u2022Threatened to sue you for very old debt", + "Took or threatened to take negative or legal action\u2022Threatened to turn you in to immigration or deport you", + "Trouble accessing funds in your mobile or digital wallet", + "Trouble during payment process", + "Trouble during payment process\u2022Escrow, taxes, or insurance", + "Trouble during payment process\u2022Fees charged", + "Trouble during payment process\u2022Interest rate", + "Trouble during payment process\u2022Lien release", + "Trouble during payment process\u2022Loan sold or transferred to another company", + "Trouble during payment process\u2022Paying off the loan", + "Trouble during payment process\u2022Payment process", + "Trouble during payment process\u2022Private mortgage insurance (PMI)", + "Trouble during payment process\u2022Trying to communicate with the company to fix an issue while managing or servicing your loan", + "Trouble using the card", + "Trouble using the card\u2022Problem adding money", + "Trouble using the card\u2022Problem using the card to withdraw money from an ATM", + "Trouble using the card\u2022Problem with a check written from your prepaid card account", + "Trouble using the card\u2022Problem with direct deposit", + "Trouble using the card\u2022Trouble getting information about the card", + "Trouble using the card\u2022Trouble using the card to pay a bill", + "Trouble using the card\u2022Trouble using the card to send money to another person", + "Trouble using the card\u2022Trouble using the card to spend money in a store or online", + "Trouble using your card", + "Trouble using your card\u2022Account sold or transferred to another company", + "Trouble using your card\u2022Can't use card to make purchases", + "Trouble using your card\u2022Credit card company won't increase or decrease your credit limit", + "Unable to get your credit report or credit score", + "Unable to get your credit report or credit score\u2022Other problem getting your report or credit score", + "Unable to get your credit report or credit score\u2022Problem getting your free annual credit report", + "Unauthorized transactions or other transaction problem", + "Unauthorized withdrawals or charges", + "Unexpected fees", + "Unexpected or other fees", + "Vehicle was damaged or destroyed the vehicle", + "Vehicle was repossessed or sold the vehicle", + "Was approved for a loan, but didn't receive money", + "Was approved for a loan, but didn't receive the money", + "Written notification about debt", + "Written notification about debt\u2022Didn't receive enough information to verify debt", + "Written notification about debt\u2022Didn't receive notice of right to dispute", + "Written notification about debt\u2022Notification didn't disclose it was an attempt to collect a debt", + "Wrong amount charged or received" + ], + "name": "issue", + "type": "string" + }, + { + "default": "overview", + "description": "The data lens through which to view complaint trends over time.", + "x-ms-summary": "Lens", + "enum": [ + "overview", + "issue", + "product", + "tags" + ], + "x-ms-enum-values": [ + { + "displayName": "Overview", + "value": "overview" + }, + { + "displayName": "Issue", + "value": "issue" + }, + { + "displayName": "Product", + "value": "product" + }, + { + "displayName": "Tags", + "value": "tags" + } + ], + "in": "query", + "name": "lens", + "required": true, + "type": "string" + }, + { + "description": "Filter the results to only return these types of product and subproduct, i.e. product-only: Mortgage, subproduct needs to include product, separated by '\u2022', Mortgage\u2022FHA mortgage", + "x-ms-summary": "Products", + "in": "query", + "enum": [ + "Checking or savings account", + "Checking or savings account\u2022CD (Certificate of Deposit)", + "Checking or savings account\u2022Checking account", + "Checking or savings account\u2022Other banking product or service", + "Checking or savings account\u2022Savings account", + "Credit card", + "Credit card or prepaid card", + "Credit card or prepaid card\u2022General-purpose credit card or charge card", + "Credit card or prepaid card\u2022General-purpose prepaid card", + "Credit card or prepaid card\u2022Gift card", + "Credit card or prepaid card\u2022Government benefit card", + "Credit card or prepaid card\u2022Payroll card", + "Credit card or prepaid card\u2022Store credit card", + "Credit card or prepaid card\u2022Student prepaid card", + "Credit card\u2022General-purpose credit card or charge card", + "Credit card\u2022Store credit card", + "Credit reporting or other personal consumer reports", + "Credit reporting or other personal consumer reports\u2022Credit reporting", + "Credit reporting or other personal consumer reports\u2022Other personal consumer report", + "Credit reporting, credit repair services, or other personal consumer reports", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Credit repair services", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Credit reporting", + "Credit reporting, credit repair services, or other personal consumer reports\u2022Other personal consumer report", + "Debt collection", + "Debt collection\u2022Auto debt", + "Debt collection\u2022Credit card debt", + "Debt collection\u2022Federal student loan debt", + "Debt collection\u2022I do not know", + "Debt collection\u2022Medical debt", + "Debt collection\u2022Mortgage debt", + "Debt collection\u2022Other debt", + "Debt collection\u2022Payday loan debt", + "Debt collection\u2022Private student loan debt", + "Debt collection\u2022Rental debt", + "Debt collection\u2022Telecommunications debt", + "Debt or credit management", + "Debt or credit management\u2022Credit repair services", + "Debt or credit management\u2022Debt settlement", + "Debt or credit management\u2022Mortgage modification or foreclosure avoidance", + "Debt or credit management\u2022Student loan debt relief", + "Money transfer, virtual currency, or money service", + "Money transfer, virtual currency, or money service\u2022Check cashing service", + "Money transfer, virtual currency, or money service\u2022Debt settlement", + "Money transfer, virtual currency, or money service\u2022Domestic (US) money transfer", + "Money transfer, virtual currency, or money service\u2022Foreign currency exchange", + "Money transfer, virtual currency, or money service\u2022International money transfer", + "Money transfer, virtual currency, or money service\u2022Mobile or digital wallet", + "Money transfer, virtual currency, or money service\u2022Money order", + "Money transfer, virtual currency, or money service\u2022Money order, traveler's check or cashier's check", + "Money transfer, virtual currency, or money service\u2022Refund anticipation check", + "Money transfer, virtual currency, or money service\u2022Traveler's check or cashier's check", + "Money transfer, virtual currency, or money service\u2022Virtual currency", + "Mortgage", + "Mortgage\u2022Conventional home mortgage", + "Mortgage\u2022FHA mortgage", + "Mortgage\u2022Home equity loan or line of credit (HELOC)", + "Mortgage\u2022Manufactured home loan", + "Mortgage\u2022Other type of mortgage", + "Mortgage\u2022Reverse mortgage", + "Mortgage\u2022USDA mortgage", + "Mortgage\u2022VA mortgage", + "Payday loan, title loan, or personal loan", + "Payday loan, title loan, or personal loan\u2022Installment loan", + "Payday loan, title loan, or personal loan\u2022Pawn loan", + "Payday loan, title loan, or personal loan\u2022Payday loan", + "Payday loan, title loan, or personal loan\u2022Personal line of credit", + "Payday loan, title loan, or personal loan\u2022Title loan", + "Payday loan, title loan, personal loan, or advance loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Earned wage access", + "Payday loan, title loan, personal loan, or advance loan\u2022Installment loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Other advances of future income", + "Payday loan, title loan, personal loan, or advance loan\u2022Pawn loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Payday loan", + "Payday loan, title loan, personal loan, or advance loan\u2022Personal line of credit", + "Payday loan, title loan, personal loan, or advance loan\u2022Tax refund anticipation loan or check", + "Payday loan, title loan, personal loan, or advance loan\u2022Title loan", + "Prepaid card", + "Prepaid card\u2022General-purpose prepaid card", + "Prepaid card\u2022Gift card", + "Prepaid card\u2022Government benefit card", + "Prepaid card\u2022Payroll card", + "Prepaid card\u2022Student prepaid card", + "Student loan", + "Student loan\u2022Federal student loan servicing", + "Student loan\u2022Private student loan", + "Vehicle loan or lease", + "Vehicle loan or lease\u2022Lease", + "Vehicle loan or lease\u2022Loan", + "Vehicle loan or lease\u2022Title loan" + ], + "name": "product", + "type": "string" + }, + { + "description": "Filter the results to only return these states (use abbreviation, i.e. CA, VA)", + "x-ms-summary": "States", + "in": "query", + "name": "state", + "type": "string" + }, + { + "description": "Filter the results to only return these types of way consumers submitted their complaints", + "x-ms-summary": "Submission Methods", + "in": "query", + "enum": [ + "Web", + "Referral", + "Phone", + "Postal mail", + "Fax", + "Web Referral", + "Email" + ], + "name": "submitted_via", + "type": "string" + }, + { + "description": "The sub-lens through which to view complaint trends over time.", + "x-ms-summary": "Sub Lens", + "enum": [ + "issue", + "product", + "sub_product", + "sub_issue", + "tags" + ], + "x-ms-enum-values": [ + { + "displayName": "Issue", + "value": "issue" + }, + { + "displayName": "Sub Issue", + "value": "sub_issue" + }, + { + "displayName": "Product", + "value": "product" + }, + { + "displayName": "Sub Product", + "value": "sub_product" + }, + { + "displayName": "Tags", + "value": "tags" + } + ], + "in": "query", + "name": "sub_lens", + "type": "string" + }, + { + "default": 10, + "description": "The top X trend sub aggregations will be returned, where X is the supplied sub_lens_depth.", + "x-ms-summary": "Sub Lens Depth", + "format": "int64", + "in": "query", + "maximum": 10000000, + "minimum": 5, + "name": "sub_lens_depth", + "type": "integer" + }, + { + "description": "Filter the results to only return these types of tag", + "x-ms-summary": "Tags", + "in": "query", + "enum": [ + "Servicemember", + "Older American", + "Older American, Servicemember" + ], + "name": "tags", + "type": "string" + }, + { + "description": "Filter the results to show whether a response was timely", + "x-ms-summary": "Timely Response", + "in": "query", + "enum": [ + "Yes", + "No" + ], + "name": "timely", + "type": "string" + }, + { + "default": 10, + "description": "The top X trend aggregations will be returned, where X is the supplied trend_depth.", + "x-ms-summary": "Trend Depth", + "format": "int64", + "in": "query", + "maximum": 10000000, + "minimum": 5, + "name": "trend_depth", + "type": "integer" + }, + { + "description": "The interval of time to use for trends aggregations histograms. When using day intervals, we recommend querying for date_received_min / max periods of less than one year.", + "x-ms-summary": "Trend Interval", + "enum": [ + "year", + "quarter", + "month", + "week", + "day" + ], + "x-ms-enum-values": [ + { + "displayName": "Year", + "value": "year" + }, + { + "displayName": "Quarter", + "value": "quarter" + }, + { + "displayName": "Month", + "value": "month" + }, + { + "displayName": "Week", + "value": "week" + }, + { + "displayName": "Day", + "value": "day" + } + ], + "in": "query", + "name": "trend_interval", + "required": true, + "type": "string" + }, + { + "description": "Filter the results to only return these zip codes", + "x-ms-summary": "Zip Codes", + "in": "query", + "name": "zip_code", + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/TrendsResult" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "tags": [ + "Trends" + ], + "description": "Return specific aggregations for a search", + "summary": "List trends" + } + }, + "/{complaintId}": { + "get": { + "produces": [ + "application/json" + ], + "operationId": "GetComplaintById", + "parameters": [ + { + "description": "ID of the complaint", + "x-ms-summary": "Complaint ID", + "format": "int64", + "in": "path", + "maximum": 9999999999, + "minimum": 0, + "name": "complaintId", + "required": true, + "type": "integer", + "x-ms-url-encoding": "single" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Complaint" + } + }, + "400": { + "description": "Invalid ID supplied" + }, + "404": { + "description": "Complaint not found" + } + }, + "tags": [ + "Complaints" + ], + "description": "Get complaint details for a specific ID", + "summary": "Get consumer complaint by ID" + } + } + }, + "definitions": { + "Aggregation": { + "description": "An Elasticsearch aggregation", + "properties": { + "doc_count": { + "title": "Doc Count", + "description": "The total number of complaints covered in this aggregation", + "x-ms-summary": "Doc Count", + "type": "integer" + }, + "field": { + "title": "Field", + "description": "The name of the field being aggregated", + "x-ms-summary": "Field", + "properties": { + "buckets": { + "items": { + "$ref": "#/definitions/Bucket" + }, + "type": "array" + }, + "doc_count_error_upper_bound": { + "title": "Doc Count Error Upper Bound", + "description": "The number of possible errors that occurred when searching the shards", + "x-ms-summary": "Doc Count Error Upper Bound", + "type": "integer" + }, + "sum_other_doc_count": { + "title": "Sum Other Doc Count", + "description": "The number of complaints that were not included in this aggregation.", + "x-ms-summary": "Sum Other Doc Count", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "AggregationDate": { + "properties": { + "value": { + "title": "Value", + "description": "Seconds since 1970 (Unix Epoch)", + "x-ms-summary": "Value", + "type": "number" + }, + "value_as_string": { + "title": "Value As String", + "description": "ISO-8601 formatted date (yyyy-mm-ddTHH:MM:SSZZ)", + "x-ms-summary": "Value As String", + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, + "Bucket": { + "title": "Buckets", + "description": "Buckets", + "x-ms-summary": "Buckets", + "properties": { + "doc_count": { + "title": "Doc Count", + "description": "The number of complaints that match this key", + "x-ms-summary": "Doc Count", + "type": "integer" + }, + "key": { + "title": "Key", + "description": "Key", + "x-ms-summary": "Key", + "type": "string" + } + }, + "type": "object" + }, + "Complaint": { + "externalDocs": { + "description": "Official documentation", + "url": "https://cfpb.github.io/api/ccdb/fields.html" + }, + "properties": { + "tags": { + "title": "Tags", + "description": "Data that supports easier searching and sorting of complaints", + "x-ms-summary": "Tags", + "type": "string" + }, + "company": { + "title": "Company", + "description": "The complaint is about this company", + "x-ms-summary": "Company", + "type": "string" + }, + "company_public_response": { + "title": "Company Public Response", + "description": "The company's optional, public-facing response to a consumer's complaint", + "x-ms-summary": "Company Public Response", + "type": "string" + }, + "company_response": { + "title": "Company Response", + "description": "The response from the company about this complaint", + "x-ms-summary": "Company Response", + "type": "string" + }, + "complaint_id": { + "title": "Complaint ID", + "description": "The unique identification number for a complaint", + "x-ms-summary": "Complaint ID", + "type": "string" + }, + "complaint_what_happened": { + "title": "Complaint What Happened", + "description": "A description of the complaint provided by the consumer", + "x-ms-summary": "Complaint What Happened", + "type": "string" + }, + "consumer_consent_provided": { + "title": "Consumer Consent Provided", + "description": "Identifies whether the consumer opted in to publish their complaint narrative", + "x-ms-summary": "Consumer Consent Provided", + "type": "string" + }, + "consumer_disputed": { + "title": "Consumer Disputed", + "description": "Whether the consumer disputed the company's response", + "x-ms-summary": "Consumer Disputed", + "type": "string" + }, + "date_received": { + "title": "Date Received", + "description": "The date the CFPB received the complaint", + "x-ms-summary": "Date Received", + "format": "date", + "type": "string" + }, + "date_sent_to_company": { + "title": "Date Sent To Company", + "description": "The date the CFPB sent the complaint to the company", + "x-ms-summary": "Date Sent To Company", + "type": "string" + }, + "has_narrative": { + "title": "Has Narrative", + "description": "Indicates this complaint has a narrative", + "x-ms-summary": "Has Narrative", + "type": "boolean" + }, + "issue": { + "title": "Issue", + "description": "The issue the consumer identified in the complaint", + "x-ms-summary": "Issue", + "type": "string" + }, + "product": { + "title": "Product", + "description": "The type of product the consumer identified in the complaint", + "x-ms-summary": "Product", + "type": "string" + }, + "state": { + "title": "State", + "description": "The state of the mailing address provided by the consumer", + "x-ms-summary": "State", + "type": "string" + }, + "sub_issue": { + "title": "Sub Issue", + "description": "The sub-issue the consumer identified in the complaint", + "x-ms-summary": "Sub Issue", + "type": "string" + }, + "sub_product": { + "title": "Sub Product", + "description": "The type of sub-product the consumer identified in the complaint", + "x-ms-summary": "Sub Product", + "type": "string" + }, + "submitted_via": { + "title": "Submitted Via", + "description": "How the complaint was submitted to the CFPB", + "x-ms-summary": "Submitted Via", + "type": "string" + }, + "timely": { + "title": "Timely", + "description": "Indicates whether the company gave a timely response or not", + "x-ms-summary": "Timely", + "type": "string" + }, + "zip_code": { + "title": "Zip Code", + "description": "The mailing ZIP code provided by the consumer", + "x-ms-summary": "Zip Code", + "type": "string" + } + }, + "type": "object" + }, + "Hit": { + "description": "A single Elasticsearch result", + "properties": { + "_source": { + "$ref": "#/definitions/Complaint" + } + }, + "type": "object" + }, + "Hits": { + "description": "A set of complaints that matched the query", + "properties": { + "hits": { + "title": "Hits", + "description": "Array of Hit", + "x-ms-summary": "Hits", + "items": { + "$ref": "#/definitions/Hit" + }, + "type": "array" + }, + "max_score": { + "title": "Max Score", + "description": "The highest score in the results", + "x-ms-summary": "Max Score", + "format": "float", + "type": "number" + }, + "total": { + "title": "Total", + "description": "Total", + "x-ms-summary": "Total", + "properties": { + "relation": { + "title": "Relation", + "description": "Indicates the accuracy of the default ES response, whether the value is accurate (eq) or a lower bound (gte)", + "x-ms-summary": "Relation", + "type": "string" + }, + "value": { + "title": "Value", + "description": "The count of matching hits, accurate in our code even above 10,000 hits", + "x-ms-summary": "Value", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "Meta": { + "properties": { + "has_data_issue": { + "title": "Has Data Issue", + "description": "Indicates there has been an issue with the most recent data load", + "x-ms-summary": "Has Data Issue", + "type": "boolean" + }, + "is_data_stale": { + "title": "Is Data Stale", + "description": "Indicates the most recent data is over 5 business days old", + "x-ms-summary": "Is Data Stale", + "type": "boolean" + }, + "is_narrative_stale": { + "title": "Is Narrative Stale", + "description": "Indicates the most recent narratives are over 5 business days old", + "x-ms-summary": "Is Narrative Stale", + "type": "boolean" + }, + "last_indexed": { + "title": "Last Indexed", + "description": "The timestamp of the most recently indexed complaint", + "x-ms-summary": "Last Indexed", + "format": "date-time", + "type": "string" + }, + "last_updated": { + "title": "Last Updated", + "description": "The timestamp of the most recent complaint", + "x-ms-summary": "Last Updated", + "format": "date-time", + "type": "string" + }, + "license": { + "title": "License", + "description": "The open source license under which the API operates", + "x-ms-summary": "License", + "type": "string" + }, + "total_record_count": { + "title": "Total Record Count", + "description": "The total number of complaints currently indexed", + "x-ms-summary": "Total Record Count", + "type": "integer" + } + }, + "type": "object" + }, + "MultiLevelAggregation": { + "properties": { + "doc_count": { + "title": "Doc Count", + "description": "The total number of complaints covered in this aggregation", + "x-ms-summary": "Doc Count", + "type": "integer" + }, + "field": { + "title": "Field", + "description": "The name of the field being aggregated", + "x-ms-summary": "Field", + "properties": { + "buckets": { + "title": "Buckets", + "description": "Buckets", + "x-ms-summary": "Buckets", + "items": { + "$ref": "#/definitions/MultiLevelBucket" + }, + "type": "array" + }, + "doc_count_error_upper_bound": { + "title": "Doc Count Error Upper Bound", + "description": "The number of possible errors that occurred when searching the shards", + "x-ms-summary": "Doc Count Error Upper Bound", + "type": "integer" + }, + "sum_other_doc_count": { + "title": "Sum Other Doc Count", + "description": "The number of complaints that were not included in this aggregation.", + "x-ms-summary": "Sum Other Doc Count", + "type": "integer" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "MultiLevelBucket": { + "properties": { + "doc_count": { + "title": "Doc Count", + "description": "The number of complaints that match this key", + "x-ms-summary": "Doc Count", + "type": "integer" + }, + "field.raw": { + "title": "Field Raw", + "description": "The next level of aggregations", + "x-ms-summary": "Field Raw", + "properties": { + "buckets": { + "title": "Buckets", + "description": "Buckets", + "x-ms-summary": "Buckets", + "items": { + "$ref": "#/definitions/Aggregation" + }, + "type": "array" + } + }, + "type": "object" + }, + "key": { + "title": "Key", + "description": "Key", + "x-ms-summary": "Key", + "type": "string" + } + }, + "type": "object" + }, + "SearchResult": { + "properties": { + "_meta": { + "$ref": "#/definitions/Meta" + }, + "aggregations": { + "title": "Aggregations", + "description": "Aggregations", + "x-ms-summary": "Aggregations", + "properties": { + "tags": { + "$ref": "#/definitions/Aggregation" + }, + "company_public_response": { + "$ref": "#/definitions/Aggregation" + }, + "company_response": { + "$ref": "#/definitions/Aggregation" + }, + "consumer_consent_provided": { + "$ref": "#/definitions/Aggregation" + }, + "consumer_disputed": { + "$ref": "#/definitions/Aggregation" + }, + "has_narrative": { + "$ref": "#/definitions/Aggregation" + }, + "issue": { + "$ref": "#/definitions/MultiLevelAggregation" + }, + "product": { + "$ref": "#/definitions/MultiLevelAggregation" + }, + "state": { + "$ref": "#/definitions/Aggregation" + }, + "submitted_via": { + "$ref": "#/definitions/Aggregation" + }, + "timely": { + "$ref": "#/definitions/Aggregation" + }, + "zip_code": { + "$ref": "#/definitions/Aggregation" + } + }, + "type": "object" + }, + "hits": { + "$ref": "#/definitions/Hits" + } + }, + "type": "object" + }, + "StatesResult": { + "properties": { + "aggregations": { + "title": "Aggregations", + "description": "Aggregations", + "x-ms-summary": "Aggregations", + "properties": { + "issue": { + "$ref": "#/definitions/MultiLevelAggregation" + }, + "product": { + "$ref": "#/definitions/MultiLevelAggregation" + }, + "state": { + "$ref": "#/definitions/MultiLevelAggregation" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "SuggestResult": { + "title": "Suggest Result", + "description": "Array of suggestions", + "x-ms-summary": "Suggest Result", + "items": { + "title": "Suggestion", + "description": "Suggestion", + "x-ms-summary": "Suggestion", + "type": "string" + }, + "type": "array" + }, + "TrendsResult": { + "properties": { + "aggregations": { + "title": "Aggregations", + "description": "Aggregations", + "x-ms-summary": "Aggregations", + "properties": { + "tags": { + "$ref": "#/definitions/MultiLevelAggregation" + }, + "company": { + "$ref": "#/definitions/MultiLevelAggregation" + }, + "issue": { + "$ref": "#/definitions/MultiLevelAggregation" + }, + "product": { + "$ref": "#/definitions/MultiLevelAggregation" + }, + "sub_issue": { + "$ref": "#/definitions/MultiLevelAggregation" + }, + "sub_product": { + "$ref": "#/definitions/MultiLevelAggregation" + } + }, + "type": "object" + } + }, + "type": "object" + } + }, + "parameters": {}, + "responses": {}, + "securityDefinitions": {}, + "security": [], + "tags": [ + { + "description": "These endpoints provide access to consumer complaints", + "name": "Complaints" + }, + { + "description": "These endpoints provide access aggregated consumer complaint data", + "name": "Trends" + } + ], + "externalDocs": { + "description": "Additional API Information", + "url": "https://cfpb.github.io/api/ccdb/" + }, + "x-ms-connector-metadata": [ + { + "propertyName": "Website", + "propertyValue": "https://cfpb.github.io/api/ccdb/" + }, + { + "propertyName": "Privacy policy", + "propertyValue": "https://www.consumerfinance.gov/privacy/" + }, + { + "propertyName": "Categories", + "propertyValue": "Commerce;Finance" + } + ] +} \ No newline at end of file diff --git a/independent-publisher-connectors/Consumer Complaints/apiProperties.json b/independent-publisher-connectors/Consumer Complaints/apiProperties.json new file mode 100644 index 000000000..fdceabd5d --- /dev/null +++ b/independent-publisher-connectors/Consumer Complaints/apiProperties.json @@ -0,0 +1,11 @@ +{ + "properties": { + "connectionParameters": {}, + "iconBrandColor": "#da3b01", + "capabilities": [], + "scriptOperations": [], + "policyTemplateInstances": [], + "publisher": "Richard Wilson", + "stackOwner": "Consumer Financial Protection Bureau" + } +} \ No newline at end of file diff --git a/independent-publisher-connectors/Consumer Complaints/script.csx b/independent-publisher-connectors/Consumer Complaints/script.csx new file mode 100644 index 000000000..8b0189205 --- /dev/null +++ b/independent-publisher-connectors/Consumer Complaints/script.csx @@ -0,0 +1,49 @@ +public class Script : ScriptBase +{ + // Define a mapping of operation IDs to their respective query parameters requiring special handling + private readonly Dictionary specialHandlingMap = new Dictionary + { + { "SearchConsumerComplaints", new[] { "company", "company_public_response", "company_response", "consumer_consent_provided", "consumer_disputed", "has_narrative", "issue", "product", "state", "submitted_via", "tags", "timely", "zip_code" } }, + { "SuggestCompanies", new[] { "company_public_response", "company_response", "consumer_consent_provided", "consumer_disputed", "has_narrative", "issue", "product", "state", "submitted_via", "tags", "timely", "zip_code" } }, + { "SuggestZipCodes", new[] { "company_public_response", "company_response", "consumer_consent_provided", "consumer_disputed", "has_narrative", "issue", "product", "state", "submitted_via", "tags", "timely", "zip_code" } }, + { "ListStateComplaints", new[] { "company", "company_public_response", "company_response", "consumer_consent_provided", "consumer_disputed", "has_narrative", "issue", "product", "state", "submitted_via", "tags", "timely", "zip_code" } }, + { "ListComplaintTrends", new[] { "company", "company_public_response", "company_response", "consumer_consent_provided", "consumer_disputed", "focus", "has_narrative", "issue", "product", "state", "submitted_via", "tags", "timely", "zip_code" } } + }; + + public override async Task ExecuteAsync() + { + // Extract the operationId from the context + var operationId = this.Context.OperationId; + + // Check if the operationId requires special handling and get the corresponding query parameters + if (specialHandlingMap.TryGetValue(operationId, out var queryParamNames)) + { + // Manipulate the request query string for specific parameters + var query = HttpUtility.ParseQueryString(this.Context.Request.RequestUri.Query); + foreach (var paramName in queryParamNames) + { + if (query.AllKeys.Contains(paramName)) + { + var values = query[paramName].Split(',').Select(value => value.Trim()).ToArray(); + // Remove the original comma-separated query parameter + query.Remove(paramName); + // Add each value as a separate query parameter + foreach (var value in values) + { + query.Add(paramName, value); + } + } + } + + // Update the request URI with the new query string + var uriBuilder = new UriBuilder(this.Context.Request.RequestUri) + { + Query = query.ToString() + }; + this.Context.Request.RequestUri = uriBuilder.Uri; + } + + // Forward the potentially modified request + return await this.Context.SendAsync(this.Context.Request, this.CancellationToken).ConfigureAwait(false); + } +} \ No newline at end of file