Skip to main content
GET
/
advertising
/
api
/
v1
/
revenue-share
/
{organization_id}
/
{share_id}
Revenue share detail
curl --request GET \
  --url https://www.closient.com/advertising/api/v1/revenue-share/{organization_id}/{share_id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "period_start": "2023-12-25",
  "period_end": "2023-12-25",
  "gross_revenue": "<string>",
  "platform_fee": "<string>",
  "retailer_share": "<string>",
  "platform_fee_rate": "<string>",
  "status": "<string>",
  "paid_at": "2023-11-07T05:31:56Z",
  "stripe_transfer_id": ""
}

Authorizations

X-API-Key
string
header
required

Path Parameters

organization_id
string<uuid>
required

UUID of the organization.

share_id
string<uuid>
required

UUID of the revenue share record.

Response

200 - application/json

OK

id
string<uuid>
required

Unique identifier for this revenue share record.

period_start
string<date>
required

First day of the billing period.

period_end
string<date>
required

Last day of the billing period.

gross_revenue
string
required

Total billable ad revenue in USD.

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

Platform fee amount in USD.

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

Amount payable to the retailer in USD.

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

Platform fee rate (0.00-1.00).

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

Current status of this revenue share record.

paid_at
string<date-time> | null

When the payment was disbursed.

stripe_transfer_id
string
default:""

Stripe transfer ID if paid.