{"lexicon":1,"id":"money.atmosphere.payment.verifyRecord","defs":{"main":{"type":"query","description":"Verify one exact public attested payment strongRef against ATM's current active broker proof. Returns the exact public payment and broker-proof generations needed for independent verification; never scans or truncates a payer's payment history.","parameters":{"type":"params","required":["paymentUri","paymentCid"],"properties":{"paymentUri":{"type":"string","format":"at-uri","description":"Exact AT-URI of a network.attested.payment record in its payer-of-record repository. For an anonymous public payment, that repository may be ATM-owned."},"paymentCid":{"type":"string","format":"cid","description":"Exact record CID paired with paymentUri."},"recipient":{"type":"string","format":"did","description":"Optional expected recipient DID. A mismatch returns verified false."}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["verified"],"properties":{"verified":{"type":"boolean","description":"True only when this exact payer record is indexed and backed by ATM's current active broker-proof generation."},"payment":{"type":"ref","ref":"com.atproto.repo.strongRef","description":"The exact verified payment record generation."},"paymentRecord":{"type":"union","refs":["network.attested.payment.oneTime","network.attested.payment.recurring","network.attested.payment.scheduled"],"description":"Verbatim public payment record body for CID and attestation-CID verification."},"payer":{"type":"string","format":"did","description":"Payer-of-record repository DID. For an anonymous public payment, this may be ATM's DID rather than a supporter DID."},"recipient":{"type":"string","format":"did"},"paymentType":{"type":"string","format":"nsid","knownValues":["network.attested.payment.oneTime","network.attested.payment.recurring","network.attested.payment.scheduled"]},"attestationCid":{"type":"string","format":"cid","description":"CID the broker proof attests after attested.network canonicalization."},"broker":{"type":"string","format":"did","description":"Trusted broker DID that authored brokerProof."},"brokerProof":{"type":"ref","ref":"com.atproto.repo.strongRef","description":"Exact current active network.attested.payment.proof generation."},"brokerProofRecord":{"type":"ref","ref":"network.attested.payment.proof","description":"Verbatim public broker-proof body for independent lifecycle and CID verification."}}}}}}}