v36

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-017439390.7 KB

Get Customer Referrals Count

This API retrieves the total count of customers referred by a specified customer in Gameball, providing the number of completed and pending referrals.

get/api/v4.0/integrations/customers/{customerId}/referrals/count

Path parameters

customerIdstring required

Unique identifier for the customer that you can reference across the customer's whole lifetime. Could be a database ID, random string, email, or anything that uniquely identifies the customer.

Response

Customer referrals count retrieved successfully

countnumber

The total number of friends referred by the customer available in Gameball system.

totalPendingnumber

The total number of referred friends who have joined but not yet completed the referral criteria in the Gameball system.

totalActivenumber

The total number of referred friends who have successfully completed the referral criteria in the Gameball system.