Billing

Create team subscription

post/api/v3/teams/{team_id}/subscriptions

Request

Path parameters

team_idstring required

Request body

category'cicd' | 'codepush' required

The product line a subscription belongs to.

pricing_model'flat_rate' | 'usage_based' required
interval'monthly' | 'annual' required

How often a subscription is billed.

idempotency_keystring nullable

Client key for this payment attempt. Reuse the same key on timeout and 5xx. Mint a new key on 400 and 422 client errors: card or promotion-code decline. On 409, re-read the team's subscriptions before retrying: an earlier attempt with this key may already have created one.

codestring nullable

Response

Document created, URL follows

Changes

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