# Get the rules

> Whether Cash Payback is on, its split, when rounds run, how holding is weighted, and what a terminal needs to read and launch baskets without hardcoding them.


`GET https://payday.direct/api/v1/payback`

Whether Cash Payback is on, its split, when rounds run, how holding is weighted, and what a terminal needs to read and launch baskets without hardcoding them.

## Responses

- 200: OK
- 401: Missing or invalid key
- 429: Over the limit. Retry-After says when to try again.

```json
{
  "data": {
    "enabled": true,
    "rules": {
      "mode": "cash_payback",
      "name": "Cash Payback",
      "split": {
        "burn_pct": 10,
        "treasury_pct": 5,
        "dex_pct": 70,
        "holders_pct": 15,
        "holders_after_dex_pct": 85
      },
      "dex_cost_usdc": 299,
      "return_days": 7,
      "rounds": {
        "round_usd": 50,
        "daily_usd": 5,
        "min_gap_min": 15
      }
    },
    "baskets": {
      "open": true,
      "types": [
        "payout",
        "fund"
      ],
      "min_assets": 1,
      "max_assets": 15,
      "suggested_assets": [
        3,
        5
      ],
      "locked_at_launch": true
    }
  }
}
```

## Example

```bash
curl "https://payday.direct/api/v1/payback" \
  -H "Authorization: Bearer pd_YOUR_KEY"
```