# space.highport.manage.listDomainBilling

> Published by [lexicons.highport.space](https://lexicon.garden/identity/did:plc:ciygg5hma4q7ah2kxaszkyob)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.listDomainBilling)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.listDomainBilling/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.listDomainBilling/examples)

## Definitions

### `space.highport.manage.listDomainBilling`

**Type**: `query`

The payer policy of every domain the caller owns. A domain with nothing set reports the default: the owner pays, with no visitor cap.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No | Maximum entries to return. |
| `cursor` | `string` | No | Pagination cursor from a previous response. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No | Present when more entries exist. |
| `domains` | `array` | Yes |  |

## Raw Schema

```json
{
  "id": "space.highport.manage.listDomainBilling",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "domains"
          ],
          "properties": {
            "cursor": {
              "type": "string",
              "description": "Present when more entries exist."
            },
            "domains": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "domain",
                  "payerPolicy",
                  "fallbackToOwner"
                ],
                "properties": {
                  "domain": {
                    "type": "string",
                    "description": "The domain."
                  },
                  "updatedAt": {
                    "type": "string",
                    "format": "datetime",
                    "description": "When this last changed. Absent when the domain is using the default."
                  },
                  "payerPolicy": {
                    "type": "string",
                    "description": "owner or visitor.",
                    "knownValues": [
                      "owner",
                      "visitor"
                    ]
                  },
                  "fallbackToOwner": {
                    "type": "boolean",
                    "description": "Under the visitor policy: whether a visitor who has run out falls back to the owner instead of being refused."
                  },
                  "visitorCapBytes": {
                    "type": "integer",
                    "description": "The most any one visitor can spend here per period."
                  },
                  "ownerBudgetBytes": {
                    "type": "integer",
                    "minimum": 0,
                    "description": "How many bytes of the owner's allowance this site may spend per period on readers who are not signed in. 0 requires sign-in for everything. When set, it determines payerPolicy and fallbackToOwner; when omitted, those two apply as set."
                  }
                },
                "description": "Whose allowance a domain's traffic uses."
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum entries to return."
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor from a previous response."
          }
        }
      },
      "description": "The payer policy of every domain the caller owns. A domain with nothing set reports the default: the owner pays, with no visitor cap."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
