> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# User Transitions

> Use this endpoint to manage and view state transitions for your cardholders.

export const EndpointCard = ({method = "API", title, children, href, arrow = true}) => {
  const METHOD_STYLES = {
    GET: {
      bg: "mint-bg-green-400/20 dark:mint-bg-green-400/20",
      text: "mint-text-green-700 dark:mint-text-green-400",
      border: "mint-border-green-300 dark:mint-border-green-700"
    },
    POST: {
      bg: "mint-bg-blue-400/20 dark:mint-bg-blue-400/20",
      text: "mint-text-blue-700 dark:mint-text-blue-400"
    },
    PUT: {
      bg: "mint-bg-yellow-400/20 dark:mint-bg-yellow-400/20",
      text: "mint-text-yellow-700 dark:mint-text-yellow-400"
    },
    PATCH: {
      bg: "mint-bg-orange-400/20 dark:mint-bg-orange-400/20",
      text: "mint-text-orange-700 dark:mint-text-orange-400"
    },
    DELETE: {
      bg: "mint-bg-red-400/20 dark:mint-bg-red-400/20",
      text: "mint-text-red-700 dark:mint-text-red-400"
    },
    API: {
      bg: "mint-bg-black",
      text: "mint-text-white"
    }
  };
  const MethodBadge = ({method}) => {
    const style = METHOD_STYLES[method?.toUpperCase()] ?? METHOD_STYLES.GET;
    return <span className={`
          method-pill rounded-lg font-semibold px-1.5 py-0.5 text-xs leading-5 ${style.bg} ${style.text}`}>
        {method?.toUpperCase()}
      </span>;
  };
  const content = <div className="group flex items-center gap-4 border border-gray-200 dark:border-gray-700 rounded-xl p-5 hover:border-gray-400 dark:hover:border-gray-500 hover:shadow-md transition-all cursor-pointer">
      {}
      <div className="shrink-0">
        <MethodBadge method={method} />
      </div>
      {}
      <div className="flex-1 min-w-0">
        <p className="font-semibold text-gray-900 dark:text-white text-sm leading-snug">{title}</p>
        {children && <p className="mt-1 text-sm text-gray-500 dark:text-gray-400 line-clamp-2">{children}</p>}
      </div>
    </div>;
  if (!href) return content;
  return <a href={href} className="block no-underline border-b-0 mb-2">
      {content}
    </a>;
};

Use the `/usertransitions` endpoints to transition user resources between statuses, as well as to retrieve and list status changes for a user resource.

<h2 id="post_usertransitions">
  Create user transition
</h2>

**Action:** `POST`\
**Endpoint:** `/usertransitions`

{/* <EndpointCard
title="Creates a user transition"
path="/usertransitions"
method="post"
/> */}

This endpoint enables you to change a user’s status, depending on your role and the previous status change. By changing a user’s status, you can control the user’s capabilities and the setting of the `user.active` field. Do not set the value of the `user.active` field directly.

| The user.status Field | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | User Limitations                                                                                             |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `UNVERIFIED`          | Initial status of a new user belonging to an account holder group where KYC is always required.<br /><br />**Allowable Transitions:**<br />`ACTIVE`, `CLOSED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                    | Cannot activate cards or load funds.<br /><br />**user.active Field:**<br />`false`                          |
| `LIMITED`             | Initial status of a new user belonging to an account holder group where KYC is conditionally required.<br /><br />**Allowable Transitions:**<br />`ACTIVE`, `SUSPENDED`, `CLOSED`                                                                                                                                                                                                                                                                                                                                                                                              | Restricted by rules in `accountholdergroups.pre_kyc_controls`.<br /><br />**user.active Field:**<br />`true` |
| `ACTIVE`              | Status of a user who has passed KYC, or initial status of a new user belonging to an account holder group where KYC is never required.<br /><br />**Allowable Transitions:**<br />`SUSPENDED`, `CLOSED`, `UNVERIFIED`                                                                                                                                                                                                                                                                                                                                                          | None.<br /><br />**user.active Field:**<br />`true`                                                          |
| `SUSPENDED`           | The user is temporarily inactive.<br /><br />Transitioning a suspended user to the `ACTIVE` status is restricted, based on your role and the details of the previous status change.<br /><br />**Allowable Transitions:**<br />`ACTIVE`, `LIMITED`, `UNVERIFIED`, `CLOSED`, `TERMINATED`                                                                                                                                                                                                                                                                                       | Cannot activate cards, load funds, or transact.<br /><br />**user.active Field:**<br />`false`               |
| `CLOSED`              | The user is permanently inactive.<br /><br />In general, the `CLOSED` status should be terminal. For exceptional cases, you can transition a user to other statuses, depending on your role and the details of the previous status change. Contact your Marqeta representative for more information.<br /><br />**Allowable Transitions:**<br />`ACTIVE`, `LIMITED`, `UNVERIFIED`, `SUSPENDED`, `TERMINATED`                                                                                                                                                                   | Cannot activate cards, load funds, or transact.<br /><br />**user.active Field:**<br />`false`               |
| `TERMINATED`          | The user account is permanently closed. Use the `TERMINATED` state to comply with regulatory requirements, such as the requirement that a user account be irreversibly closed when it does not pass Know Your Customer (KYC) verification.<br /><br />**NOTE:**`TERMINATED` is a terminal status. You must have the Admin or Program Manager role to transition a user to the `TERMINATED` state. You cannot transition a user from `TERMINATED` to any other state. Contact your Marqeta representative for more information.<br /><br />**Allowable Transitions:**<br />None | Cannot load funds, activate cards, or transact.<br /><br />**The user.active field:**<br />`false`           |

<Note>
  **Note**\
  The Marqeta platform transitions a user’s status in response to certain events. For example, a user in the `UNVERIFIED` status is transitioned to `ACTIVE` when the user passes KYC verification.
</Note>

<h3 id="_request_body">
  Request body
</h3>

| Fields                                               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| channel<br /><br />string<br /><br />Required        | Mechanism by which the transaction was initiated.<br /><br />**Allowable Values:**<br /><br />`API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| idempotentHash<br /><br />string<br /><br />Optional | Unique hashed value that identifies subsequent submissions of the user transition request.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| reason<br /><br />string<br /><br />Optional         | Additional information about the status change.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| reason\_code<br /><br />string<br /><br />Required   | Identifies the standardized reason for the transition:<br /><br />**00:** Object activated for the first time.<br /><br />**01:** Requested by you.<br /><br />**02:** Inactivity over time.<br /><br />**03:** This address cannot accept mail or the addressee is unknown.<br /><br />**04:** Negative account balance.<br /><br />**05:** Account under review.<br /><br />**06:** Suspicious activity was identified.<br /><br />**07:** Activity outside the program parameters was identified.<br /><br />**08:** Confirmed fraud was identified.<br /><br />**09:** Matched with an Office of Foreign Assets Control list.<br /><br />**10:** Card was reported lost.<br /><br />**11:** Card information was cloned.<br /><br />**12:** Account or card information was compromised.<br /><br />**13:** Temporary status change while on hold/leave.<br /><br />**14:** Initiated by Marqeta.<br /><br />**15:** Initiated by issuer.<br /><br />**16:** Card expired.<br /><br />**17:** Failed KYC.<br /><br />**18:** Changed to `ACTIVE` because information was properly validated.<br /><br />**19:** Changed to `ACTIVE` because account activity was properly validated.<br /><br />**20:** Change occurred prior to the normalization of reason codes.<br /><br />**21:** Initiated by a third party, often a digital wallet provider.<br /><br />**22:** PIN retry limit reached.<br /><br />**23:** Card was reported stolen.<br /><br />**24:** Address issue.<br /><br />**25:** Name issue.<br /><br />**26:** SSN issue.<br /><br />**27:** DOB issue.<br /><br />**28:** Email issue.<br /><br />**29:** Phone issue.<br /><br />**30:** Account/fulfillment mismatch.<br /><br />**31:** Other reason.<br /><br />**86:** Notification of death.<br /><br />**Allowable Values:**<br /><br />`00`, `01`, `02`, `03`, `04`, `05`, `06`, `07`, `08`, `09`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `86` |
| status<br /><br />string<br /><br />Required         | Specifies the new status of the user.<br /><br />**Allowable Values:**<br /><br />`UNVERIFIED`, `LIMITED`, `ACTIVE`, `SUSPENDED`, `CLOSED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| token<br /><br />string<br /><br />Optional          | Unique identifier of the user transition.<br /><br />If you do not include a token, the system generates one automatically. This token is referenced in other API calls, so we recommend that you define a simple string that is easy to remember. This value cannot be updated.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| user\_token<br /><br />string<br /><br />Required    | Unique identifier of the user whose status you want to transition.<br /><br />**Allowable Values:**<br /><br />Existing user token.<br /><br />Send a `GET` request to the `/users` endpoint to obtain a user token.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

<h3 id="_sample_request_body">
  Sample request body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "activate_05",
  "user_token": "my_user_01",
  "status": "ACTIVE",
  "reason_code": "00",
  "reason": "Activating user",
  "channel": "API"
}
```

<h3 id="_response_body">
  Response body
</h3>

| Fields                                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| channel<br /><br />string<br /><br />Returned                              | Mechanism by which the transaction was initiated.<br /><br />**Allowable Values:**<br /><br />`API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| created\_time<br /><br />datetime<br /><br />Conditionally returned        | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| created\_timestamp<br /><br />datetime<br /><br />Conditionally returned   | Date and time when the resource was created. Expressed in UTC, with millisecond precision.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ss:SSSZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| last\_modified\_time<br /><br />datetime<br /><br />Conditionally returned | Date and time when the resource was last modified, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| reason<br /><br />string<br /><br />Conditionally returned                 | Additional information about the status change.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| reason\_code<br /><br />string<br /><br />Returned                         | Identifies the standardized reason for the transition:<br /><br />**00:** Object activated for the first time.<br /><br />**01:** Requested by you.<br /><br />**02:** Inactivity over time.<br /><br />**03:** This address cannot accept mail or the addressee is unknown.<br /><br />**04:** Negative account balance.<br /><br />**05:** Account under review.<br /><br />**06:** Suspicious activity was identified.<br /><br />**07:** Activity outside the program parameters was identified.<br /><br />**08:** Confirmed fraud was identified.<br /><br />**09:** Matched with an Office of Foreign Assets Control list.<br /><br />**10:** Card was reported lost.<br /><br />**11:** Card information was cloned.<br /><br />**12:** Account or card information was compromised.<br /><br />**13:** Temporary status change while on hold/leave.<br /><br />**14:** Initiated by Marqeta.<br /><br />**15:** Initiated by issuer.<br /><br />**16:** Card expired.<br /><br />**17:** Failed KYC.<br /><br />**18:** Changed to `ACTIVE` because information was properly validated.<br /><br />**19:** Changed to `ACTIVE` because account activity was properly validated.<br /><br />**20:** Change occurred prior to the normalization of reason codes.<br /><br />**21:** Initiated by a third party, often a digital wallet provider.<br /><br />**22:** PIN retry limit reached.<br /><br />**23:** Card was reported stolen.<br /><br />**24:** Address issue.<br /><br />**25:** Name issue.<br /><br />**26:** SSN issue.<br /><br />**27:** DOB issue.<br /><br />**28:** Email issue.<br /><br />**29:** Phone issue.<br /><br />**30:** Account/fulfillment mismatch.<br /><br />**31:** Other reason.<br /><br />**86:** Notification of death.<br /><br />**Allowable Values:**<br /><br />`00`, `01`, `02`, `03`, `04`, `05`, `06`, `07`, `08`, `09`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `86` |
| status<br /><br />string<br /><br />Returned                               | Specifies the new status of the user.<br /><br />**Allowable Values:**<br /><br />`UNVERIFIED`, `LIMITED`, `ACTIVE`, `SUSPENDED`, `CLOSED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| token<br /><br />string<br /><br />Returned                                | Unique identifier of the user transition.<br /><br />**Allowable Values:**<br /><br />Existing user transition token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| user\_token<br /><br />string<br /><br />Conditionally returned            | Unique identifier of the user whose status was transitioned.<br /><br />**Allowable Values:**<br /><br />Existing user token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| metadata<br /><br />object<br /><br />Conditionally returned               | Associates customer-injected metadata with the user. Returned if part of the call to `POST /users`.<br /><br />**Allowable Values:**<br /><br />The names and values of up to 20 fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |

<h3 id="_sample_response_body">
  Sample response body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "activate_05",
  "user_token": "my_user_01",
  "status": "ACTIVE",
  "reason_code": "00",
  "reason": "Activating user",
  "channel": "API",
  "created_time": "2025-03-15T00:00:00Z",
  "metadata": {
    "my_name_1": "my_value_1",
    "my_name_2": "my_value_2"
  }
}
```

<h2 id="get_usertransitions_user_usertoken">
  List transitions for user
</h2>

**Action:** `GET`\
**Endpoint:** `/usertransitions/user/{user_token}`

{/* <EndpointCard
title="Returns transitions for a specific user"
path="/usertransitions/user/{user\_token}"
method="get"
/> */}

List all transitions for a given user.

<h3 id="_url_path_parameters">
  URL path parameters
</h3>

| Fields                                            | Description                                                                                                      |
| ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| user\_token<br /><br />string<br /><br />Required | Unique identifier of the user resource.<br /><br />**Allowable Values:**<br /><br />Existing user resource token |

<h3 id="_url_query_parameters">
  URL query parameters
</h3>

| Fields                                              | Description                                                                                                                                                                                                                                                                                                                                                                                                 |
| --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Optional        | Number of user transitions to retrieve.<br /><br />**Allowable Values:**<br /><br />1-10<br /><br />**Default value:**<br />5                                                                                                                                                                                                                                                                               |
| start\_index<br /><br />integer<br /><br />Optional | Sort order index of the first resource in the returned array.<br /><br />**Allowable Values:**<br /><br />Any integer<br /><br />**Default value:**<br />0                                                                                                                                                                                                                                                  |
| fields<br /><br />string<br /><br />Optional        | Comma-delimited list of fields to return (`field_1,field_2`, and so on). Leave blank to return all fields.<br /><br />**Allowable Values:**<br /><br />Comma-delimited list of fields, or blank                                                                                                                                                                                                             |
| sort\_by<br /><br />string<br /><br />Optional      | Field on which to sort. Use any field in the resource model, or one of the system fields `lastModifiedTime` or `createdTime`. Prefix the field name with a hyphen (`-`) to sort in descending order. Omit the hyphen to sort in ascending order.<br /><br />**Allowable Values:**<br /><br />`createdTime`, `lastModifiedTime`, or any field in the resource model<br /><br />**Default value:**<br />`-id` |

<h3 id="_response_body_2">
  Response body
</h3>

| Fields                                                                                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Conditionally returned                             | Number of resources retrieved.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />1-10                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data<br /><br />array of objects<br /><br />Conditionally returned                     | Array of user transition resources.<br /><br />Resources are returned as appropriate to your query.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more user transition resources                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].**channel**<br /><br />string<br /><br />Returned                              | Mechanism by which the transaction was initiated.<br /><br />**Allowable Values:**<br /><br />`API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].**created\_time**<br /><br />datetime<br /><br />Conditionally returned        | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].**created\_timestamp**<br /><br />datetime<br /><br />Conditionally returned   | Date and time when the resource was created. Expressed in UTC, with millisecond precision.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ss:SSSZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].**last\_modified\_time**<br /><br />datetime<br /><br />Conditionally returned | Date and time when the resource was last modified, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].**reason**<br /><br />string<br /><br />Conditionally returned                 | Additional information about the status change.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**reason\_code**<br /><br />string<br /><br />Returned                         | Identifies the standardized reason for the transition:<br /><br />**00:** Object activated for the first time.<br /><br />**01:** Requested by you.<br /><br />**02:** Inactivity over time.<br /><br />**03:** This address cannot accept mail or the addressee is unknown.<br /><br />**04:** Negative account balance.<br /><br />**05:** Account under review.<br /><br />**06:** Suspicious activity was identified.<br /><br />**07:** Activity outside the program parameters was identified.<br /><br />**08:** Confirmed fraud was identified.<br /><br />**09:** Matched with an Office of Foreign Assets Control list.<br /><br />**10:** Card was reported lost.<br /><br />**11:** Card information was cloned.<br /><br />**12:** Account or card information was compromised.<br /><br />**13:** Temporary status change while on hold/leave.<br /><br />**14:** Initiated by Marqeta.<br /><br />**15:** Initiated by issuer.<br /><br />**16:** Card expired.<br /><br />**17:** Failed KYC.<br /><br />**18:** Changed to `ACTIVE` because information was properly validated.<br /><br />**19:** Changed to `ACTIVE` because account activity was properly validated.<br /><br />**20:** Change occurred prior to the normalization of reason codes.<br /><br />**21:** Initiated by a third party, often a digital wallet provider.<br /><br />**22:** PIN retry limit reached.<br /><br />**23:** Card was reported stolen.<br /><br />**24:** Address issue.<br /><br />**25:** Name issue.<br /><br />**26:** SSN issue.<br /><br />**27:** DOB issue.<br /><br />**28:** Email issue.<br /><br />**29:** Phone issue.<br /><br />**30:** Account/fulfillment mismatch.<br /><br />**31:** Other reason.<br /><br />**86:** Notification of death.<br /><br />**Allowable Values:**<br /><br />`00`, `01`, `02`, `03`, `04`, `05`, `06`, `07`, `08`, `09`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `86` |
| data\[].**status**<br /><br />string<br /><br />Returned                               | Specifies the new status of the user.<br /><br />**Allowable Values:**<br /><br />`UNVERIFIED`, `LIMITED`, `ACTIVE`, `SUSPENDED`, `CLOSED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**token**<br /><br />string<br /><br />Returned                                | Unique identifier of the user transition.<br /><br />**Allowable Values:**<br /><br />Existing user transition token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].**user\_token**<br /><br />string<br /><br />Conditionally returned            | Unique identifier of the user whose status was transitioned.<br /><br />**Allowable Values:**<br /><br />Existing user token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].**metadata**<br /><br />object<br /><br />Conditionally returned               | Associates customer-injected metadata with the user. Returned if part of the call to `POST /users`.<br /><br />**Allowable Values:**<br /><br />The names and values of up to 20 fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| end\_index<br /><br />integer<br /><br />Conditionally returned                        | Sort order index of the last resource in the returned array.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| is\_more<br /><br />boolean<br /><br />Conditionally returned                          | A value of `true` indicates that more unreturned resources exist. A value of `false` indicates that no more unreturned resources exist.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| start\_index<br /><br />integer<br /><br />Conditionally returned                      | Sort order index of the first resource in the returned array.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |

<h3 id="_sample_response_body_2">
  Sample response body
</h3>

```json JSON expandable lines wrap theme={null}
{
  "count": 1,
  "start_index": 0,
  "end_index": 0,
  "is_more": false,
  "data": [
    {
      "token": "activate_05",
      "user_token": "my_user_01",
      "status": "ACTIVE",
      "reason_code": "00",
      "reason": "Activating user",
      "channel": "API",
      "created_time": "2025-03-15T00:00:00Z",
      "metadata": {
        "my_name_1": "my_value_1",
        "my_name_2": "my_value_2"
      }
    }
  ]
}
```

<h2 id="get_usertransitions_token">
  Retrieve user transition
</h2>

**Action:** `GET`\
**Endpoint:** `/usertransitions/{token}`

{/* <EndpointCard
title="Returns a user transition"
path="/usertransitions/{token}"
method="get"
/> */}

Retrieve a user transition.

<h3 id="_url_path_parameters_2">
  URL path parameters
</h3>

| Fields                                      | Description                                                                                                                               |
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Required | Unique identifier of the user transition you want to retrieve.<br /><br />**Allowable Values:**<br /><br />Existing user transition token |

<h3 id="_url_query_parameters_2">
  URL query parameters
</h3>

| Fields                                       | Description                                                                                                                                                                                     |
| -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| fields<br /><br />string<br /><br />Optional | Comma-delimited list of fields to return (`field_1,field_2`, and so on). Leave blank to return all fields.<br /><br />**Allowable Values:**<br /><br />Comma-delimited list of fields, or blank |

<h3 id="_response_body_3">
  Response body
</h3>

| Fields                                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| channel<br /><br />string<br /><br />Returned                              | Mechanism by which the transaction was initiated.<br /><br />**Allowable Values:**<br /><br />`API`, `IVR`, `FRAUD`, `ADMIN`, `SYSTEM`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| created\_time<br /><br />datetime<br /><br />Conditionally returned        | Date and time when the resource was created, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| created\_timestamp<br /><br />datetime<br /><br />Conditionally returned   | Date and time when the resource was created. Expressed in UTC, with millisecond precision.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ss:SSSZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| last\_modified\_time<br /><br />datetime<br /><br />Conditionally returned | Date and time when the resource was last modified, in UTC.<br /><br />**Allowable Values:**<br /><br />datetime<br /><br />**Format:**<br />yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| reason<br /><br />string<br /><br />Conditionally returned                 | Additional information about the status change.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| reason\_code<br /><br />string<br /><br />Returned                         | Identifies the standardized reason for the transition:<br /><br />**00:** Object activated for the first time.<br /><br />**01:** Requested by you.<br /><br />**02:** Inactivity over time.<br /><br />**03:** This address cannot accept mail or the addressee is unknown.<br /><br />**04:** Negative account balance.<br /><br />**05:** Account under review.<br /><br />**06:** Suspicious activity was identified.<br /><br />**07:** Activity outside the program parameters was identified.<br /><br />**08:** Confirmed fraud was identified.<br /><br />**09:** Matched with an Office of Foreign Assets Control list.<br /><br />**10:** Card was reported lost.<br /><br />**11:** Card information was cloned.<br /><br />**12:** Account or card information was compromised.<br /><br />**13:** Temporary status change while on hold/leave.<br /><br />**14:** Initiated by Marqeta.<br /><br />**15:** Initiated by issuer.<br /><br />**16:** Card expired.<br /><br />**17:** Failed KYC.<br /><br />**18:** Changed to `ACTIVE` because information was properly validated.<br /><br />**19:** Changed to `ACTIVE` because account activity was properly validated.<br /><br />**20:** Change occurred prior to the normalization of reason codes.<br /><br />**21:** Initiated by a third party, often a digital wallet provider.<br /><br />**22:** PIN retry limit reached.<br /><br />**23:** Card was reported stolen.<br /><br />**24:** Address issue.<br /><br />**25:** Name issue.<br /><br />**26:** SSN issue.<br /><br />**27:** DOB issue.<br /><br />**28:** Email issue.<br /><br />**29:** Phone issue.<br /><br />**30:** Account/fulfillment mismatch.<br /><br />**31:** Other reason.<br /><br />**86:** Notification of death.<br /><br />**Allowable Values:**<br /><br />`00`, `01`, `02`, `03`, `04`, `05`, `06`, `07`, `08`, `09`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `86` |
| status<br /><br />string<br /><br />Returned                               | Specifies the new status of the user.<br /><br />**Allowable Values:**<br /><br />`UNVERIFIED`, `LIMITED`, `ACTIVE`, `SUSPENDED`, `CLOSED`, `TERMINATED`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| token<br /><br />string<br /><br />Returned                                | Unique identifier of the user transition.<br /><br />**Allowable Values:**<br /><br />Existing user transition token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| user\_token<br /><br />string<br /><br />Conditionally returned            | Unique identifier of the user whose status was transitioned.<br /><br />**Allowable Values:**<br /><br />Existing user token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| metadata<br /><br />object<br /><br />Conditionally returned               | Associates customer-injected metadata with the user. Returned if part of the call to `POST /users`.<br /><br />**Allowable Values:**<br /><br />The names and values of up to 20 fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |

<h3 id="_sample_response_body_3">
  Sample response body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "activate_05",
  "user_token": "my_user_01",
  "status": "ACTIVE",
  "reason_code": "00",
  "reason": "Activating user",
  "channel": "API",
  "created_time": "2025-03-15T00:00:00Z",
  "metadata": {
    "my_name_1": "my_value_1",
    "my_name_2": "my_value_2"
  }
}
```
