update_pricing_tier
Update a pricing tier by id; only fields you pass change (same price rules as create). Pass credit_type_ids to re-scope it ([] = all credit types), is_active: false to stop selling it without deleting. Costs 1 CRD (platform credit) per call, charged even when the call is then rejected (a 429 RATE_LIMITED costs nothing). Error results include request_id; quote it to support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Pricing tier ID | |
| name | No | ||
| price | No | Price in dollars | |
| api_key | No | Cred API key (optional if set via the x-api-key header) | |
| credits | No | ||
| currency | No | ||
| is_active | No | Whether the tier can be purchased | |
| is_popular | No | ||
| project_id | No | Cred project ID (optional; the API key already identifies the project) | |
| description | No | ||
| billing_type | No | Which checkouts may sell the tier. A subscription is created only when checkout is sent billing: "recurring"; recurring-only tiers cannot be used for saved-card charges or auto top-up. | |
| x402_payment | No | Base64 x402 PaymentPayload, only when a previous call failed with an x402 PaymentRequired because the account is out of CRD | |
| credit_type_ids | No | Credit type UUIDs; [] = all |