{
  "opencollection": "1.0.0",
  "info": {
    "name": "Core accepted countries Velocity Controls API",
    "version": "3.0.39"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Velocity Controls",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List velocity controls",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/v3/velocitycontrols",
            "params": [
              {
                "name": "card_product",
                "value": "",
                "type": "query",
                "description": "Unique identifier of the card product.\nEnter the string `null` to retrieve velocity controls that are not associated with any card product."
              },
              {
                "name": "user",
                "value": "",
                "type": "query",
                "description": "Unique identifier of the user.\nEnter the string `null` to retrieve velocity controls that are not associated with any user."
              },
              {
                "name": "count",
                "value": "",
                "type": "query",
                "description": "Number of velocity control resources to retrieve."
              },
              {
                "name": "start_index",
                "value": "",
                "type": "query",
                "description": "Sort order index of the first resource in the returned array."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of fields to return (`field_1,field_2`, and so on).\nLeave blank to return all fields."
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query",
                "description": "Field on which to sort.\nUse any field in the resource model, or one of the system fields `lastModifiedTime` or `createdTime`.\nPrefix the field name with a hyphen (`-`) to sort in descending order.\nOmit the hyphen to sort in ascending order."
              }
            ]
          },
          "docs": "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.\n\nInclude 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).\n\nTo list all velocity controls for your program, omit the `user` and `card_product` query parameters from your request.\n\nThis endpoint supports <</core-api/field-filte"
        },
        {
          "info": {
            "name": "Create velocity control",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/v3/velocitycontrols",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Limits how much and how frequently a user can spend funds.\nIf multiple velocity controls apply to the same user, the user cannot exceed any of the defined spending limits.\n\n[TIP]\nYou can create program-level controls in the sandbox environment.\nHowever, you must work with your Marqeta representative to create program-level controls in a production environment."
        },
        {
          "info": {
            "name": "List user velocity control balances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/v3/velocitycontrols/user/:user_token/available",
            "params": [
              {
                "name": "user_token",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the cardholder."
              },
              {
                "name": "count",
                "value": "",
                "type": "query",
                "description": "Number of available balance resources to retrieve."
              },
              {
                "name": "start_index",
                "value": "",
                "type": "query",
                "description": "The sort order index of the first resource in the returned array."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of fields to return (`field_1,field_2`, and so on).\nLeave blank to return all fields."
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query",
                "description": "Field on which to sort.\nUse any field in the resource model, or one of the system fields `lastModifiedTime` or `createdTime`.\nPrefix the field name with a hyphen (`-`) to sort in descending order.\nOmit the hyphen to sort in ascending order."
              }
            ]
          },
          "docs": "Retrieves a list of the available balances of the velocity controls associated with a user.\nThis operation is unavailable for velocity controls with a window of `TRANSACTION`, because available balances do not apply to single-transaction velocity windows.\n\nDepending 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.\n\nThis endpoint supports <</core-api/field-filtering, field filtering>> a"
        },
        {
          "info": {
            "name": "Returns a specific velocity control",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/v3/velocitycontrols/:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the velocity control resource."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of fields to return (`field_1,field_2`, and so on).\nLeave blank to return all fields."
              }
            ]
          },
          "docs": "Retrieves a specific velocity control."
        },
        {
          "info": {
            "name": "Update velocity control",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "/v3/velocitycontrols/:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the velocity control resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a specific velocity control."
        },
        {
          "info": {
            "name": "Sets a specific velocity control to inactive to soft delete it",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/v3/velocitycontrols/:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Velocity control token"
              }
            ]
          },
          "docs": "Sets a specific velocity control to inactive to soft delete it"
        },
        {
          "info": {
            "name": "Retrieve velocity control available balances for an account token",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/v3/velocitycontrols/account/:account_token/available",
            "params": [
              {
                "name": "account_token",
                "value": "",
                "type": "path",
                "description": "Account token"
              }
            ]
          },
          "docs": "Retrieve velocity control available balances for an account token"
        }
      ]
    }
  ],
  "bundled": true
}