curl --request GET \
--url https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)HttpResponse<String> response = Unirest.get("https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets")
.header("Authorization", "Bearer <token>")
.asString();package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": {
"data": [
{
"id": 2030,
"resource": "voucher-set-price-terms",
"voucherSetId": 2030,
"providerPartnerId": 1030,
"provider": {
"id": 1030,
"resource": "partner",
"name": "Acme Scooters",
"_links": {
"self": {
"href": "https://api.voucher.allride.io/consumer/v1/catalog/providers/1030",
"type": "application/json"
}
}
},
"voucherSetName": {
"de": "Acme Starter Pass",
"en": "Acme Starter Pass"
},
"status": "change-pending",
"nextChangeAt": "2026-11-30T23:00:00Z",
"current": {
"startsAt": "2025-12-31T23:00:00Z",
"endsAt": "2026-11-30T23:00:00Z",
"terms": {
"pricingModel": "per-unit",
"unitPrice": {
"value": 800,
"scale": 4,
"label": "€0.08"
},
"tiers": null
},
"termsDigest": "4f0c2a9e7b13d5c8e1f6a0b2c4d6e8f0a1b3c5d7e9f1a3b5c7d9e1f3a5b7c9d1",
"acceptBy": "2025-12-31T23:00:00Z",
"acceptance": {
"status": "accepted",
"priceAcceptanceId": 61017,
"acceptedAt": "2026-01-03T09:12:00Z",
"acceptedBy": {
"type": "partner-user",
"id": 4069,
"label": "finance@example.com"
}
}
},
"upcoming": [
{
"startsAt": "2026-11-30T23:00:00Z",
"endsAt": null,
"terms": {
"pricingModel": "per-unit",
"unitPrice": {
"value": 1000,
"scale": 4,
"label": "€0.10"
},
"tiers": null
},
"termsDigest": "9a17e3c5b7d9f1a3c5e7a9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5b7d9f1",
"acceptBy": "2026-11-30T23:00:00Z",
"acceptance": {
"status": "pending"
}
}
],
"_links": {
"self": {
"href": "https://api.voucher.allride.io/consumer/v1/pricing/voucher-sets/2030",
"type": "application/json"
},
"voucherSet": {
"href": "https://api.voucher.allride.io/consumer/v1/catalog/voucher-sets/2030",
"type": "application/json"
}
}
}
],
"page": 1,
"perPage": 25,
"totalPages": 1,
"total": 1
}
}List Price Terms of visible voucher sets
Lists your resolved Price Terms for every voucher set visible to you now: the current and up to 5 upcoming periods with their acceptance status. A visible set is redeemable only after you accept the terms in force. See Prices and price acceptance.
Required permissions: view-consumer-pricing · API keys: allowed
curl --request GET \
--url https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)HttpResponse<String> response = Unirest.get("https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets")
.header("Authorization", "Bearer <token>")
.asString();package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.voucher-staging.allride.io/consumer/v1/pricing/voucher-sets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": {
"data": [
{
"id": 2030,
"resource": "voucher-set-price-terms",
"voucherSetId": 2030,
"providerPartnerId": 1030,
"provider": {
"id": 1030,
"resource": "partner",
"name": "Acme Scooters",
"_links": {
"self": {
"href": "https://api.voucher.allride.io/consumer/v1/catalog/providers/1030",
"type": "application/json"
}
}
},
"voucherSetName": {
"de": "Acme Starter Pass",
"en": "Acme Starter Pass"
},
"status": "change-pending",
"nextChangeAt": "2026-11-30T23:00:00Z",
"current": {
"startsAt": "2025-12-31T23:00:00Z",
"endsAt": "2026-11-30T23:00:00Z",
"terms": {
"pricingModel": "per-unit",
"unitPrice": {
"value": 800,
"scale": 4,
"label": "€0.08"
},
"tiers": null
},
"termsDigest": "4f0c2a9e7b13d5c8e1f6a0b2c4d6e8f0a1b3c5d7e9f1a3b5c7d9e1f3a5b7c9d1",
"acceptBy": "2025-12-31T23:00:00Z",
"acceptance": {
"status": "accepted",
"priceAcceptanceId": 61017,
"acceptedAt": "2026-01-03T09:12:00Z",
"acceptedBy": {
"type": "partner-user",
"id": 4069,
"label": "finance@example.com"
}
}
},
"upcoming": [
{
"startsAt": "2026-11-30T23:00:00Z",
"endsAt": null,
"terms": {
"pricingModel": "per-unit",
"unitPrice": {
"value": 1000,
"scale": 4,
"label": "€0.10"
},
"tiers": null
},
"termsDigest": "9a17e3c5b7d9f1a3c5e7a9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5b7d9f1",
"acceptBy": "2026-11-30T23:00:00Z",
"acceptance": {
"status": "pending"
}
}
],
"_links": {
"self": {
"href": "https://api.voucher.allride.io/consumer/v1/pricing/voucher-sets/2030",
"type": "application/json"
},
"voucherSet": {
"href": "https://api.voucher.allride.io/consumer/v1/catalog/voucher-sets/2030",
"type": "application/json"
}
}
}
],
"page": 1,
"perPage": 25,
"totalPages": 1,
"total": 1
}
}Authorizations
Your API key in Authorization: Bearer <key>. Use vk_test_… keys against the sandbox and vk_live_… keys against production.
Query Parameters
Page number, 1-100,000 (default 1). Outside the range: 400 data-failed-validation with the constraint invalid-page.
1 <= x <= 100000Items per page, 1-100 (default 25). Outside the range: 400 data-failed-validation with the constraint invalid-page.
1 <= x <= 100One sort field; prefix - for descending (sort=field or sort=-field). Allowed: voucherSetName, nextChangeAt. Default voucherSetName. The server appends id as a tie-breaker.
"voucherSetName"
Case-insensitive search (at most 255 characters) over voucherSetName, providerName.
255Provider id (equals).
x >= 0Provider id (one of (comma-separated)). Comma-separated values.
Voucher set id (equals).
x >= 0Voucher set id (one of (comma-separated)). Comma-separated values.
Price acceptance status (equals).
accepted, change-pending, acceptance-required, not-priced, exempt Price acceptance status (one of (comma-separated)). Comma-separated values.
Has an upcoming period (equals).
Response
OK
Page envelope of VoucherSetPriceTerms items.
The page.
Show child attributes
Show child attributes