Skip to navigation

Get Monthly Referrals

Retrieve the referrals submitted under one or more affiliate numbers during a statement month. A referral is a potential customer that an affiliate partner passed to Redpin. A referral does not mean the customer has registered.

Authentication: Bearer token required

Authentication

AuthorizationBearer

OAuth 2.0 Bearer token authentication. This API uses OAuth 2.0 Client Credentials flow. Please refer to the Authentication section for detailed information on how to obtain and use your OAuth credentials.

Request

Affiliate numbers and the statement period to retrieve referrals for.
affiliate_numberlist of stringsRequired

List of affiliate numbers to include in the report. Redpin issues an affiliate number to each affiliate partner.

Records for all listed affiliate numbers are returned together in a single response.

statement_yearstringRequired

Year of the statement period in four-digit format (e.g., 2022). Sent as a string.

statement_monthstringRequired

Month of the statement period as a number from 1 to 12 (e.g., 7 for July). Sent as a string.

Response

OK. Everything worked as expected. Monthly referrals retrieved successfully.
referralslist of objects
Array of referral objects containing details of all referrals submitted during the statement month.

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error