Classic APIs
ClassicEconomyApi
groupPayoutsUserEligibility

groupPayoutsUserEligibility

Gets the group payout eligibility for a group of users.

Parameters

NameTypeDescription
groupIdIdentifierThe ID of the group.
userIdsArrayNonEmptyIfConstThe userIds to check for payout eligibility.

Example

const { data: eligibility } = await ClassicEconomyApi.groupPayoutsUserEligibility({
  groupId: 14941564,
  userIds: [1412728377],
}); 

Example Data

{ "1412728377": "Eligible" } 

Endpoint

GET /v1/groups/{groupId}/users-payout-eligibility