net.wireservice.payment
A single payment or donation, stored in the publication's business space.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | wireservice.net |
| Indexed |
Checks
Valid Lint pass{
"$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
}