{"lexicon":1,"id":"money.atmosphere.app.assertRecipient","defs":{"main":{"type":"procedure","description":"Service-auth capability NSID used by an app to assert that a signed-in recipient (creator) DID was present when the app requested recipient approval. This method is not exposed as a browser API; ATM verifies lxm in a short-lived service-auth JWT passed to money.atmosphere.app.requestRecipientApproval. A verified assertion authorizes auto-approving the app for that recipient.","input":{"encoding":"application/json","schema":{"type":"object","required":["recipientDid"],"properties":{"recipientDid":{"type":"string","format":"did","description":"The recipient (creator) DID asserted by the app-held user session."}}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["accepted"],"properties":{"accepted":{"type":"boolean"}}}},"errors":[{"name":"InvalidRecipientAssertion","description":"The recipient assertion JWT was malformed or unusable."},{"name":"RecipientAssertionVerificationFailed","description":"The recipient assertion JWT failed verification."},{"name":"RecipientDidMismatch","description":"The assertion issuer does not match the recipientDid."}]}}}