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
| Kind | query |
|---|---|
| Authority | payment.attested.network |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.tokenNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$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
}