Skip to main content
POST
Activate a subscription

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
planId
string
required

On-chain PlanFactory plan ID.

paymentAccount
string
required

Subscriber wallet (EVM EOA/smart account, Stellar account, or Solana wallet) with autopay configured and sufficient balance/allowance.

company
object
required

At least one of id, wallet, or email.

subscriberEmail
string

Email for billing receipts.

couponCode
string

Optional coupon applied at activation.

Response

Subscription activated

data
object