com.atiproto.profile
recordcom.atiprotoRecord Schema
| Name | Type | Required | Description |
|---|---|---|---|
| acceptsItems | boolean | optional | Whether the user accepts one-time items (default: true). |
| acceptsSubscriptions | boolean | optional | Whether the user accepts subscriptions (default: true). |
| createdAt | string (datetime) | required | |
| updatedAt | string (datetime) | optional |
Type: view
| Name | Type | Required | Description |
|---|---|---|---|
| uri | string (at-uri) | required | |
| acceptsItems | boolean | optional | |
| acceptsSubscriptions | boolean | optional | |
| acceptingPayments | boolean | optional | True 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. |
| createdAt | string (datetime) | required | |
| updatedAt | string (datetime) | optional |
Usage Example
typescript
import { Agent } from "@atiproto/agent";// Create a TipAgent from any XrpcClientconst paymentAgent = new Agent(authenticatedClient);// com.atiproto.profile record shapeconst record = {acceptsItems: true,acceptsSubscriptions: true,createdAt: "2026-01-01T00:00:00.000Z",updatedAt: "2026-01-01T00:00:00.000Z"};