> ## Documentation Index
> Fetch the complete documentation index at: https://docs.poixe.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Affiliate Earnings

```bash curl theme={"theme":{"light":"min-light","dark":"min-dark"}}
curl https://sys.poixe.com/api/affiliate/earnings \
  -H "Authorization: Bearer $POIXE_SYSTEM_TOKEN"
```

```json response theme={"theme":{"light":"min-light","dark":"min-dark"}}
{
  "is_certified": true,
  "earnings": {
    "total_earnings": 80.000,
    "paid_cash": 50.000,
    "unpaid_cash": 30.000
  },
  "timestamp": 1731337200
}
```

GET
`https://sys.poixe.com/api/affiliate/earnings`

Retrieve the affiliate earnings summary for the current account.

## Response Fields

**is\_certified** `boolean`

Whether the current account is certified for the affiliate program

**earnings** `object`

Earnings summary:

**earnings fields**

**total\_earnings** `number`

Cumulative total affiliate earnings in USD, rounded to 3 decimal places

**paid\_cash** `number`

Settled amount in USD

**unpaid\_cash** `number`

Pending settlement amount in USD

**timestamp** `integer`

Response timestamp (Unix seconds)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.