{"lexicon":1,"id":"money.atmosphere.app.getRecipientApproval","defs":{"main":{"type":"query","description":"Read the calling app's current creator approval and coarse payment setup state for one exact environment. Requires registered app service-auth for this method. Never requests or approves terms. Only an approved relationship permits a fresh payment-account readiness check; the result is advisory and checkout still enforces current authorization and payment gates.","parameters":{"type":"params","required":["recipientDid","environment"],"properties":{"recipientDid":{"type":"string","format":"did","maxLength":2048},"environment":{"type":"string","knownValues":["test","live"],"maxLength":16}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["status","paymentSetup"],"properties":{"status":{"type":"string","knownValues":["not-requested","pending","approved","blocked","revoked","needs-review"],"maxLength":32},"id":{"type":"string","maxLength":128},"onboardingUrl":{"type":"string","format":"uri"},"paymentSetup":{"type":"string","knownValues":["not-checked","required","ready","unavailable"],"maxLength":32,"description":"not-checked when this app has no current approval; required when an approved creator must complete payment setup; ready only after fresh capability and current relationship checks; unavailable when readiness cannot be confirmed. Never includes payment-account identifiers, requirements, or processor errors."}}}},"errors":[{"name":"AppNotRegistered"},{"name":"AppEnvironmentNotConfigured"},{"name":"StatusUnavailable"}]}}}