Skip to content
myela

Elements can quote a tip before the charge, and payments now return the amount broken into base, surcharge, tax, and tip.

August 11, 2026

Release · @myela/payments@0.2.1 · @myela/elements@0.1.0

  • Added the modifier breakdown: amountBase, amountSurcharge, amountTax, amountTip.
  • Added error.detailCode.
  • Breaking, types only: removed fields the API never returns, including the succeeded and partially_authorized statuses, declineReason, and payment description and metadata.
  • Added card.quote({ tip }), card.chargeModifiers, and the ChargeModifier and Quote types.
  • Changed: the frame refuses rather than degrades.
  • Fixed the undeclared ElementsOptions type.