GET /api/v1/subscriptions/status
Return the current subscription tier, status, credit balance, and billing details for your account.
Response
Current plan:
"developer" or "pro".Stripe subscription status:
"active", "inactive", "past_due", "canceled", etc.Total available credits (permanent + unexpired temporary grants).
ISO 8601 timestamp of the earliest expiring credit grant.
null when none.Current monthly USD cost including add-ons.
List of active add-on type strings (e.g.
["starter", "fuel"]).Map of add-on type to quantity (e.g.
{ "fuel": 2 }).ISO 8601 timestamp of the next billing event.
ISO 8601 start of the current billing period.
ISO 8601 end of the current billing period.
Example
cURL
Response
POST /api/v1/subscriptions/checkout-session
Create a Stripe Checkout Session for subscribing to the Pro plan. Payments are processed via Stripe’s crypto/stablecoin checkout.
Request body
Must be
"pro". Other tiers require direct contact.Optional list of add-on type strings to include in the subscription from the start.
Response
Stripe-hosted checkout URL. Redirect the user to this URL to complete payment.
Stripe checkout session ID for reference.
Example
cURL
Response
After the user completes checkout, Stripe sends a webhook to DeepCurrent which activates the subscription and credits the account. The
status field in GET /subscriptions/status will update to "active" once the webhook is processed.