Skip to main content
GET
/
advertising
/
api
/
v1
/
revenue-share
/
{organization_id}
/
summary
Revenue share summary
curl --request GET \
  --url https://www.closient.com/advertising/api/v1/revenue-share/{organization_id}/summary \
  --header 'X-API-Key: <api-key>'
{
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "total_earned": "<string>",
  "total_paid": "<string>",
  "pending_balance": "<string>",
  "active_locations": 123
}

Authorizations

X-API-Key
string
header
required

Path Parameters

organization_id
string<uuid>
required

UUID of the organization.

Response

200 - application/json

OK

organization_id
string<uuid>
required

UUID of the organization.

total_earned
string
required

Total retailer share across all periods in USD.

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
total_paid
string
required

Total amount already paid in USD.

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
pending_balance
string
required

Outstanding balance to be paid in USD.

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
active_locations
integer
required

Number of active locations for this organization.