Skip to main content

Charges Display


The Charges section displays the appointment cost, applied discounts, and final total.


This screen includes:

  • Appointment cost row
  • Promo discount row (optional)
  • Total row
  • Currency display
    • Primary amount
    • Optional converted value

Workflow

This flow starts when the Charges section renders.

  1. Display appointment cost.
  2. Apply promo discount if available.
  3. Calculate and display total.

Currency Rules

  • Show primary amount in appointment currency.
  • Show approximate converted value when currencies differ.
  • Display converted value with ~ in parentheses.

Promo Rules

  • Add discount row when promo applies.
  • Display discount as negative value.
  • Recalculate total after discount.

Validations

These rules determine charge presentation.

ScenarioApp behaviorSDK output
Same currency.Display single currency value.Price response contains single currency.
Different currency.Display converted value under price.Price response includes conversion data.
Promo applies.Display discount row and total.Pricing response includes promo adjustment.
Promo does not apply.Display appointment cost only.No discount in pricing response.

Actions

ScenarioApp behaviorSDK output
Price updates.Update cost and total.Pricing response updated.
Promo applied.Add discount and update total.Pricing response includes discount.
Promo removed.Remove discount and update total.Pricing response excludes discount.
Currency context changes.Update displayed currency values.Pricing response includes updated conversion.