Pricing option
One way to pay for a class or workshop.
pricingOptions array listing every way a
client can pay for it. A studio can offer several at once — cash, credits, and a
membership on the same class.
Reading value and currency together
value means different things depending on type, and currency tells you
which reading applies:
- With
currency—valueis a money amount in that currency. Zenamu accepts ISO 4217 currency codes. Common examples includeCZK,EUR,USD,HUF,PLN,GBP,RON,SEK,DKK, andNOK; treat the list as open. - Without
currency—valueis a count of credits or entries, or is not meaningful at all.
currency is omitted entirely — not null — whenever an option is not
money-based. This includes credit and entry counts, membership coverage,
make-up sessions, and options with no monetary unit. Check for the key’s
presence, not the type, to decide whether value is money.
Types
currency appears. For example,
credit_discount and benefit_surcharge_credit omit it, while a monetary
membership_surcharge keeps it.
type using name rather than failing.Naming and description
name is the studio’s own label — show it rather than deriving text from
type. It can be null.
description is an optional note, present on class pricing options only.
Workshop options do not carry it.
Visibility
Only pricing options the studio marked visible are returned. A studio can offer an option in a currency you do not expect — readcurrency rather than assuming
the studio’s default.One way to pay for a class. See Pricing option for how to read type, value, and currency together.
Numeric ID of the pricing option.
Which payment method the option represents. Current values: default, discount, credit, credit_discount, pass, benefit, benefit_surcharge, benefit_surcharge_credit, membership, membership_surcharge, single_course_session, and other. Treat the list as open: Zenamu can add values within v1, so render an unknown type using name rather than failing. See Pricing option.
Studio-chosen label, for example Single class.
A money amount in currency for money-based types, or a number of credits or entries for non-money options.
ISO 4217 code for a money-based option. Common examples include CZK, EUR, USD, HUF, PLN, GBP, RON, SEK, DKK, and NOK; treat the list as open. Absent whenever the option is not money-based. Use presence of this field, not type, to interpret value as money.
"CZK"
Optional note. Present on class options only.

