# com.publicdomainrelay.temp.market.bids.x402

> Published by [johnandersen777.bsky.social](https://lexicon.garden/identity/did:plc:5svqtrhheairglgiiyvutzik)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.market.bids.x402)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.market.bids.x402/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.market.bids.x402/examples)

## Definitions

### `com.publicdomainrelay.temp.market.bids.x402`

**Type**: `record`

Includes pricing/payment terms and x402 endpoint for issuing a receipt against an accept.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` | Yes | x402 payment URL template (may contain {at} and {cid} placeholders for the com.publicdomainrelay.temp.market.accept AT URI/CID). |
| `cost` | `unknown` | Yes | Numeric price (integer or float) per the chosen frequency. |
| `prepay` | `boolean` | Yes | Whether payment is required before compute starts. |
| `currency` | `string` | Yes | Currency code, e.g. 'USDC'. |
| `frequency` | `string` | Yes | Billing frequency, e.g. 'monthly', 'hourly', 'one-time'. |

## Raw Schema

```json
{
  "id": "com.publicdomainrelay.temp.market.bids.x402",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "cost",
          "currency",
          "frequency",
          "prepay",
          "url"
        ],
        "properties": {
          "url": {
            "type": "string",
            "description": "x402 payment URL template (may contain {at} and {cid} placeholders for the com.publicdomainrelay.temp.market.accept AT URI/CID)."
          },
          "cost": {
            "type": "unknown",
            "description": "Numeric price (integer or float) per the chosen frequency."
          },
          "prepay": {
            "type": "boolean",
            "description": "Whether payment is required before compute starts."
          },
          "currency": {
            "type": "string",
            "description": "Currency code, e.g. 'USDC'."
          },
          "frequency": {
            "type": "string",
            "description": "Billing frequency, e.g. 'monthly', 'hourly', 'one-time'."
          }
        }
      },
      "description": "Includes pricing/payment terms and x402 endpoint for issuing a receipt against an accept."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
