> ## 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.

# Velocity Controls

> Use the velocity controls endpoint to limit how much your users can spend and the number of transactions they can make in a given window of time.

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>;
};

A velocity control limits how much users can spend. You can configure velocity controls to limit how much users can spend and the number of transactions they can make in a given span of time. You can apply velocity controls to a single user, to all users associated with a particular card product, or to all users in your program.

Only Program Managers can create or modify program-wide velocity controls. A `POST` or `PUT` call from a role that does not have Program Manager permissions will receive a 403 error if its `association` field is null, or if it includes all of the fields in the request body. Avoid this by passing a valid `user_token` or `card_product_token` in the velocity control’s `association` object, indicating that the request is specific to a user or card product, and not program-wide. You should also only include the specific fields you want to update, because a `PUT` or `POST` with values for all fields is interpreted as a change that requires Program Manager permissions.

See [Controlling Spending](/developer-guides/controlling-spending/) for a tutorial that walks you through the creation of a spend control.

<Note>
  **Note**
  Each program supports a maximum of 90 spend controls (velocity controls and [authorization controls](/core-api/authorization-controls/) combined). The limit of 90 spend controls applies at the program level only; it does not affect the number of user-level spend controls you can use.
</Note>

<h2 id="post_velocitycontrols">
  Create velocity control
</h2>

**Action:** `POST`
**Endpoint:** `/velocitycontrols`

{/* <EndpointCard
title="Create velocity control"
path="/velocitycontrols"
method="post"
/> */}

Limits how much and how frequently a user can spend funds. If multiple velocity controls apply to the same user, the user cannot exceed any of the defined spending limits.

<Tip>
  **Tip**
  You can create program-level controls in the sandbox environment. However, you must work with your Marqeta representative to create program-level controls in a production environment.
</Tip>

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

Velocity control object

| Fields                                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| -------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| active<br /><br />boolean<br /><br />Optional                              | Indicates whether the velocity control is active.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| amount\_limit<br /><br />decimal<br /><br />Required                       | Maximum monetary sum that can be cleared within the time period defined by the `velocity_window` field. Refunds and reversals cannot exceed this limit.<br /><br />**Allowable Values:**<br /><br />0 min<br /><br />**Format:**<br />0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| approvals\_only<br /><br />boolean<br /><br />Optional                     | If set to `true`, only approved transactions are subject to control. If set to `false`, only declined transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| association<br /><br />object<br /><br />Optional                          | Defines the group of users to which the velocity control applies.<br /><br />**Allowable Values:**<br /><br />`card_product_token`, `user_token`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| association.**card\_product\_token**<br /><br />string<br /><br />Optional | Unique identifier of the card product.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| association.**user\_token**<br /><br />string<br /><br />Optional          | Unique identifier of the cardholder.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| currency\_code<br /><br />string<br /><br />Required                       | Three-character ISO 4217 currency code.<br /><br />**Allowable Values:**<br /><br />Valid three-character <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| include\_cashback<br /><br />boolean<br /><br />Optional                   | If set to `true`, the cashback components of point-of-sale transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| include\_credits<br /><br />boolean<br /><br />Optional                    | If set to `true`, original credit transactions (OCT) are subject to control. Your request can contain either a `money_in_transaction` object or the `include_credits` field, not both.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| include\_purchases<br /><br />boolean<br /><br />Optional                  | If set to `true`, the following transactions are subject to control:<br /><br />- **Account funding:** All account funding transactions<br />- **Cashback:** Only the purchase component of cashback transactions<br />- **Purchase transactions:** All authorizations, PIN debit transactions, and incremental transactions<br />- **Quasi-cash:** All quasi-cash transactions<br />- **Refunds:** All refund transactions (see <a href="/developer-guides/controlling-spending/#_controls_to_limit_amount_and_frequency_of_spending">Controls to limit amount and frequency of spending</a> for more information)<br />- **Reversals:** All reversal transactions<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                 |
| include\_transfers<br /><br />boolean<br /><br />Optional                  | If set to `true`, account-to-account transfers are subject to control. Account-to-account transfers are not currently supported.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| include\_withdrawals<br /><br />boolean<br /><br />Optional                | If set to `true`, ATM withdrawals are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| merchant\_scope<br /><br />object<br /><br />Optional                      | Defines the group of merchants to which the velocity control applies.<br /><br />Populate no more than one field of the `merchant_scope` object. If no fields are populated, the velocity control applies to all merchants.<br /><br />**Allowable Values:**<br /><br />`mcc`, `mcc_group`, `mid`, or null (no value)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| merchant\_scope.**mcc**<br /><br />string<br /><br />Optional              | Merchant Category Code (MCC). Identifies the type of products or services provided by the merchant.<br /><br />Enter a value to control spending on a particular type of product or service.<br /><br />**Allowable Values:**<br /><br />1–4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| merchant\_scope.**mcc\_group**<br /><br />string<br /><br />Optional       | Token identifying a group of MCCs. Enter a value to control spending on a group of product or service types.<br /><br />Send a `GET` request to `/mccgroups` to retrieve MCC group tokens.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| merchant\_scope.**mid**<br /><br />string<br /><br />Optional              | Merchant identifier (MID). Identifies a specific merchant.<br /><br />Enter a value to control spending with a particular merchant.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| name<br /><br />string<br /><br />Optional                                 | Description of how the velocity control restricts spending, for example, "Max spend of $500 per day" or "Max spend of $5000 per month for non-exempt employees".<br /><br />Ensure that the description you provide here adequately captures the kind of restriction exerted by this velocity control, because the Marqeta platform will send this information to you in a webhook in the event that the transaction authorization attempt is declined by the velocity control.<br /><br />**NOTE:** This field is very important. If your program has multiple velocity controls in place, it is not always clear which one prevented the transaction from being approved. Adding specific details to this field gives you more contextual information when debugging or monitoring declined authorization attempts.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                            |
| token<br /><br />string<br /><br />Optional                                | Unique identifier of the velocity control.<br /><br />If you do not include a token, the system will generate one automatically. This token is necessary for use in other API calls, so we recommend that rather than let the system generate one, you use a simple string that is easy to remember. This value cannot be updated.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| usage\_limit<br /><br />integer<br /><br />Optional                        | Maximum number of times a card can be used within the time period defined by the `velocity_window` field.<br /><br />If `velocity_window` is set to `TRANSACTION`, do not include a `usage_limit` in your request.<br /><br />Set to `-1` to indicate that the card can be used an unlimited number of times.<br /><br />**Allowable Values:**<br /><br />-1 min<br /><br />-1 to 100                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| velocity\_window<br /><br />string<br /><br />Required                     | Defines the time period to which the `amount_limit` and `usage_limit` fields apply:<br /><br />- **DAY** – one day; days begin at 00:00:00 UTC.<br />- **WEEK** – one week; weeks begin Sundays at 00:00:00 UTC.<br />- **MONTH** – one month; months begin on the first day of month at 00:00:00 UTC.<br />- **LIFETIME** – forever; time period never expires.<br />- **TRANSACTION** – a single transaction.<br /><br />**NOTE:** If set to `DAY`, `WEEK`, or `MONTH`, the velocity control takes effect retroactively from the beginning of the specified period. The amount and usage data already collected within the first period is counted toward the limits. If set to `LIFETIME`, the velocity control only applies to transactions on or after the date and time that the velocity control was created. `LIFETIME` velocity controls are not retroactively applied to historical transactions.<br /><br />**Allowable Values:**<br /><br />`DAY`, `WEEK`, `MONTH`, `LIFETIME`, `TRANSACTION` |

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

```json JSON lines wrap theme={null}
{
  "usage_limit": 10,
  "amount_limit": 500.25,
  "velocity_window": "DAY",
  "association": {
    "user_token": "my_user_04"
  },
  "currency_code": "USD",
  "token": "my_velocitycontrol_01"
}
```

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

| Fields                                                                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| active<br /><br />boolean<br /><br />Conditionally returned                              | Indicates whether the velocity control is active.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| amount\_limit<br /><br />decimal<br /><br />Returned                                     | Maximum monetary sum that can be cleared within the time period defined by the `velocity_window` field. Refunds and reversals cannot exceed this limit.<br /><br />**Allowable Values:**<br /><br />0 min<br /><br />**Format:**<br />0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| approvals\_only<br /><br />boolean<br /><br />Conditionally returned                     | If set to `true`, only approved transactions are subject to control. If set to `false`, only declined transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| association<br /><br />object<br /><br />Conditionally returned                          | Defines the group of users to which the velocity control applies.<br /><br />**Allowable Values:**<br /><br />`card_product_token`, `user_token`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| association.**card\_product\_token**<br /><br />string<br /><br />Conditionally returned | Unique identifier of the card product.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| association.**user\_token**<br /><br />string<br /><br />Conditionally returned          | Unique identifier of the cardholder.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| currency\_code<br /><br />string<br /><br />Returned                                     | Three-character ISO 4217 currency code.<br /><br />**Allowable Values:**<br /><br />Valid three-character <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| include\_cashback<br /><br />boolean<br /><br />Conditionally returned                   | If set to `true`, the cashback components of point-of-sale transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| include\_credits<br /><br />boolean<br /><br />Conditionally returned                    | If set to `true`, original credit transactions (OCT) are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| include\_purchases<br /><br />boolean<br /><br />Conditionally returned                  | If set to `true`, the following transactions are subject to control:<br /><br />- **Account funding:** All account funding transactions<br />- **Cashback:** Only the purchase component of cashback transactions<br />- **Purchase transactions:** All authorizations, PIN debit transactions, and incremental transactions<br />- **Quasi-cash:** All quasi-cash transactions<br />- **Refunds:** All refund transactions (see <a href="/developer-guides/controlling-spending/#_controls_to_limit_amount_and_frequency_of_spending">Controls to limit amount and frequency of spending</a> for more information)<br />- **Reversals:** All reversal transactions<br /><br />**Allowable Values:**<br /><br />`true`, `false` |
| include\_transfers<br /><br />boolean<br /><br />Conditionally returned                  | If set to `true`, account-to-account transfers are subject to control. Account-to-account transfers are not currently supported.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| include\_withdrawals<br /><br />boolean<br /><br />Conditionally returned                | If set to `true`, ATM withdrawals are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| merchant\_scope<br /><br />object<br /><br />Conditionally returned                      | Defines the group of merchants to which the velocity control applies.<br /><br />Populate no more than one field of the `merchant_scope` object. If no fields are populated, the velocity control applies to all merchants.<br /><br />**Allowable Values:**<br /><br />`mcc`, `mcc_group`, `mid`, or null (no value)                                                                                                                                                                                                                                                                                                                                                                                                           |
| merchant\_scope.**mcc**<br /><br />string<br /><br />Conditionally returned              | Merchant Category Code (MCC). Identifies the type of products or services provided by the merchant.<br /><br />Enter a value to control spending on a particular type of product or service.<br /><br />**Allowable Values:**<br /><br />1–4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| merchant\_scope.**mcc\_group**<br /><br />string<br /><br />Conditionally returned       | Token identifying a group of MCCs. Enter a value to control spending on a group of product or service types.<br /><br />Send a `GET` request to `/mccgroups` to retrieve MCC group tokens.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| merchant\_scope.**mid**<br /><br />string<br /><br />Conditionally returned              | Merchant identifier (MID). Identifies a specific merchant.<br /><br />Enter a value to control spending with a particular merchant.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| name<br /><br />string<br /><br />Conditionally returned                                 | Description of how the velocity control restricts spending. For example, "Max spend of $500 per day" or "Max spend of $5000 per month for non-exempt employees".<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| token<br /><br />string<br /><br />Conditionally returned                                | Unique identifier of the velocity control.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| usage\_limit<br /><br />integer<br /><br />Conditionally returned                        | Maximum number of times a card can be used within the time period defined by the `velocity_window` field.<br /><br />**Allowable Values:**<br /><br />-1 min<br /><br />-1 to 100, where -1 indicates unlimited uses                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| velocity\_window<br /><br />string<br /><br />Returned                                   | Defines the time period to which the `amount_limit` and `usage_limit` fields apply:<br /><br />- **DAY** – one day; days begin at 00:00:00 UTC.<br />- **WEEK** – one week; weeks begin Sundays at 00:00:00 UTC.<br />- **MONTH** – one month; months begin on the first day of month at 00:00:00 UTC.<br />- **LIFETIME** – forever; time period never expires.<br />- **TRANSACTION** – a single transaction.<br /><br />**Allowable Values:**<br /><br />`DAY`, `WEEK`, `MONTH`, `LIFETIME`, `TRANSACTION`                                                                                                                                                                                                                   |

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

```json JSON lines wrap theme={null}
{
  "token": "my_velocitycontrol_01",
  "association": {
    "user_token": "my_user_04"
  },
  "merchant_scope": {},
  "usage_limit": 10,
  "approvals_only": true,
  "include_purchases": true,
  "include_withdrawals": true,
  "include_transfers": true,
  "include_cashback": true,
  "include_credits": false,
  "currency_code": "USD",
  "amount_limit": 500.25,
  "velocity_window": "DAY",
  "active": true
}
```

<h2 id="get_velocitycontrols">
  List velocity controls
</h2>

**Action:** `GET`
**Endpoint:** `/velocitycontrols`

{/* <EndpointCard
title="List velocity controls"
path="/velocitycontrols"
method="get"
/> */}

Retrieves a list of all the velocity controls associated with a specific user or card product, or lists all the velocity controls defined for your program.

Include either a `user` or a `card_product` query parameter to indicate the user or card product whose associated velocity controls you want to retrieve (do not include both).

To list all velocity controls for your program, omit the `user` and `card_product` query parameters from your request.

This endpoint supports [field filtering](/core-api/field-filtering/) and [pagination](/core-api/sorting-and-pagination/).

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

| Fields                                              | Description                                                                                                                                                                                                                                                                                                                                                        |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| card\_product<br /><br />string<br /><br />Optional | Unique identifier of the card product. Enter the string `null` to retrieve velocity controls that are not associated with any card product.<br /><br />**Allowable Values:**<br /><br />Existing card product token                                                                                                                                                |
| user<br /><br />string<br /><br />Optional          | Unique identifier of the user. Enter the string `null` to retrieve velocity controls that are not associated with any user.<br /><br />**Allowable Values:**<br /><br />Existing user token                                                                                                                                                                        |
| count<br /><br />integer<br /><br />Optional        | Number of velocity control resources 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 |

<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 velocity control objects.<br /><br />Objects are returned as appropriate to your query.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more velocity control objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].**active**<br /><br />boolean<br /><br />Conditionally returned                          | Indicates whether the velocity control is active.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**amount\_limit**<br /><br />decimal<br /><br />Returned                                 | Maximum monetary sum that can be cleared within the time period defined by the `velocity_window` field. Refunds and reversals cannot exceed this limit.<br /><br />**Allowable Values:**<br /><br />0 min<br /><br />**Format:**<br />0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**approvals\_only**<br /><br />boolean<br /><br />Conditionally returned                 | If set to `true`, only approved transactions are subject to control. If set to `false`, only declined transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**association**<br /><br />object<br /><br />Conditionally returned                      | Defines the group of users to which the velocity control applies.<br /><br />**Allowable Values:**<br /><br />`card_product_token`, `user_token`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].association.**card\_product\_token**<br /><br />string<br /><br />Conditionally returned | Unique identifier of the card product.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].association.**user\_token**<br /><br />string<br /><br />Conditionally returned          | Unique identifier of the cardholder.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**currency\_code**<br /><br />string<br /><br />Returned                                 | Three-character ISO 4217 currency code.<br /><br />**Allowable Values:**<br /><br />Valid three-character <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].**include\_cashback**<br /><br />boolean<br /><br />Conditionally returned               | If set to `true`, the cashback components of point-of-sale transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].**include\_credits**<br /><br />boolean<br /><br />Conditionally returned                | If set to `true`, original credit transactions (OCT) are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].**include\_purchases**<br /><br />boolean<br /><br />Conditionally returned              | If set to `true`, the following transactions are subject to control:<br /><br />- **Account funding:** All account funding transactions<br />- **Cashback:** Only the purchase component of cashback transactions<br />- **Purchase transactions:** All authorizations, PIN debit transactions, and incremental transactions<br />- **Quasi-cash:** All quasi-cash transactions<br />- **Refunds:** All refund transactions (see <a href="/developer-guides/controlling-spending/#_controls_to_limit_amount_and_frequency_of_spending">Controls to limit amount and frequency of spending</a> for more information)<br />- **Reversals:** All reversal transactions<br /><br />**Allowable Values:**<br /><br />`true`, `false` |
| data\[].**include\_transfers**<br /><br />boolean<br /><br />Conditionally returned              | If set to `true`, account-to-account transfers are subject to control. Account-to-account transfers are not currently supported.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**include\_withdrawals**<br /><br />boolean<br /><br />Conditionally returned            | If set to `true`, ATM withdrawals are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].**merchant\_scope**<br /><br />object<br /><br />Conditionally returned                  | Defines the group of merchants to which the velocity control applies.<br /><br />Populate no more than one field of the `merchant_scope` object. If no fields are populated, the velocity control applies to all merchants.<br /><br />**Allowable Values:**<br /><br />`mcc`, `mcc_group`, `mid`, or null (no value)                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].merchant\_scope.**mcc**<br /><br />string<br /><br />Conditionally returned              | Merchant Category Code (MCC). Identifies the type of products or services provided by the merchant.<br /><br />Enter a value to control spending on a particular type of product or service.<br /><br />**Allowable Values:**<br /><br />1–4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].merchant\_scope.**mcc\_group**<br /><br />string<br /><br />Conditionally returned       | Token identifying a group of MCCs. Enter a value to control spending on a group of product or service types.<br /><br />Send a `GET` request to `/mccgroups` to retrieve MCC group tokens.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].merchant\_scope.**mid**<br /><br />string<br /><br />Conditionally returned              | Merchant identifier (MID). Identifies a specific merchant.<br /><br />Enter a value to control spending with a particular merchant.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**name**<br /><br />string<br /><br />Conditionally returned                             | Description of how the velocity control restricts spending. For example, "Max spend of $500 per day" or "Max spend of $5000 per month for non-exempt employees".<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].**token**<br /><br />string<br /><br />Conditionally returned                            | Unique identifier of the velocity control.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].**usage\_limit**<br /><br />integer<br /><br />Conditionally returned                    | Maximum number of times a card can be used within the time period defined by the `velocity_window` field.<br /><br />**Allowable Values:**<br /><br />-1 min<br /><br />-1 to 100, where -1 indicates unlimited uses                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].**velocity\_window**<br /><br />string<br /><br />Returned                               | Defines the time period to which the `amount_limit` and `usage_limit` fields apply:<br /><br />- **DAY** – one day; days begin at 00:00:00 UTC.<br />- **WEEK** – one week; weeks begin Sundays at 00:00:00 UTC.<br />- **MONTH** – one month; months begin on the first day of month at 00:00:00 UTC.<br />- **LIFETIME** – forever; time period never expires.<br />- **TRANSACTION** – a single transaction.<br /><br />**Allowable Values:**<br /><br />`DAY`, `WEEK`, `MONTH`, `LIFETIME`, `TRANSACTION`                                                                                                                                                                                                                   |
| 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                                | The 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |

<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": "my_velocitycontrol_01",
      "association": {
        "user_token": "my_user_04"
      },
      "merchant_scope": {},
      "usage_limit": 10,
      "approvals_only": true,
      "include_purchases": true,
      "include_withdrawals": true,
      "include_transfers": true,
      "include_cashback": true,
      "include_credits": false,
      "currency_code": "USD",
      "amount_limit": 500.25,
      "velocity_window": "DAY",
      "active": true
    }
  ]
}
```

<h2 id="get_velocitycontrols_token">
  Returns a specific velocity control
</h2>

**Action:** `GET`
**Endpoint:** `/velocitycontrols/{token}`

{/* <EndpointCard
title="Returns a specific velocity control"
path="/velocitycontrols/{token}"
method="get"
/> */}

Retrieves a specific velocity control.

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

| Fields                                      | Description                                                                                                                     |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Required | Unique identifier of the velocity control resource.<br /><br />**Allowable Values:**<br /><br />Existing velocity control 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| active<br /><br />boolean<br /><br />Conditionally returned                              | Indicates whether the velocity control is active.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| amount\_limit<br /><br />decimal<br /><br />Returned                                     | Maximum monetary sum that can be cleared within the time period defined by the `velocity_window` field. Refunds and reversals cannot exceed this limit.<br /><br />**Allowable Values:**<br /><br />0 min<br /><br />**Format:**<br />0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| approvals\_only<br /><br />boolean<br /><br />Conditionally returned                     | If set to `true`, only approved transactions are subject to control. If set to `false`, only declined transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| association<br /><br />object<br /><br />Conditionally returned                          | Defines the group of users to which the velocity control applies.<br /><br />**Allowable Values:**<br /><br />`card_product_token`, `user_token`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| association.**card\_product\_token**<br /><br />string<br /><br />Conditionally returned | Unique identifier of the card product.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| association.**user\_token**<br /><br />string<br /><br />Conditionally returned          | Unique identifier of the cardholder.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| currency\_code<br /><br />string<br /><br />Returned                                     | Three-character ISO 4217 currency code.<br /><br />**Allowable Values:**<br /><br />Valid three-character <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| include\_cashback<br /><br />boolean<br /><br />Conditionally returned                   | If set to `true`, the cashback components of point-of-sale transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| include\_credits<br /><br />boolean<br /><br />Conditionally returned                    | If set to `true`, original credit transactions (OCT) are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| include\_purchases<br /><br />boolean<br /><br />Conditionally returned                  | If set to `true`, the following transactions are subject to control:<br /><br />- **Account funding:** All account funding transactions<br />- **Cashback:** Only the purchase component of cashback transactions<br />- **Purchase transactions:** All authorizations, PIN debit transactions, and incremental transactions<br />- **Quasi-cash:** All quasi-cash transactions<br />- **Refunds:** All refund transactions (see <a href="/developer-guides/controlling-spending/#_controls_to_limit_amount_and_frequency_of_spending">Controls to limit amount and frequency of spending</a> for more information)<br />- **Reversals:** All reversal transactions<br /><br />**Allowable Values:**<br /><br />`true`, `false` |
| include\_transfers<br /><br />boolean<br /><br />Conditionally returned                  | If set to `true`, account-to-account transfers are subject to control. Account-to-account transfers are not currently supported.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| include\_withdrawals<br /><br />boolean<br /><br />Conditionally returned                | If set to `true`, ATM withdrawals are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| merchant\_scope<br /><br />object<br /><br />Conditionally returned                      | Defines the group of merchants to which the velocity control applies.<br /><br />Populate no more than one field of the `merchant_scope` object. If no fields are populated, the velocity control applies to all merchants.<br /><br />**Allowable Values:**<br /><br />`mcc`, `mcc_group`, `mid`, or null (no value)                                                                                                                                                                                                                                                                                                                                                                                                           |
| merchant\_scope.**mcc**<br /><br />string<br /><br />Conditionally returned              | Merchant Category Code (MCC). Identifies the type of products or services provided by the merchant.<br /><br />Enter a value to control spending on a particular type of product or service.<br /><br />**Allowable Values:**<br /><br />1–4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| merchant\_scope.**mcc\_group**<br /><br />string<br /><br />Conditionally returned       | Token identifying a group of MCCs. Enter a value to control spending on a group of product or service types.<br /><br />Send a `GET` request to `/mccgroups` to retrieve MCC group tokens.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| merchant\_scope.**mid**<br /><br />string<br /><br />Conditionally returned              | Merchant identifier (MID). Identifies a specific merchant.<br /><br />Enter a value to control spending with a particular merchant.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| name<br /><br />string<br /><br />Conditionally returned                                 | Description of how the velocity control restricts spending. For example, "Max spend of $500 per day" or "Max spend of $5000 per month for non-exempt employees".<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| token<br /><br />string<br /><br />Conditionally returned                                | Unique identifier of the velocity control.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| usage\_limit<br /><br />integer<br /><br />Conditionally returned                        | Maximum number of times a card can be used within the time period defined by the `velocity_window` field.<br /><br />**Allowable Values:**<br /><br />-1 min<br /><br />-1 to 100, where -1 indicates unlimited uses                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| velocity\_window<br /><br />string<br /><br />Returned                                   | Defines the time period to which the `amount_limit` and `usage_limit` fields apply:<br /><br />- **DAY** – one day; days begin at 00:00:00 UTC.<br />- **WEEK** – one week; weeks begin Sundays at 00:00:00 UTC.<br />- **MONTH** – one month; months begin on the first day of month at 00:00:00 UTC.<br />- **LIFETIME** – forever; time period never expires.<br />- **TRANSACTION** – a single transaction.<br /><br />**Allowable Values:**<br /><br />`DAY`, `WEEK`, `MONTH`, `LIFETIME`, `TRANSACTION`                                                                                                                                                                                                                   |

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

```json JSON lines wrap theme={null}
{
  "token": "my_velocitycontrol_01",
  "association": {
    "user_token": "my_user_04"
  },
  "merchant_scope": {},
  "usage_limit": 10,
  "approvals_only": true,
  "include_purchases": true,
  "include_withdrawals": true,
  "include_transfers": true,
  "include_cashback": true,
  "include_credits": false,
  "currency_code": "USD",
  "amount_limit": 500.25,
  "velocity_window": "DAY",
  "active": true
}
```

<h2 id="put_velocitycontrols_token">
  Update velocity control
</h2>

**Action:** `PUT`
**Endpoint:** `/velocitycontrols/{token}`

{/* <EndpointCard
title="Update velocity control"
path="/velocitycontrols/{token}"
method="put"
/> */}

Updates a specific velocity control.

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

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

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

| Fields                                                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| -------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| active<br /><br />boolean<br /><br />Optional                              | Indicates whether the velocity control is active.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| amount\_limit<br /><br />decimal<br /><br />Optional                       | Maximum monetary sum that can be cleared within the time period defined by the `velocity_window` field. Refunds and reversals cannot exceed this limit.<br /><br />**Allowable Values:**<br /><br />0 min<br /><br />**Format:**<br />0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| approvals\_only<br /><br />boolean<br /><br />Optional                     | If set to `true`, only approved transactions are subject to control. If set to `false`, only declined transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| association<br /><br />object<br /><br />Optional                          | Defines the group of users to which the velocity control applies.<br /><br />**Allowable Values:**<br /><br />`card_product_token`, `user_token`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| association.**card\_product\_token**<br /><br />string<br /><br />Optional | Unique identifier of the card product.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| association.**user\_token**<br /><br />string<br /><br />Optional          | Unique identifier of the cardholder.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| currency\_code<br /><br />string<br /><br />Optional                       | Three-character ISO 4217 currency code.<br /><br />**Allowable Values:**<br /><br />Valid three-character <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| include\_cashback<br /><br />boolean<br /><br />Optional                   | If set to `true`, the cashback components of point-of-sale transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| include\_credits<br /><br />boolean<br /><br />Optional                    | If set to `true`, original credit transactions are subject to control. Your request can contain either a `money_in_transaction` object or the `include_credits` field, not both.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| include\_purchases<br /><br />boolean<br /><br />Optional                  | If set to `true`, the following transactions are subject to control:<br /><br />- **Account funding:** All account funding transactions<br />- **Cashback:** Only the purchase component of cashback transactions<br />- **Purchase transactions:** All authorizations, PIN debit transactions, and incremental transactions<br />- **Quasi-cash:** All quasi-cash transactions<br />- **Refunds:** All refund transactions (see <a href="/developer-guides/controlling-spending/#_controls_to_limit_amount_and_frequency_of_spending">Controls to limit amount and frequency of spending</a> for more information)<br />- **Reversals:** All reversal transactions<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                 |
| include\_transfers<br /><br />boolean<br /><br />Optional                  | If set to `true`, account-to-account transfers are subject to control. Account-to-account transfers are not currently supported.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| include\_withdrawals<br /><br />boolean<br /><br />Optional                | If set to `true`, ATM withdrawals are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`<br /><br />**Default value:**<br />`true`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| merchant\_scope<br /><br />object<br /><br />Optional                      | Defines the group of merchants to which the velocity control applies.<br /><br />Populate no more than one field of the `merchant_scope` object. If no fields are populated, the velocity control applies to all merchants.<br /><br />**Allowable Values:**<br /><br />`mcc`, `mcc_group`, `mid`, or null (no value)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| merchant\_scope.**mcc**<br /><br />string<br /><br />Optional              | Merchant Category Code (MCC). Identifies the type of products or services provided by the merchant.<br /><br />Enter a value to control spending on a particular type of product or service.<br /><br />**Allowable Values:**<br /><br />1–4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| merchant\_scope.**mcc\_group**<br /><br />string<br /><br />Optional       | Token identifying a group of MCCs. Enter a value to control spending on a group of product or service types.<br /><br />Send a `GET` request to `/mccgroups` to retrieve MCC group tokens.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| merchant\_scope.**mid**<br /><br />string<br /><br />Optional              | Merchant identifier (MID). Identifies a specific merchant.<br /><br />Enter a value to control spending with a particular merchant.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| name<br /><br />string<br /><br />Optional                                 | Description of how the velocity control restricts spending. For example, "Max spend of $500 per day" or "Max spend of $5000 per month for non-exempt employees".<br /><br />Ensure that the description you provide here adequately captures the kind of restriction exerted by this velocity control, because the Marqeta platform will send this information to you in a webhook in the event that the transaction authorization attempt is declined by the velocity control.<br /><br />**NOTE:** This field is very important. If your program has multiple velocity controls in place, it is not always clear which one prevented the transaction from being approved. Adding specific details to this field gives you more contextual information when debugging or monitoring declined authorization attempts.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                            |
| token<br /><br />string<br /><br />Required                                | Unique identifier of the velocity control resource.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| usage\_limit<br /><br />integer<br /><br />Optional                        | Maximum number of times a card can be used within the time period defined by the `velocity_window` field.<br /><br />If `velocity_window` is set to `TRANSACTION`, do not include a `usage_limit` in your request.<br /><br />**Allowable Values:**<br /><br />-1 min<br /><br />-1 to 100, where -1 indicates unlimited uses                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| velocity\_window<br /><br />string<br /><br />Optional                     | Defines the time period to which the `amount_limit` and `usage_limit` fields apply:<br /><br />- **DAY** – one day; days begin at 00:00:00 UTC.<br />- **WEEK** – one week; weeks begin Sundays at 00:00:00 UTC.<br />- **MONTH** – one month; months begin on the first day of month at 00:00:00 UTC.<br />- **LIFETIME** – forever; time period never expires.<br />- **TRANSACTION** – a single transaction.<br /><br />**NOTE:** If set to `DAY`, `WEEK`, or `MONTH`, the velocity control takes effect retroactively from the beginning of the specified period. The amount and usage data already collected within the first period is counted toward the limits. If set to `LIFETIME`, the velocity control only applies to transactions on or after the date and time that the velocity control was created. `LIFETIME` velocity controls are not retroactively applied to historical transactions.<br /><br />**Allowable Values:**<br /><br />`DAY`, `WEEK`, `MONTH`, `LIFETIME`, `TRANSACTION` |

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

```json JSON lines wrap theme={null}
{
  "token": "my_velocitycontrol_01",
  "usage_limit": 20,
  "amount_limit": 1000.25
}
```

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

| Fields                                                                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| active<br /><br />boolean<br /><br />Conditionally returned                              | Indicates whether the velocity control is active.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| amount\_limit<br /><br />decimal<br /><br />Returned                                     | Maximum monetary sum that can be cleared within the time period defined by the `velocity_window` field. Refunds and reversals cannot exceed this limit.<br /><br />**Allowable Values:**<br /><br />0 min<br /><br />**Format:**<br />0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| approvals\_only<br /><br />boolean<br /><br />Conditionally returned                     | If set to `true`, only approved transactions are subject to control. If set to `false`, only declined transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| association<br /><br />object<br /><br />Conditionally returned                          | Defines the group of users to which the velocity control applies.<br /><br />**Allowable Values:**<br /><br />`card_product_token`, `user_token`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| association.**card\_product\_token**<br /><br />string<br /><br />Conditionally returned | Unique identifier of the card product.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| association.**user\_token**<br /><br />string<br /><br />Conditionally returned          | Unique identifier of the cardholder.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| currency\_code<br /><br />string<br /><br />Returned                                     | Three-character ISO 4217 currency code.<br /><br />**Allowable Values:**<br /><br />Valid three-character <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| include\_cashback<br /><br />boolean<br /><br />Conditionally returned                   | If set to `true`, the cashback components of point-of-sale transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| include\_credits<br /><br />boolean<br /><br />Conditionally returned                    | If set to `true`, original credit transactions (OCT) are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| include\_purchases<br /><br />boolean<br /><br />Conditionally returned                  | If set to `true`, the following transactions are subject to control:<br /><br />- **Account funding:** All account funding transactions<br />- **Cashback:** Only the purchase component of cashback transactions<br />- **Purchase transactions:** All authorizations, PIN debit transactions, and incremental transactions<br />- **Quasi-cash:** All quasi-cash transactions<br />- **Refunds:** All refund transactions (see <a href="/developer-guides/controlling-spending/#_controls_to_limit_amount_and_frequency_of_spending">Controls to limit amount and frequency of spending</a> for more information)<br />- **Reversals:** All reversal transactions<br /><br />**Allowable Values:**<br /><br />`true`, `false` |
| include\_transfers<br /><br />boolean<br /><br />Conditionally returned                  | If set to `true`, account-to-account transfers are subject to control. Account-to-account transfers are not currently supported.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| include\_withdrawals<br /><br />boolean<br /><br />Conditionally returned                | If set to `true`, ATM withdrawals are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| merchant\_scope<br /><br />object<br /><br />Conditionally returned                      | Defines the group of merchants to which the velocity control applies.<br /><br />Populate no more than one field of the `merchant_scope` object. If no fields are populated, the velocity control applies to all merchants.<br /><br />**Allowable Values:**<br /><br />`mcc`, `mcc_group`, `mid`, or null (no value)                                                                                                                                                                                                                                                                                                                                                                                                           |
| merchant\_scope.**mcc**<br /><br />string<br /><br />Conditionally returned              | Merchant Category Code (MCC). Identifies the type of products or services provided by the merchant.<br /><br />Enter a value to control spending on a particular type of product or service.<br /><br />**Allowable Values:**<br /><br />1–4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| merchant\_scope.**mcc\_group**<br /><br />string<br /><br />Conditionally returned       | Token identifying a group of MCCs. Enter a value to control spending on a group of product or service types.<br /><br />Send a `GET` request to `/mccgroups` to retrieve MCC group tokens.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| merchant\_scope.**mid**<br /><br />string<br /><br />Conditionally returned              | Merchant identifier (MID). Identifies a specific merchant.<br /><br />Enter a value to control spending with a particular merchant.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| name<br /><br />string<br /><br />Conditionally returned                                 | Description of how the velocity control restricts spending. For example, "Max spend of $500 per day" or "Max spend of $5000 per month for non-exempt employees".<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| token<br /><br />string<br /><br />Conditionally returned                                | Unique identifier of the velocity control.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| usage\_limit<br /><br />integer<br /><br />Conditionally returned                        | Maximum number of times a card can be used within the time period defined by the `velocity_window` field.<br /><br />**Allowable Values:**<br /><br />-1 min<br /><br />-1 to 100, where -1 indicates unlimited uses                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| velocity\_window<br /><br />string<br /><br />Returned                                   | Defines the time period to which the `amount_limit` and `usage_limit` fields apply:<br /><br />- **DAY** – one day; days begin at 00:00:00 UTC.<br />- **WEEK** – one week; weeks begin Sundays at 00:00:00 UTC.<br />- **MONTH** – one month; months begin on the first day of month at 00:00:00 UTC.<br />- **LIFETIME** – forever; time period never expires.<br />- **TRANSACTION** – a single transaction.<br /><br />**Allowable Values:**<br /><br />`DAY`, `WEEK`, `MONTH`, `LIFETIME`, `TRANSACTION`                                                                                                                                                                                                                   |

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

```json JSON lines wrap theme={null}
{
  "token": "my_velocitycontrol_01",
  "association": {
    "user_token": "my_user_04"
  },
  "merchant_scope": {},
  "usage_limit": 20,
  "approvals_only": true,
  "include_purchases": true,
  "include_withdrawals": true,
  "include_transfers": true,
  "include_cashback": true,
  "include_credits": false,
  "currency_code": "USD",
  "amount_limit": 1000.25,
  "velocity_window": "DAY",
  "active": true
}
```

<h2 id="get_velocitycontrols_user_usertoken_available">
  List user velocity control balances
</h2>

**Action:** `GET`
**Endpoint:** `/velocitycontrols/user/{user_token}/available`

{/* <EndpointCard
title="List user velocity control balances"
path="/velocitycontrols/user/{user_token}/available"
method="get"
/> */}

Retrieves a list of the available balances of the velocity controls associated with a user. This operation is unavailable for velocity controls with a window of `TRANSACTION`, because available balances do not apply to single-transaction velocity windows.

Depending on the control, the balance can include an available monetary amount, the number of transactions remaining, and the number of days remaining in the time window.

This endpoint supports [field filtering](/core-api/field-filtering/) and [pagination](/core-api/sorting-and-pagination/).

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

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

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

| Fields                                              | Description                                                                                                                                                                                                                                                                                                                                                        |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| count<br /><br />integer<br /><br />Optional        | Number of available balance resources to retrieve.<br /><br />**Allowable Values:**<br /><br />1-10<br /><br />**Default value:**<br />5                                                                                                                                                                                                                           |
| start\_index<br /><br />integer<br /><br />Optional | The 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 |

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

| Fields                                                                                           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Conditionally returned                                       | Number of velocity control 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 velocity control objects that include available balances.<br /><br />Objects are returned as appropriate to your query.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more velocity control objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].**active**<br /><br />boolean<br /><br />Conditionally returned                          | Indicates whether the velocity control is active.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**amount\_limit**<br /><br />decimal<br /><br />Returned                                 | Maximum monetary sum that can be cleared within the time period defined by the `velocity_window` field. Refunds and reversals cannot exceed this limit.<br /><br />**Allowable Values:**<br /><br />0 min<br /><br />**Format:**<br />0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**approvals\_only**<br /><br />boolean<br /><br />Conditionally returned                 | If set to `true`, only approved transactions are subject to control. If set to `false`, only declined transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**association**<br /><br />object<br /><br />Conditionally returned                      | Defines the group of users to which the velocity control applies.<br /><br />**Allowable Values:**<br /><br />`card_product_token`, `user_token`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].association.**card\_product\_token**<br /><br />string<br /><br />Conditionally returned | Unique identifier of the card product.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].association.**user\_token**<br /><br />string<br /><br />Conditionally returned          | Unique identifier of the cardholder.<br /><br />Pass either `card_product_token` or `user_token`, not both.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**available**<br /><br />object<br /><br />Returned                                      | Specifies the available balances of the velocity controls associated with a user.<br /><br />This object is not returned if the velocity control window is `TRANSACTION`, because available balances do not apply to single-transaction velocity windows.<br /><br />**Allowable Values:**<br /><br />`amount`, `days_remaining`, `uses`                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].available.**amount**<br /><br />decimal<br /><br />Returned                              | Total amount of spend remaining in the velocity control.<br /><br />**Allowable Values:**<br /><br />0 min<br /><br />**Format:**<br />0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].available.**days\_remaining**<br /><br />integer<br /><br />Conditionally returned       | Number of days remaining in the velocity control time window.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].available.**uses**<br /><br />integer<br /><br />Returned                                | Number of uses remaining in the velocity control.<br /><br />**Allowable Values:**<br /><br />-1 to 100, where -1 indicates unlimited uses                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**currency\_code**<br /><br />string<br /><br />Returned                                 | Three-character ISO 4217 currency code.<br /><br />**Allowable Values:**<br /><br />Valid three-character <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].**include\_cashback**<br /><br />boolean<br /><br />Conditionally returned               | If set to `true`, the cashback components of point-of-sale transactions are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].**include\_credits**<br /><br />boolean<br /><br />Conditionally returned                | If set to `true`, original credit transactions (OCT) are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].**include\_purchases**<br /><br />boolean<br /><br />Conditionally returned              | If set to `true`, the following transactions are subject to control:<br /><br />- **Account funding:** All account funding transactions<br />- **Cashback:** Only the purchase component of cashback transactions<br />- **Purchase transactions:** All authorizations, PIN debit transactions, and incremental transactions<br />- **Quasi-cash:** All quasi-cash transactions<br />- **Refunds:** All refund transactions (see <a href="/developer-guides/controlling-spending/#_controls_to_limit_amount_and_frequency_of_spending">Controls to limit amount and frequency of spending</a> for more information)<br />- **Reversals:** All reversal transactions<br /><br />**Allowable Values:**<br /><br />`true`, `false` |
| data\[].**include\_transfers**<br /><br />boolean<br /><br />Conditionally returned              | If set to `true`, account-to-account transfers are subject to control. Account-to-account transfers are not currently supported.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**include\_withdrawals**<br /><br />boolean<br /><br />Conditionally returned            | If set to `true`, ATM withdrawals are subject to control.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].**merchant\_scope**<br /><br />object<br /><br />Conditionally returned                  | Defines the group of merchants to which the velocity control applies.<br /><br />Populate no more than one field of the `merchant_scope` object. If no fields are populated, the velocity control applies to all merchants.<br /><br />**Allowable Values:**<br /><br />`mcc`, `mcc_group`, `mid`, or null (no value)                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].merchant\_scope.**mcc**<br /><br />string<br /><br />Conditionally returned              | Merchant Category Code (MCC). Identifies the type of products or services provided by the merchant.<br /><br />Enter a value to control spending on a particular type of product or service.<br /><br />**Allowable Values:**<br /><br />1–4 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].merchant\_scope.**mcc\_group**<br /><br />string<br /><br />Conditionally returned       | Token identifying a group of MCCs. Enter a value to control spending on a group of product or service types.<br /><br />Send a `GET` request to `/mccgroups` to retrieve MCC group tokens.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].merchant\_scope.**mid**<br /><br />string<br /><br />Conditionally returned              | Merchant identifier (MID). Identifies a specific merchant.<br /><br />Enter a value to control spending with a particular merchant.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**name**<br /><br />string<br /><br />Conditionally returned                             | Description of how the velocity control restricts spending, for example, "Max spend of $500 per day" or "Max spend of $5000 per month for non-exempt employees".<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| data\[].**token**<br /><br />string<br /><br />Conditionally returned                            | Unique identifier of the velocity control.<br /><br />**Allowable Values:**<br /><br />1–36 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].**usage\_limit**<br /><br />integer<br /><br />Conditionally returned                    | Maximum number of times a card can be used within the time period defined by the `velocity_window` field.<br /><br />**Allowable Values:**<br /><br />-1 min<br /><br />-1 to 100, where -1 indicates unlimited uses                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].**velocity\_window**<br /><br />string<br /><br />Returned                               | Defines the time period to which the `amount_limit` and `usage_limit` fields apply:<br /><br />- **DAY** – one day; days begin at 00:00:00 UTC.<br />- **WEEK** – one week; weeks begin Sundays at 00:00:00 UTC.<br />- **MONTH** – one month; months begin on the first day of month at 00:00:00 UTC.<br />- **LIFETIME** – forever; time period never expires.<br />- **TRANSACTION** – a single transaction.<br /><br />**Allowable Values:**<br /><br />`DAY`, `WEEK`, `MONTH`, `LIFETIME`, `TRANSACTION`                                                                                                                                                                                                                   |
| 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 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |

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

```json JSON expandable lines wrap theme={null}
{
  "count": 2,
  "start_index": 0,
  "end_index": 1,
  "is_more": false,
  "data": [
    {
      "token": "card_3",
      "name": "Jane Doe",
      "association": {},
      "merchant_scope": {
        "mcc": "3058"
      },
      "usage_limit": 1,
      "approvals_only": true,
      "include_purchases": true,
      "include_withdrawals": true,
      "include_transfers": true,
      "include_cashback": true,
      "include_credits": false,
      "currency_code": "USD",
      "amount_limit": 296.25,
      "velocity_window": "DAY",
      "active": true,
      "available": {
        "uses": 1,
        "amount": 296,
        "days_remaining": 1
      }
    },
    {
      "token": "card_4",
      "association": {},
      "merchant_scope": {
        "mcc": "1234"
      },
      "usage_limit": 1000,
      "approvals_only": true,
      "include_purchases": true,
      "include_withdrawals": true,
      "include_transfers": true,
      "include_cashback": true,
      "include_credits": false,
      "currency_code": "840",
      "amount_limit": 500.25,
      "velocity_window": "DAY",
      "active": true,
      "available": {
        "uses": 1000,
        "amount": 500.5,
        "days_remaining": 1
      }
    }
  ]
}
```
