com.atiproto.profile

recordcom.atiproto

Record Schema

NameTypeRequiredDescription
acceptsItemsbooleanoptionalWhether the user accepts one-time items (default: true).
acceptsSubscriptionsbooleanoptionalWhether the user accepts subscriptions (default: true).
createdAtstring (datetime)required
updatedAtstring (datetime)optional

Type: view

NameTypeRequiredDescription
uristring (at-uri)required
acceptsItemsbooleanoptional
acceptsSubscriptionsbooleanoptional
acceptingPaymentsbooleanoptionalTrue when the user's DID document advertises at least one `PaymentBroker` service entry. For v2, the mere presence of a broker is taken as readiness.
createdAtstring (datetime)required
updatedAtstring (datetime)optional

Usage Example

typescript
import { Agent } from "@atiproto/agent";
// Create a TipAgent from any XrpcClient
const paymentAgent = new Agent(authenticatedClient);
// com.atiproto.profile record shape
const record = {
acceptsItems: true,
acceptsSubscriptions: true,
createdAt: "2026-01-01T00:00:00.000Z",
updatedAt: "2026-01-01T00:00:00.000Z"
};