Recent payments of a community the person manages
First purchases, renewals, extensions and refunds over the last days, newest first, from the dashboard’s activity; the buyer’s e-mail is masked. At most 20. Payouts are not listed: they are in the dashboard’s Finance tab (Stripe).
Scope: earnings.read.
GET
/v1/communities/{slug}/paymentsAuthorization
AuthorizationBearer token (API Key) · headerrequiredAPI Key for programmatic access (format: insy_xxxxx)
Path parameters
slugstringrequiredQuery parameters
daysstring1 to 90; defaults to 30.
Responses
200Successful response
successbooleanrequiredWhether the request was successful
errorCodestringrequiredThe error code returned by the request
Allowed:
not_foundbad_requestalready_existsunauthorizedforbiddeninternal_server_errorservice_unavailabletimeoutconflictprecondition_failedunprocessable_entitytoo_many_requestsmessagestringrequiredThe message returned by the request
dataV1CommunityPaymentsObjectShow propertiesHide properties
communityV1CommunityRefObjectrequiredShow propertiesHide properties
namestringrequiredslugstringrequireddaysnumberrequiredmin 1 · max 90
paymentsV1CommunityPaymentRowObject[]requiredNewest first, at most 20.
Show propertiesHide properties
Array of
V1CommunityPaymentRowObjectdatestring | nullrequiredkindstringrequiredfirst_purchase, renewal, extension or refund.
amountV1MoneyObjectrequiredShow propertiesHide properties
amountCentsnumberrequiredMinor units (cents).
currencystring | nullrequiredstatusstringrequiredmethodstring | nullrequiredplanstring | nullrequiredbuyerV1PersonRefObjectrequiredShow propertiesHide properties
namestring | nullrequiredemailstring | nullrequiredMasked: first letter and domain only.
truncatedbooleanrequiredpayoutsstringrequiredWhere payouts are: not in this response.
400Invalid input (`errorCode: bad_request`, `reason: invalid_input`).
401Missing, invalid or expired access token or API key.
403The token lacks the operation's scope (`reason: insufficient_scope`).
429Per-account rate limit (120/min, 3000/h, shared with `/mcp`); see `Retry-After`.
Try it
Server
Authorization
Parameters
Request
curl -X GET "https://api.insy.io/v1/communities/string/payments" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.insy.io/v1/communities/string/payments", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.insy.io/v1/communities/string/payments",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"success": true,
"errorCode": "not_found",
"message": "Success",
"data": {
"community": {
"name": "string",
"slug": "string"
},
"days": 1,
"payments": [
{
"date": "2026-10-20",
"kind": "renewal",
"amount": {
"amountCents": 0,
"currency": "PLN"
},
"status": "completed",
"method": "stripe",
"plan": "string",
"buyer": {
"name": "string",
"email": "a***@example.com"
}
}
],
"truncated": true,
"payouts": "string"
}
}Invalid input (`errorCode: bad_request`, `reason: invalid_input`).
Missing, invalid or expired access token or API key.
The token lacks the operation's scope (`reason: insufficient_scope`).
Per-account rate limit (120/min, 3000/h, shared with `/mcp`); see `Retry-After`.