network.attested.payment.lookup
Look up verified payment records between a payer and a recipient. Returns only records whose attestations have been cryptographically verified. Results may include any combination of oneTime, recurring, and scheduled payment records.
Details · query
| Kind | query |
|---|---|
| Authority | payment.attested.network |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Look up verified payment records between a payer and a recipient. Returns only records whose attestations have been cryptographically verified. Results may include any combination of oneTime, recurring, and scheduled payment records.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"payments": {
"description": "List of verified payment records. Each element is a union of network.attested.payment.oneTime, network.attested.payment.recurring, or network.attested.payment.scheduled, discriminated by its $type field.",
"items": {
"refs": [
"network.attested.payment.oneTime",
"network.attested.payment.recurring",
"network.attested.payment.scheduled"
],
"type": "union"
},
"type": "array"
}
},
"required": [
"payments"
],
"type": "object"
}
},
"parameters": {
"properties": {
"brokers": {
"description": "Optional list of broker DIDs. When provided, only returns payments that have at least one validating signature from an identity in this list.",
"items": {
"format": "did",
"type": "string"
},
"type": "array"
},
"entitlements": {
"description": "Optional list of entitlement AT-URIs. When provided, only returns payments whose entitlements array contains one or more of the given references.",
"items": {
"format": "at-uri",
"type": "string"
},
"type": "array"
},
"payer": {
"description": "DID of the payer (supporter).",
"format": "did",
"type": "string"
},
"paymentType": {
"description": "Optional filter by payment collection. Must be a full NSID identifying one of the network.attested.payment record types.",
"format": "nsid",
"knownValues": [
"network.attested.payment.oneTime",
"network.attested.payment.recurring",
"network.attested.payment.scheduled"
],
"type": "string"
},
"recipient": {
"description": "DID of the recipient (creator).",
"format": "did",
"type": "string"
}
},
"required": [
"payer",
"recipient"
],
"type": "params"
},
"type": "query"
}
},
"id": "network.attested.payment.lookup",
"lexicon": 1
}