Profile

Purchase Subscription

Purchase a subscription via finance.pay (wallet). Card checkout uses payments.create.

post/api/profile/subscriptions/purchase

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/profile/subscriptions/purchase
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

tierstring required

Subscription tier (free, starter, pro, premium, enterprise)

billing_cyclestring

Billing cycle (monthly, yearly)

wallet_idstring nullable

Wallet ID to use for payment (required)

currencystring

Currency for payment

idempotency_keystring nullable

Idempotency key for finance.pay execute

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.