POST /subscriptions/checkout
Initiate a subscription checkout flow. Auth: required.One of
plus, pro, max.One of
cryptobot, platega, usdt_bep20.checkoutUrl is provider-specific. Redirect the user there. Activation happens server-side once the provider’s webhook confirms.
GET /me/subscription
Fetch the current user’s active subscription. Auth: required.status values: active, grace (failed renewal, retrying), canceled, none.
POST /me/payouts/request
Withdraw FLOW. See Payouts for the full flow.Amount in FLOW. Must be ≤ withdrawable balance.
usdt_bep20, cryptobot, or manual.Required for
usdt_bep20.GET /me/payouts
List the user’s payouts.id, amountFlow, feeFlow, rail, status, createdAt.
GET /me/payouts/:id
Single payout detail, including rail-specific tx hash ifsent or confirmed.
POST /me/payouts/:id/cancel
Cancel apending payout and re-credit the FLOW.
Errors
| Code | When |
|---|---|
tier_unknown | Bad tier value |
provider_unsupported | Provider not enabled in this deployment |
subscription_active | New checkout while one is already active |
withdraw_too_low | Below the rail’s minimum |
withdraw_too_high | Above withdrawable balance |
address_required | Missing address for on-chain rail |
payout_immutable | Cancel attempted on sent/confirmed payout |