{"lexicon":1,"id":"network.attested.payment.status","defs":{"main":{"type":"query","description":"Check the status of a payment initiated via network.attested.payment.initiate.","parameters":{"type":"params","required":["token"],"properties":{"token":{"type":"string","description":"Token returned from network.attested.payment.initiate."}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["status"],"properties":{"status":{"type":"string","knownValues":["pending","completed","failed"],"description":"Current payment status."},"ref":{"type":"ref","ref":"com.atproto.repo.strongRef","description":"Present when status is completed. Points to the attested payment record in the payer's repository."}}}}}}}