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