net.wireservice.payment

A single payment or donation, stored in the publication's business space.

Repository @wireservice.net did:plc:lktj64hp7lc3fzuf6iyy7lwj not from the namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritywireservice.net
Indexed
cid bafyreia67ig2piospwnpkwixc7d2c6jbdfuwfk6fh5ovpga2pqmtplvgae

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A single payment or donation, stored in the publication's business space.",
      "key": "tid",
      "record": {
        "properties": {
          "amount": {
            "description": "Amount in the currency's minor unit (e.g., cents).",
            "minimum": 0,
            "type": "integer"
          },
          "currency": {
            "description": "ISO 4217 currency code, lowercase (e.g., 'usd').",
            "maxLength": 3,
            "type": "string"
          },
          "paidAt": {
            "format": "datetime",
            "type": "string"
          },
          "plan": {
            "format": "at-uri",
            "type": "string"
          },
          "reader": {
            "description": "URI of the net.wireservice.reader record.",
            "format": "uri",
            "type": "string"
          },
          "status": {
            "knownValues": [
              "succeeded",
              "refunded"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "stripeId": {
            "description": "Stripe invoice or payment intent id.",
            "maxLength": 256,
            "type": "string"
          }
        },
        "required": [
          "reader",
          "amount",
          "currency",
          "status",
          "paidAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.wireservice.payment",
  "lexicon": 1
}