network.attested.payment.scheduled

attested.network

Documentation

A fixed series of payments. Unlike recurring payments that continue indefinitely, scheduled payments specify a total count and terminate automatically upon completion.

main record

A fixed series of payments. Unlike recurring payments that continue indefinitely, scheduled payments specify a total count and terminate automatically upon completion.

Record Key tid Timestamp-based ID

Properties

amount integer Required

Amount per payment in the smallest unit of the given currency.

minimum: 1
count integer Required

Total number of scheduled payments.

minimum: 2maximum: 60
createdAt string datetime Required

Timestamp of schedule creation; also the first payment date.

currency string Required

ISO 4217 currency code (e.g. USD, EUR).

maxLength: 3 bytesminLength: 3 bytes
entitlements array of ref com.atproto.repo.strongRef Optional

Optional list of strong references to records representing goods or services the payer is entitled to as a result of this payment. Referenced records may use any lexicon; their schemas are not defined by this spec.

signatures array of ref com.atproto.repo.strongRef Optional

Attestation entries. Each entry is a com.atproto.repo.strongRef pointing to a network.attested.payment.proof record in a creator or broker repository.

subject string did Required

DID of the creator receiving payment.

txnid string Required

Unique transaction identifier for deduplication. Typically a ULID or UUID assigned by the payment broker.

maxLength: 64 bytes
unit string Required

Interval between scheduled payments.

Known values: monthly, quarterly, semiannual, yearly
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "amount",
      "currency",
      "unit",
      "count",
      "txnid",
      "createdAt"
    ],
    "properties": {
      "unit": {
        "type": "string",
        "description": "Interval between scheduled payments.",
        "knownValues": [
          "monthly",
          "quarterly",
          "semiannual",
          "yearly"
        ]
      },
      "count": {
        "type": "integer",
        "maximum": 60,
        "minimum": 2,
        "description": "Total number of scheduled payments."
      },
      "txnid": {
        "type": "string",
        "maxLength": 64,
        "description": "Unique transaction identifier for deduplication. Typically a ULID or UUID assigned by the payment broker."
      },
      "amount": {
        "type": "integer",
        "minimum": 1,
        "description": "Amount per payment in the smallest unit of the given currency."
      },
      "subject": {
        "type": "string",
        "format": "did",
        "description": "DID of the creator receiving payment."
      },
      "currency": {
        "type": "string",
        "maxLength": 3,
        "minLength": 3,
        "description": "ISO 4217 currency code (e.g. USD, EUR)."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp of schedule creation; also the first payment date."
      },
      "signatures": {
        "type": "array",
        "items": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "description": "Attestation entries. Each entry is a com.atproto.repo.strongRef pointing to a network.attested.payment.proof record in a creator or broker repository."
      },
      "entitlements": {
        "type": "array",
        "items": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "description": "Optional list of strong references to records representing goods or services the payer is entitled to as a result of this payment. Referenced records may use any lexicon; their schemas are not defined by this spec."
      }
    }
  },
  "description": "A fixed series of payments. Unlike recurring payments that continue indefinitely, scheduled payments specify a total count and terminate automatically upon completion."
}

Lexicon Garden

@