Payments
Payments taken through Stripe.
List payments
GET
/sites/{siteId}/paymentsPayments and subscriptions taken through Stripe on the site, newest first (up to 500). Amounts are in minor units (cents).
Path parameters
siteIdstringrequiredThe site’s id.
Response 200
itemsarray of objectsrequired7 child fields
idstringrequiredamountnumberrequiredIn minor units (cents).
currencystringrequiredstatusstringrequiredmodestringrequiredOne of
paymentsubscriptioncontactEmailstringcreatedAtstringrequiredAn ISO 8601 timestamp.
cursorstringnullablePass as ?cursor= to get the next page. Null when there are no more.
totalintegerHow many there are in all, when the list knows.
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/payments \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/payments', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/payments",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"items": [
{
"id": "pay_123",
"amount": 49900,
"currency": "nzd",
"status": "…",
"mode": "payment",
"contactEmail": "sam@example.com",
"createdAt": "2026-11-20T08:00:00.000Z"
}
],
"cursor": null,
"total": 1
}