List Revenue Channel Connections
GET https://api.suger.cloud/org/{orgId}/revenue/connections
List the marketplace and payment channels in this organization that are connected for revenue sync. Returns one entry per verified connection (AWS, AZURE, GCP, or STRIPE) with its partner ID and current sync status. Use this to discover which partner values the other revenue endpoints accept; use GetRevenueConnectionHealth for the sync detail of one connection.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
Responses
200 — OK
Content-Type: application/json · Schema: RevenueListConnectionsResponse
RevenueListConnectionsResponse fields:
| Field | Type | Required | Description |
|---|---|---|---|
connections | array<RevenueConnectionStatus> | no |
RevenueConnectionStatus fields:
| Field | Type | Required | Description |
|---|---|---|---|
dataFreshnessAt | string | no | |
errorCount | integer | no | |
lastSyncAt | string | no | |
lastSyncStatus | string | no | |
partner | string | no | |
partnerID | string | no | |
service | string | no | |
status | string | no |
401 — Missing or invalid access token, or the caller lacks the revenue read permission
Content-Type: application/json
500 — Failed to query connections
Content-Type: application/json
Example
Generated from this operation's schema. Values are placeholders —
substitute your own ids, and set SUGER_TOKEN to a bearer token
from the OAuth client-credentials exchange.
Request
curl -X GET 'https://api.suger.cloud/org/{orgId}/revenue/connections' \
-H "Authorization: Bearer $SUGER_TOKEN" Response — 200
{
"connections": [
{
"dataFreshnessAt": "string",
"errorCount": 1,
"lastSyncAt": "string",
"lastSyncStatus": "string",
"partner": "string",
"partnerID": "01H0000000000000000000",
"service": "string",
"status": "string"
}
]
} Error — 401
"string" View as Markdown · Interactive API reference
Spotted something wrong or out of date on this page? Tell us and we'll correct it.