List My Purchases
curl --request GET \
--url https://api.agentpowers.ai/v1/purchases \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentpowers.ai/v1/purchases"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentpowers.ai/v1/purchases', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"purchase_id": "<string>",
"skill_slug": "<string>",
"skill_title": "<string>",
"amount_cents": 123,
"currency": "<string>",
"status": "<string>",
"purchased_at": "<string>",
"license_code": "<string>",
"author_display_name": "<string>",
"author_display_name_slug": "<string>"
}
],
"total": 123
}purchases
List My Purchases
List current user’s purchases.
GET
/
v1
/
purchases
List My Purchases
curl --request GET \
--url https://api.agentpowers.ai/v1/purchases \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentpowers.ai/v1/purchases"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentpowers.ai/v1/purchases', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"purchase_id": "<string>",
"skill_slug": "<string>",
"skill_title": "<string>",
"amount_cents": 123,
"currency": "<string>",
"status": "<string>",
"purchased_at": "<string>",
"license_code": "<string>",
"author_display_name": "<string>",
"author_display_name_slug": "<string>"
}
],
"total": 123
}Was this page helpful?