List Subscriptions
curl --request GET \
--url https://api.sellauth.com/v1/customer-dashboard/subscriptions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sellauth.com/v1/customer-dashboard/subscriptions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sellauth.com/v1/customer-dashboard/subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sellauth.com/v1/customer-dashboard/subscriptions",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sellauth.com/v1/customer-dashboard/subscriptions"
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))
}HttpResponse<String> response = Unirest.get("https://api.sellauth.com/v1/customer-dashboard/subscriptions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sellauth.com/v1/customer-dashboard/subscriptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 1,
"status": "active",
"product_name": "License Keys",
"variant_name": "Standard",
"recurring_price": "14.99",
"currency": "USD",
"interval": "month",
"interval_count": 1,
"interval_label": "every month",
"renewal_method": "manual",
"gateway": null,
"trial_ends_at": null,
"current_period_end": "2026-08-23T12:00:00.000000Z",
"cancel_at_period_end": false,
"cancelled_at": null,
"cycles_completed": 1,
"can_uncancel": false,
"renewal_url": null,
"payment_url": null,
"can_manage_billing": false,
"created_at": "2026-07-23T12:00:00.000000Z"
}
]
}Subscriptions
List Subscriptions
The customer’s 100 most recent product subscriptions, newest first. Subscriptions still awaiting their first payment are omitted. payment_url is the gateway’s page for paying a failed renewal while the subscription is past due; can_manage_billing reports whether the billing portal endpoint is available.
GET
/
v1
/
customer-dashboard
/
subscriptions
List Subscriptions
curl --request GET \
--url https://api.sellauth.com/v1/customer-dashboard/subscriptions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sellauth.com/v1/customer-dashboard/subscriptions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sellauth.com/v1/customer-dashboard/subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sellauth.com/v1/customer-dashboard/subscriptions",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sellauth.com/v1/customer-dashboard/subscriptions"
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))
}HttpResponse<String> response = Unirest.get("https://api.sellauth.com/v1/customer-dashboard/subscriptions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sellauth.com/v1/customer-dashboard/subscriptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 1,
"status": "active",
"product_name": "License Keys",
"variant_name": "Standard",
"recurring_price": "14.99",
"currency": "USD",
"interval": "month",
"interval_count": 1,
"interval_label": "every month",
"renewal_method": "manual",
"gateway": null,
"trial_ends_at": null,
"current_period_end": "2026-08-23T12:00:00.000000Z",
"cancel_at_period_end": false,
"cancelled_at": null,
"cycles_completed": 1,
"can_uncancel": false,
"renewal_url": null,
"payment_url": null,
"can_manage_billing": false,
"created_at": "2026-07-23T12:00:00.000000Z"
}
]
}Authorizations
Authenticate with a customer token, minted server-to-server with POST /v1/shops/{shopId}/customers/{customerId}/token and sent as a Bearer token. Reseller API keys are rejected with a 403 here.
Response
200 - application/json
Show child attributes
Show child attributes
Example:
[
{
"id": 1,
"status": "active",
"product_name": "License Keys",
"variant_name": "Standard",
"recurring_price": "14.99",
"currency": "USD",
"interval": "month",
"interval_count": 1,
"interval_label": "every month",
"renewal_method": "manual",
"gateway": null,
"trial_ends_at": null,
"current_period_end": "2026-08-23T12:00:00.000000Z",
"cancel_at_period_end": false,
"cancelled_at": null,
"cycles_completed": 1,
"can_uncancel": false,
"renewal_url": null,
"payment_url": null,
"can_manage_billing": false,
"created_at": "2026-07-23T12:00:00.000000Z"
}
]