List affiliate invoices
Invoices for affiliate payouts. Filters: status, affiliateId.
GET
Requires scope invoices:read.
apiKeyheader
AuthorizationBearer <token>An API key: pk_company_… (network), pk_aff_… (affiliate) or pk_adv_… (advertiser). X-Api-Key works too.
status?stringaffiliateId?integerFormat
int32sort?stringpage?integerFormat
int32pageSize?integerFormat
int32OK
application/json- response
data?array<>pagination?curl -X GET 'https://trakcrt.com/api/v1/network/affiliate-invoices'Example Response
{ "data": [ { "publicId": 0, "number": "string", "affiliate": { "publicId": 0, "name": "string" }, "status": "string", "currency": "string", "total": 0.1, "amountPaid": 0.1, "periodStart": "2019-08-24T14:15:22Z", "periodEnd": "2019-08-24T14:15:22Z", "issuedAt": "2019-08-24T14:15:22Z", "dueAt": "2019-08-24T14:15:22Z", "paidAt": "2019-08-24T14:15:22Z" } ], "pagination": { "page": 0, "pageSize": 0, "totalCount": 0, "totalPages": 0 }}