{"lexicon":1,"id":"money.atmosphere.payment.declineRecord","defs":{"main":{"type":"procedure","description":"Signal that the originating app cannot write a delegated record. ATM broker-writes when possible instead of waiting for the TTL.","input":{"encoding":"application/json","schema":{"type":"object","required":["paymentId","recordType"],"properties":{"paymentId":{"type":"string","maxLength":128},"recordType":{"type":"string","knownValues":["payer","creator"],"maxLength":16},"reason":{"type":"string","maxLength":256}}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["paymentId","recordType","resolvedVia"],"properties":{"paymentId":{"type":"string","maxLength":128},"recordType":{"type":"string","knownValues":["payer","creator"],"maxLength":16},"resolvedVia":{"type":"string","knownValues":["broker","declined"],"maxLength":16}}}}}}}