Skip to main content

Pricing Information

Learn how to get pricing details.

Pricing consist of two components:

  • A static unlock fee
  • A pay as you go fee:
    • The pricing is calculated as cost per second, round down to nearest second.
    • For example:
      • Trip duration is 5 min and 12.8 s with a price per second of €0,00416667.
      • Trip cost = trip duration in seconds * price per second.
      • Trip cost = ((5*60)+12) * 0,00416667 = €1,30.

Requirements

  1. A valid JWT: see Generating and Signing a Valid JWT Guide.
  2. A Region ID of the area you need the pricing details for.

To get the price list for a certain region call the GetPriceList API endpoint with the specified regionId.

Code Sample

Test it:

curl --location --request GET \
--header 'Content-Type: application/json' \
--header 'User-Agent: {COMPANY_NAME}' \
--header 'Authorization: Bearer {JWT}' \
'https://web.maas.api.staging.ridedott.com/v1alpha2/regions/{regionId}/price_list_details'