network.attested.payment.status

Check the status of a payment initiated via network.attested.payment.initiate. Returns the current status and, when completed, a com.atproto.repo.strongRef pointing to the attested payment record in the payer's repository.

Details · query
Kindquery
Authoritypayment.attested.network
Indexed
cid bafyreibuwgzaibjwn7tyicezzvlyczbugjmefrletgsqlr4m4oawkehk3u

Checks

Valid
  • unlimited-string defs.main.parameters.properties.tokenNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Check the status of a payment initiated via network.attested.payment.initiate. Returns the current status and, when completed, a com.atproto.repo.strongRef pointing to the attested payment record in the payer's repository.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "ref": {
              "description": "Present when status is 'completed'. Points to the attested payment record in the payer's repository.",
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "status": {
              "description": "Current payment status.",
              "knownValues": [
                "pending",
                "completed",
                "failed"
              ],
              "type": "string"
            }
          },
          "required": [
            "status"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "token": {
            "description": "Token returned from network.attested.payment.initiate.",
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "network.attested.payment.status",
  "lexicon": 1
}