{
  "opencollection": "1.0.0",
  "info": {
    "name": "Shell B2B Mobility Accounts Cards API",
    "version": "2.1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.shell.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Cards",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Cards",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.shell.com/mobility/v2/cards",
            "params": [
              {
                "name": "colCoCode",
                "value": "",
                "type": "query",
                "description": "Country code for the collecting company"
              },
              {
                "name": "payerNumber",
                "value": "",
                "type": "query",
                "description": "Payer account number"
              },
              {
                "name": "accountNumber",
                "value": "",
                "type": "query",
                "description": "Customer account number"
              },
              {
                "name": "cardStatus",
                "value": "",
                "type": "query",
                "description": "Filter cards by status"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of fuel cards associated with the B2B account."
        },
        {
          "info": {
            "name": "Order Card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.shell.com/mobility/v2/cards",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Places an order for a new fuel card."
        },
        {
          "info": {
            "name": "Get Card",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.shell.com/mobility/v2/cards/:cardId",
            "params": [
              {
                "name": "cardId",
                "value": "",
                "type": "path"
              },
              {
                "name": "colCoCode",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns details for a specific fuel card."
        },
        {
          "info": {
            "name": "Cancel Card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.shell.com/mobility/v2/cards/:cardId/cancel",
            "params": [
              {
                "name": "cardId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Cancels a fuel card."
        },
        {
          "info": {
            "name": "Block Card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.shell.com/mobility/v2/cards/:cardId/block",
            "params": [
              {
                "name": "cardId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Blocks or unblocks a fuel card."
        }
      ]
    }
  ],
  "bundled": true
}