{"lexicon":1,"id":"money.atmosphere.payment.listPendingRecords","defs":{"main":{"type":"query","description":"List pending payer/creator records the originating app may upgrade. Filtered by payerDid or recipientDid. Requires a service-auth JWT signed by the originator DID.","parameters":{"type":"params","properties":{"payerDid":{"type":"string","format":"did"},"recipientDid":{"type":"string","format":"did"},"recordType":{"type":"string","knownValues":["payer","creator","any"],"maxLength":16,"default":"any"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50},"cursor":{"type":"string","maxLength":512}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["records"],"properties":{"records":{"type":"array","items":{"type":"object","required":["paymentId","recordType","expectedCid"],"properties":{"paymentId":{"type":"string","maxLength":128},"recordType":{"type":"string","knownValues":["payer","creator"],"maxLength":16},"payerDid":{"type":"string","format":"did"},"recipientDid":{"type":"string","format":"did"},"collection":{"type":"string","format":"nsid"},"canonicalRecord":{"type":"unknown"},"attestationCid":{"type":"string","format":"cid"},"expectedCid":{"type":"string","format":"cid"}}}},"cursor":{"type":"string","maxLength":512}}}}}}}