A verified transaction between two ATProto identities that must be stored in both parties' PDS
Properties
amount
string
Optional
Transaction amount (optional, in whatever currency applies)
createdAt
string
datetime
Required
When the transaction occurred
currency
string
Optional
Currency code (optional, e.g. USD, EUR, BTC)
maxLength: 10 bytesdescription
string
Optional
Description of the service or product transacted
maxLength: 500 bytesserviceConsumer
string
Required
DID of the service consumer identity
serviceProvider
string
Required
DID of the service provider identity
transactionId
string
Required
Unique identifier for this transaction, must be identical in both parties' records
maxLength: 128 bytesView raw schema
{
"description": "A verified transaction between two ATProto identities that must be stored in both parties' PDS",
"record": {
"properties": {
"amount": {
"description": "Transaction amount (optional, in whatever currency applies)",
"type": "string"
},
"createdAt": {
"description": "When the transaction occurred",
"format": "datetime",
"type": "string"
},
"currency": {
"description": "Currency code (optional, e.g. USD, EUR, BTC)",
"maxLength": 10,
"type": "string"
},
"description": {
"description": "Description of the service or product transacted",
"maxLength": 500,
"type": "string"
},
"serviceConsumer": {
"description": "DID of the service consumer identity",
"type": "string"
},
"serviceProvider": {
"description": "DID of the service provider identity",
"type": "string"
},
"transactionId": {
"description": "Unique identifier for this transaction, must be identical in both parties' records",
"maxLength": 128,
"type": "string"
}
},
"required": [
"serviceProvider",
"serviceConsumer",
"transactionId",
"createdAt"
],
"type": "object"
},
"type": "record"
}