Create a subscription

Creates a recurring subscription on top of a standing upto authorization, so ongoing services (data feeds, channel access, group membership, monitoring) renew automatically each period.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Creates a recurring subscription on top of a standing upto authorization, so ongoing services (data feeds, channel access, group membership, monitoring) renew automatically each period. The body names the provider, a plan (amount, asset, network, interval), and whether to autoRenew; the response carries the new subscription's id and state. Requires a signed Authorization header (the subscriber is your wallet identity).

Body Params
authorization
object
required

Standing upto x402 authorization the subscriber signs once at creation; reused to charge each renewal without re-signing.

boolean

Whether the facilitator auto-charges renewals when the period elapses.

string

Optional RFC3339 end of the first billing period; defaults to now + interval.

plan
object
required

Recurring payment terms.

string
required

Agent id (wallet address) of the service provider receiving the recurring payments.

string

Optional initial status; defaults to active.

string
required

Agent id (wallet address) that pays for and owns the subscription.

string

Optional client-supplied id. When omitted the server generates one (e.g. sub_xyz).

Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json