dev.cocore.compute.paymentAuthorization
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"key": "tid",
"record": {
"properties": {
"ceiling": {
"description": "Maximum amount the exchange may charge under this authorization.",
"ref": "dev.cocore.compute.defs#money",
"type": "ref"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"exchange": {
"description": "DID of the exchange authorized to charge.",
"format": "did",
"type": "string"
},
"expiresAt": {
"format": "datetime",
"type": "string"
},
"nonce": {
"description": "16 random bytes, hex-encoded. Replay protection: any settlement re-using a consumed nonce is invalid.",
"maxLength": 32,
"minLength": 32,
"type": "string"
},
"scope": {
"description": "singleJob: authorization is consumed by a single matching receipt. session: a bounded set of jobs may share this authorization until expiresAt.",
"knownValues": [
"singleJob",
"session"
],
"type": "string"
},
"sessionBudget": {
"description": "When scope=session, total cumulative charges across all settlements under this authorization MUST NOT exceed sessionBudget. Ignored when scope=singleJob.",
"ref": "dev.cocore.compute.defs#money",
"type": "ref"
}
},
"required": [
"exchange",
"ceiling",
"scope",
"nonce",
"expiresAt",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"description": "A requester's signed authorization permitting a named exchange to charge them up to a ceiling for a specific job. Published in the requester's repo before any work runs. Settlement records strong-ref this authorization to prove consent.",
"id": "dev.cocore.compute.paymentAuthorization",
"lexicon": 1
}
Metadata
- DID
-
did:plc:5quuhkmwe2q4k3azfsgg7kdz - CID
-
bafyreia2cqxqwghsk6t6optrygcwd3o7curu6zojccw5cpsqsrrz2ycx2q - Indexed At
- 2026-06-17 21:16 UTC
- AT-URI
-
at://did:plc:5quuhkmwe2q4k3azfsgg7kdz/com.atproto.lexicon.schema/dev.cocore.compute.paymentAuthorization
Referenced Schemas (1)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
An exchange's signed proof of payment for a receipt. Published by the exchange in its own repo. Strong-refs both the receipt being settled and the requester's payment authorization, so the full chain is independently ve…