# Get User

<mark style="color:blue;">`GET`</mark> /v3/users/me

## Request

The details below help you form your HTTP requests to this endpoint.

### Headers

You may need to provide specific headers.

<table><thead><tr><th>Name</th><th>Type</th><th data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td>customer-token</td><td>string</td><td>true</td><td>Customer's authentication token</td></tr><tr><td>x-version-override</td><td>string</td><td>false</td><td>N/A</td></tr></tbody></table>

## Response

The details below help you understand the responses you could get from this endpoint.

### Samples

Below are samples of responses, with tabs corresponding to returned status code.

{% tabs %}
{% tab title="200" %}

```javascript
{
    "data": {
        "userId": "1234-asdf-4321-fdsa",
        "firstName": "John",
        "lastName": "Doe",
        "email": "Doe",
        "createdAt": "2018-03-19T15:51:27.080Z",
        "transactions": [
            {
                "id": "asdf-1234-fdsa-4321",
                "createdAt": "2018-12-21",
                "lease": {
                    "id": "eyJhbGcfasdvczOiJIUzI1NiIsInR5cCI6IkpXVC...",
                    "status": "signed"
                }
            }
        ],
        "decision": {
            "applicationId": "d363955e-3110-11e8-a373-5e7783c1a76e",
            "prequalId": "5a319511a86980001d602095",
            "approved": true,
            "status": "approved",
            "spendingLimit": 1300,
            "availableBalance": 1200,
            "availableWeeklySpending": 120,
            "createdAt": "2018-03-19T15:51:27.080Z",
            "waterfallSuppressionFlags": {
                "suppressWaterfallToUOwn": false
            },
            "vantageHighScore": true,
            "funnel": "tireagent"
        },
        "verificationStatus": "succeeded",
        "dateOfBirth": "1990-10-10",
        "spendingHold": false
    }
}
```

{% endtab %}

{% tab title="400" %}

```javascript
{
    "error": {
        "statusCode": 400,
        "code": "UserAlreadyExists",
        "message": "User already exists with email ex@example.com",
        "data": {}
    }
}
```

{% endtab %}
{% endtabs %}

### Schema

The response's schema is outlined below.

<table><thead><tr><th>Name</th><th>Type</th><th data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td>data</td><td>object</td><td>false</td><td>N/A</td></tr><tr><td>data.userId</td><td>string</td><td>true</td><td>User Id</td></tr><tr><td>data.firstName</td><td>string</td><td>true</td><td>User's first name</td></tr><tr><td>data.lastName</td><td>string</td><td>true</td><td>User's last name</td></tr><tr><td>data.email</td><td>string</td><td>true</td><td>User's last name</td></tr><tr><td>data.createdAt</td><td>string</td><td>true</td><td>User's creation date</td></tr><tr><td>data.transactions</td><td>array</td><td>false</td><td>N/A</td></tr><tr><td>data.transactions[].id</td><td>string</td><td>true</td><td>Transaction Id</td></tr><tr><td>data.transactions[].createdAt</td><td>string</td><td>true</td><td>Transaction's creation date</td></tr><tr><td>data.transactions[].lease</td><td>object</td><td>false</td><td>N/A</td></tr><tr><td>data.transactions[].lease.id</td><td>string</td><td>true</td><td>lease identifier</td></tr><tr><td>data.transactions[].lease.status</td><td>string</td><td>true</td><td>N/A</td></tr><tr><td>data.decision</td><td>object</td><td>true</td><td>N/A</td></tr><tr><td>data.decision.applicationId</td><td>string</td><td>true</td><td>Application Id</td></tr><tr><td>data.decision.prequalId</td><td>string</td><td>false</td><td>prequalification ID</td></tr><tr><td>data.decision.approved</td><td>boolean</td><td>true</td><td>Determines if the customer was approved or not(To be deprecated)</td></tr><tr><td>data.decision.status</td><td>string</td><td>true</td><td>Determines the customer application status. Possible values: approved, pending, failed</td></tr><tr><td>data.decision.spendingLimit</td><td>number</td><td>true</td><td>The spending limit approved</td></tr><tr><td>data.decision.availableBalance</td><td>number</td><td>false</td><td>Available balance to spend</td></tr><tr><td>data.decision.availableWeeklySpending</td><td>number</td><td>false</td><td>The available amount to spend in a weekly basis</td></tr><tr><td>data.decision.createdAt</td><td>string</td><td>true</td><td>Decision's creation date</td></tr><tr><td>data.decision.waterfallSuppressionFlags</td><td>object</td><td>false</td><td>N/A</td></tr><tr><td>data.decision.waterfallSuppressionFlags.suppressWaterfallToUOwn</td><td>boolean</td><td>false</td><td>Determines if uown needs to be skipped)</td></tr><tr><td>data.decision.vantageHighScore</td><td>boolean</td><td>false</td><td>N/A</td></tr><tr><td>data.decision.funnel</td><td>string</td><td>false</td><td>N/A</td></tr><tr><td>data.verificationStatus</td><td>string</td><td>true</td><td>Verification status the possible status are: pending, failed, succeeded</td></tr><tr><td>data.dateOfBirth</td><td>string</td><td>true</td><td>User's date of birth</td></tr><tr><td>data.spendingHold</td><td>boolean</td><td>true</td><td>Determines if the customer spending was hold or not</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.flexshopper.com/medusa/customer/get-user-info.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
