Gets the Surcharges for this location.

​

Responses

  • application/json
Request Example for get/v1/surcharges
curl https://apiint.api.parpos.com/settings/v1/surcharges \
  --header 'parpos-access-token: YOUR_SECRET_TOKEN' \
  --header 'parpos-location-token: YOUR_SECRET_TOKEN'
Success
{
  "Data": [
    {
      "Amount": 5,
      "AutomaticallyApply": true,
      "Days": 42,
      "EndDate": "2023-12-31T00:00:00",
      "EndTime": "2026-05-08T06:24:54.2157604+00:00",
      "EnforceDateRanges": true,
      "EnforceDays": true,
      "EnforcePartySize": false,
      "EnforceTimeRanges": true,
      "LimitDestinations": false,
      "LimitSections": false,
      "Id": 1,
      "MaximumPartySize": 10,
      "Name": "Surcharge 1",
      "Method": 1,
      "MinimumPartySize": 1,
      "Prompt": true,
      "StartDate": "2023-01-01T00:00:00",
      "StartTime": "2026-05-07T06:24:54.2158843+00:00",
      "TaxIds": [
        1,
        2
      ],
      "Type": 0,
      "ValidDestinationIds": [
        1,
        2
      ],
      "ValidSectionIds": [
        1,
        2
      ],
      "TerminalTypes": 0
    }
  ]
}