Check if the authenticated user has purchased a media link
curl --request GET \
--url https://api.fanvue.com/v1/media/links/{uuid}/purchased \
--header 'Authorization: Bearer <token>' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>'import requests
url = "https://api.fanvue.com/v1/media/links/{uuid}/purchased"
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.fanvue.com/v1/media/links/{uuid}/purchased', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"purchased": true
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "<string>"
}Media
Check if the authenticated user has purchased a media link
Returns whether the authenticated user has a paid invoice for the given media link.
Returns 404 if no media link with the given UUID exists.
GET
/
v1
/
media
/
links
/
{uuid}
/
purchased
Check if the authenticated user has purchased a media link
curl --request GET \
--url https://api.fanvue.com/v1/media/links/{uuid}/purchased \
--header 'Authorization: Bearer <token>' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>'import requests
url = "https://api.fanvue.com/v1/media/links/{uuid}/purchased"
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.fanvue.com/v1/media/links/{uuid}/purchased', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"purchased": true
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "<string>"
}Required scope
read:media— Access media files, images, videos, and other content assets.
Authorizations
OAuth 2.0 access token, presented as a JWT bearer token in the Authorization header. Obtain a token via the authorization-code flow; the scopes granted to the token determine which operations it may call.
Headers
API version to use for the request
Example:
"2025-06-26"
Path Parameters
Response
Purchase status for the media link
Whether the authenticated user has paid for this media link
Was this page helpful?