Jetron TicketFluid

Money

All amounts are integers in the smallest currency unit.

All monetary amounts in Jetron Fluid are integers in the smallest currency unit:

CountryCurrencySmallest unitExample
NigeriaNGNkobo500000 = ₦5,000.00
GhanaGHSpesewa7500 = GH₵75.00
South AfricaZARcents12000 = R120.00

This applies to every money field: ticket price and fees, reservation total, totalFees, and discount, per-item price and fee, and order total.

Formatted values

You usually don't need to format prices yourself. The API also returns human-readable, country-formatted strings alongside the integers:

  • Event.formattedCheapestPrice (e.g. "Free" when 0)
  • Ticket.formattedPrice (e.g. "FREE" when 0) and Ticket.formattedFees
{
  "price": 500000,
  "formattedPrice": "₦5,000",
  "fees": 25000,
  "formattedFees": "₦250"
}

Never use floats

Do arithmetic on the integer values only. If you must display a computed amount, divide by 100 at the last moment, and never store or send fractional amounts back to the API.

On this page