Skip to navigation

Get Monthly Manual Commissions

Retrieve the commission entered manually for an affiliate during a statement month. Manual commission covers bonuses and adjustments that are not tied to a single trade, so the records do not include a dealnumber.

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 manual commission 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 manual commissions retrieved successfully.
manual commissionslist of objects

Array of manual commission objects containing all commission entered manually during the statement month.

The property name contains a space. Use bracket notation to read it (e.g., response["manual commissions"]).

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error