SyntaxstatsAffiliateToplist(from, to, affiliate, currency='')Returns the list of your affiliates sorted by sales.In doing so, you select the period for which the sales should be displayed.The list contains all affiliates who have generated sales in the selected period.Access rightsRead access or full access required.Argumentsfrom – month, e.g. 2015-01to – month, e.g. 2015-12affiliate (optional) – Digistore id of an affiliatecurrency (optional) –currency code to show the revenue for. Defaults to the api key's owner's default currency. Example values: USD, EUR, GBP, CHF, PLN.Return datatop_list: List of sales. The following values are displayed for each affiliate:affiliate_id: numerical ID of the affiliateaffiliate_name: Digistore ID of the affiliate (in text form)currency: currency (e.g.: EUR, USD)brutto_amount: gross sales of the affiliatenetto_amount: net sales of the affiliatepayment_amount: Total of all payments (gross)refund_amount: Total of all refundschargeback_amount: Total of all chargebackscancellation_amount: Total of all refunds and chargebacksaffiliate_amount: Payout amount for the affiliatemerchant_amount: Payout amount for you as vendorrefund_quota: Refund quotachargeback_quota: Chargeback quotacancellation_quota: Cancellation quota (taking into account refunds and chargebacks)