network.attested.payment.lookup

attested.network

Documentation

Look up verified payment records between a payer and a recipient. Returns only records whose attestations have been cryptographically verified. Results may include any combination of oneTime, recurring, and scheduled payment records.

main query

Look up verified payment records between a payer and a recipient. Returns only records whose attestations have been cryptographically verified. Results may include any combination of oneTime, recurring, and scheduled payment records.

Parameters

brokers array of string Optional

Optional list of broker DIDs. When provided, only returns payments that have at least one validating signature from an identity in this list.

entitlements array of string Optional

Optional list of entitlement AT-URIs. When provided, only returns payments whose entitlements array contains one or more of the given references.

payer string did Required

DID of the payer (supporter).

paymentType string nsid Optional

Optional filter by payment collection. Must be a full NSID identifying one of the network.attested.payment record types.

recipient string did Required

DID of the recipient (creator).

Output

Encodingapplication/json
payments array Required

List of verified payment records. Each element is a union of network.attested.payment.oneTime, network.attested.payment.recurring, or network.attested.payment.scheduled, discriminated by its $type field.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Optional list of broker DIDs. When provided, only returns payments that have at least one validating signature from an identity in this list.
Optional list of entitlement AT-URIs. When provided, only returns payments whose entitlements array contains one or more of the given references.
DID of the payer (supporter).
Optional filter by payment collection. Must be a full NSID identifying one of the network.attested.payment record types.
DID of the recipient (creator).
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "payments"
      ],
      "properties": {
        "payments": {
          "type": "array",
          "items": {
            "refs": [
              "network.attested.payment.oneTime",
              "network.attested.payment.recurring",
              "network.attested.payment.scheduled"
            ],
            "type": "union"
          },
          "description": "List of verified payment records. Each element is a union of network.attested.payment.oneTime, network.attested.payment.recurring, or network.attested.payment.scheduled, discriminated by its $type field."
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "payer",
      "recipient"
    ],
    "properties": {
      "payer": {
        "type": "string",
        "format": "did",
        "description": "DID of the payer (supporter)."
      },
      "brokers": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "did"
        },
        "description": "Optional list of broker DIDs. When provided, only returns payments that have at least one validating signature from an identity in this list."
      },
      "recipient": {
        "type": "string",
        "format": "did",
        "description": "DID of the recipient (creator)."
      },
      "paymentType": {
        "type": "string",
        "format": "nsid",
        "description": "Optional filter by payment collection. Must be a full NSID identifying one of the network.attested.payment record types.",
        "knownValues": [
          "network.attested.payment.oneTime",
          "network.attested.payment.recurring",
          "network.attested.payment.scheduled"
        ]
      },
      "entitlements": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "at-uri"
        },
        "description": "Optional list of entitlement AT-URIs. When provided, only returns payments whose entitlements array contains one or more of the given references."
      }
    }
  },
  "description": "Look up verified payment records between a payer and a recipient. Returns only records whose attestations have been cryptographically verified. Results may include any combination of oneTime, recurring, and scheduled payment records."
}

Lexicon Garden

@