# com.atiproto.recipient.payment.subscription.get

> Published by [atiproto.com](https://lexicon.garden/identity/did:plc:4x5dcv6u4wlkjcssto7f22nu)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atiproto.recipient.payment.subscription.get)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atiproto.recipient.payment.subscription.get/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4x5dcv6u4wlkjcssto7f22nu/com.atiproto.recipient.payment.subscription.get/examples)

## Definitions

### `com.atiproto.recipient.payment.subscription.get`

**Type**: `query`

Get a specific subscription received by the authenticated user (as the recipient/subject). Looks up by subscription record uri or sender DID. These are mutually exclusive; uri takes precedence.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | No | AT-URI of the subscription record. Takes precedence over sender. |
| `sender` | `string` (did) | No | DID of the subscriber. Ignored if uri is provided. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `subscription` | `ref` → `com.atiproto.subscription#view` | Yes | The subscription record data |

## Raw Schema

```json
{
  "id": "com.atiproto.recipient.payment.subscription.get",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "subscription"
          ],
          "properties": {
            "subscription": {
              "ref": "com.atiproto.subscription#view",
              "type": "ref",
              "description": "The subscription record data"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "uri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the subscription record. Takes precedence over sender."
          },
          "sender": {
            "type": "string",
            "format": "did",
            "description": "DID of the subscriber. Ignored if uri is provided."
          }
        }
      },
      "description": "Get a specific subscription received by the authenticated user (as the recipient/subject). Looks up by subscription record uri or sender DID. These are mutually exclusive; uri takes precedence."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
