plan_.
Use the Variants API to create variants for products, list existing variants, retrieve or update variant configuration, calculate tax for checkout, and delete variants that should no longer be offered.
Endpoints
Attributes
Whether adaptive pricing is enabled for this variant. Raw setting — does not
check processor compatibility or feature flags.
Whether more than one unit can be purchased in an order. Renewal variants
cannot enable it. When
false, checkouts, carts, and invoices reject a
quantity above 1.Attribute values that distinguish this variant within its product, as a map of attribute name to value, e.g.
\{"color": "Blue", "size": "Large"}. Names are snake_case identifiers and come back in alphabetical order. Every attributed variant on a product carries the same attribute names and a distinct set of values; the product lists the full option set as variant_attributes. null when the variant has no attributes.Number of days between recurring charges, such as 30 for monthly or 365 for
annual.
null for one-time variants.How long the cancellation discount lasts:
0 forever, 1 the next payment
only, or a number of calendar months from when the customer accepts it. null
when none is offered or the actor lacks the plan:basic:read scope.Cancellation discount as a whole-number percentage.
null when none is
offered or the actor lacks the plan:basic:read scope.Variant-level checkout styling (
background_color, button_color,
font_family, border_style); null inherits the account default.Whether tax is collected on purchases of this variant, based on the account’s
tax configuration.
Three-letter ISO 4217 code of the currency every price on this variant is
stated in, lowercase: the variant’s own currency, or the
presentment_currency the read asked for when the variant can be converted
into it.Custom input fields collected on the checkout form.
Properties
Properties
Whether the variant can be deleted (it has no memberships or waitlist
entries).
null unless the actor has the plan:basic:read scope on the
variant’s account.Customer-visible variant description. Maximum 1000 characters.
null if no
description is set.The configuration governing a checkout for this variant, resolved through every layer (the variant’s own and the account’s) — the shape a session’s
payment_method_configuration carries. Apply it over the payment method types catalogue for the offerable set. null means platform defaults; payment_method_configuration stays the variant’s own editable override.Properties
Properties
Access duration in days for expiration-based variants, such as 365 for a
one-year pass.
null for variants without an expiration.Human-readable price for display (currency + interval) in
currency, e.g.
“$10 / month”.Pricing-tier image (
url, blurhash) shown on the product page; null when
no image is set.Total charged at checkout for one unit, before promo codes and tax. For recurring variants it is
initial_price plus the first renewal_price. It is initial_price alone while a free trial applies or the subscription_starts_at metadata key is in the future. The trial does not apply when the viewing user has already used one for this variant. Stated in currency.Properties
Properties
The amount in major units, as an exact decimal string. For example,
"10.00"
is ten dollars. It is a string so that no float rounds it in transit.How many decimal places the amount carries. This is the precision the charge
itself runs at.
Private notes not shown to customers.
null unless the actor has the
plan:basic:read scope on the variant’s account.Active memberships through this variant.
null unless the actor has the
plan:basic:read scope on the variant’s account.Custom key-value pairs stored on the variant. Included in webhook payloads for
payment and membership events. Maximum 50 keys, 100 characters per key, 500
characters per value. The reserved keys
custom_cta and custom_cta_url,
when set, override the product’s checkout call to action for this variant. The
reserved key subscription_starts_at takes an ISO 8601 timestamp on a
recurring variant. Until then, checkout saves the payment method without
charging it. The membership is scheduled with no access until the first
charge runs at that time.Whether a cancellation discount is offered.
null unless the actor has the
plan:basic:read scope on the variant’s account.Payment method configuration (
enabled, disabled,
include_platform_defaults); null when variant uses default settings.Where the customer is sent after paying for this variant.
null when none is
set, or unless the actor has the plan:basic:read scope on the variant’s
account.Stock keeping unit, free text set by the seller (e.g.
TSHIRT-LARGE-BLUE).
Not enforced unique. null when unset.Installment payments required before the subscription pauses. Must be greater
than 1.
null if split pay is not configured.Units available for purchase.
null unless the actor has the
plan:basic:read scope on the variant’s account.Original initial price shown with a strikethrough, in
currency. null when
no strikethrough is set.Original renewal price shown with a strikethrough, in
currency. null when
no strikethrough is set.How tax is handled for this variant, including whether tax is included in the price, added at checkout, or not configured.Available options:
inclusive, exclusive, unspecified3D Secure behavior for supported on-session card payments.
mandate_challenge requires a 3DS challenge before payment processing; mandate_if_required mandates a challenge only when the payment processor requires it; frictionless_if_required uses the regular frictionless 3DS flow. Payments of $1,000 or more use mandate_if_required unless mandate_challenge is selected. Risk and authentication recovery requirements can override the preference. null inherits the account default.Available options: mandate_challenge, mandate_if_required, frictionless_if_requiredVariant display name shown to customers. Maximum 30 characters. A variant
created without one defaults to its attribute values joined with
/. null
if no title has been set.Free trial days before the first renewal charge.
null if no trial is
configured or the user has already used a trial for this variant.Whether the variant has unlimited stock. When
true, the stock field is
ignored; waitlist variants always report true.Number of issued invoices for this variant that are not paid or void. While it
is above
0, you can’t change the variant’s prices, billing period, trial,
number of payments, currency or billing type. null unless the actor has the
plan:basic:read scope on the variant’s account.Variant

