Skip to main content
POST

Authentication

This endpoint requires a Bearer token in the Authorization header.

Path Parameters

string
required
The unique identifier of the subscription plan to subscribe to.

Body Parameters

string
required
The email address of the customer subscribing to the plan. Used for sending receipts and renewal notifications.
string
required
The full name of the customer.
string
required
The customer’s cryptocurrency wallet address. Recurring payments will be collected from this address via the on-chain subscription smart contract.

Response

string
Unique identifier for the subscription.
string
The ID of the subscription plan.
string
The name of the subscription plan.
string
The subscriber’s email address.
string
The subscriber’s name.
string
The subscriber’s wallet address.
string
The subscription status. Newly created subscriptions start as active (or trialing if the plan has a trial period).
string
ISO 8601 timestamp marking the start of the current billing period.
string
ISO 8601 timestamp marking the end of the current billing period.
string
ISO 8601 timestamp marking when the trial period ends, if applicable.
string
ISO 8601 timestamp of when the subscription was created.