{
  "opencollection": "1.0.0",
  "info": {
    "name": "Soldo Business API v2.0 Accounting Classification Refueling Transactions API",
    "version": "5.56.0"
  },
  "items": [
    {
      "info": {
        "name": "Refueling Transactions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Refueling Transaction",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.soldo.com/business/v2/refueling/:refuelingId",
            "headers": [
              {
                "name": "X-Soldo-Fingerprint",
                "value": ""
              },
              {
                "name": "X-Soldo-Fingerprint-Signature",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "refuelingId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.soldo.com/oauth/authorize",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Endpoint to get a specific `Refueling` by ID."
        },
        {
          "info": {
            "name": "Update Refueling Transaction",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.soldo.com/business/v2/refueling/:refuelingId",
            "headers": [
              {
                "name": "X-Soldo-Fingerprint",
                "value": ""
              },
              {
                "name": "X-Soldo-Fingerprint-Signature",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "refuelingId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.soldo.com/oauth/authorize",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Endpoint to update a specific `Refueling` by ID."
        },
        {
          "info": {
            "name": "Search Refueling Transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.soldo.com/business/v2/refueling",
            "headers": [
              {
                "name": "X-Soldo-Fingerprint",
                "value": ""
              },
              {
                "name": "X-Soldo-Fingerprint-Signature",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "type",
                "value": "card",
                "type": "query",
                "description": "The resource `type` to be used together with id."
              },
              {
                "name": "publicId",
                "value": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa",
                "type": "query",
                "description": "The ID of the `type` resource."
              },
              {
                "name": "fromDate",
                "value": "2020-04-06T12:48:40Z",
                "type": "query",
                "description": "The beginning of the period of the search `fromDate` included (i.e. greater than or equal to) (Formats: `yyyy-MM-dd`, `yyyy-MM-ddThh:mm:ss`, `yyyy-MM-ddThh:mm:ssZ`)."
              },
              {
                "name": "toDate",
                "value": "2020-05-07T12:48:40Z",
                "type": "query",
                "description": "The end of the period of the search `toDate` included (i.e. less than) (Formats: `yyyy-MM-dd`, `yyyy-MM-ddThh:mm:ss`, `yyyy-MM-ddThh:mm:ssZ`)."
              },
              {
                "name": "dateType",
                "value": "TRANSACTION",
                "type": "query",
                "description": "It determines the date to be considered for `fromDate` and `toDate` parameters."
              },
              {
                "name": "txCountry",
                "value": "GBR",
                "type": "query",
                "description": "The [ISO 3166-1 alpha-3](https://www.iso.org/obp/ui/#search/code/) code of the country where the `Transaction` was made."
              },
              {
                "name": "txStatus",
                "value": "Authorised",
                "type": "query",
                "description": "A list of statuses the searched `Transactions` should be in."
              },
              {
                "name": "txFuelType",
                "value": "PETROL",
                "type": "query",
                "description": "The fuel type specified on the `Transaction`."
              },
              {
                "name": "showFuelDetails",
                "value": "true",
                "type": "query",
                "description": "It determines whether to show further Fuel Details of the `Transaction`."
              },
              {
                "name": "p",
                "value": "3",
                "type": "query",
                "description": "It indicates the specific page to display (the counter starts from zero)."
              },
              {
                "name": "s",
                "value": "25",
                "type": "query",
                "description": "It indicates the number of items per page."
              },
              {
                "name": "d",
                "value": "DESC",
                "type": "query",
                "description": "It indicates how the pages are ordered."
              },
              {
                "name": "props",
                "value": "creationTime",
                "type": "query",
                "description": "It indicates the sorting direction applied to the above parameters. To apply a sorting on multiple parameters, set as many times the `props` parameter in the request."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.soldo.com/oauth/authorize",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Endpoint to search `Refuelings` using filtering parameters."
        }
      ]
    }
  ],
  "bundled": true
}