com.atiproto.subscription
A record representing a subscription from one user to another
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | atiproto.com |
| Indexed |
Record
record · key anyProperties
accessUntil
string · datetimeDate until which the subscriber retains access after cancellation
Subscription amount in cents (0 for free subscriptions)
minimum: 0
First billing period, can be used to determine recurrence
cancelledAt
string · datetimeCancellation timestamp
Creation timestamp
ISO 4217 currency code
maxLength: 3
Billing interval
maxLength: 64enum: monthly | yearly
Subscription status
maxLength: 64enum: pending | active | past_due | cancelled | expired
DID of the user being subscribed to
#view
objectView of a subscription record for use in API responses
Properties
accessUntil
string · datetimeDate until which the subscriber retains access after cancellation
Subscription amount in cents (0 for free subscriptions)
minimum: 0
First billing period, can be used to determine recurrence
cancelledAt
string · datetimeCancellation timestamp
Creation timestamp
ISO 4217 currency code
maxLength: 3
Billing interval
maxLength: 64enum: monthly | yearly
renewalDate
string · datetimeNext scheduled renewal/billing date. Server-derived from the billing schedule; not stored in PDS. Omitted when not applicable (e.g. cancelled or unauthenticated views).
Subscription status
maxLength: 64enum: pending | active | past_due | cancelled | expired
subject
string · didDID of the user being subscribed to
AT-URI of the subscription record
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
The fee, billing cycle, period and status of subscription services.
-
A recurring payment commitment. Immutable once created — supporters cancel and create new subscriptions to change terms. Bills on anniversary dates with automatic retry on failure.
-
Get a specific subscription sent by the authenticated user. Looks up by subscription record uri or subject (recipient) DID. These are mutually exclusive; uri takes precedence.
-
blue.hearth.tier
recordA subscription tier offered by a creator. Lives in the creator's repository, so the creator is the repo owner and is not repeated as a field. Tiers are tied to the creator's DID rather than to any publication or app.
-
Count active subscriptions. If subject is provided, counts subscriptions received by that DID. If omitted, counts subscriptions the authenticated user has active (as the subscriber). Optionally filtered by a start/end datetime window (matching billingStartDate). When the authenticated user is the subject/owner of the target, the response also includes the sum of amounts.