> Index of every page: https://docs.merchantservicedepot.com/llms.txt

# Tips and surcharges, from the card field to the payment

> 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`](https://docs.merchantservicedepot.com/docs/sdks/node/) · [`@myela/elements@0.1.0`](https://docs.merchantservicedepot.com/docs/sdks/elements/)

## @myela/payments 0.2.1

- 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`.

## @myela/elements 0.1.0

- Added `card.quote({ tip })`, `card.chargeModifiers`, and the `ChargeModifier` and `Quote` types.
- **Changed:** the frame refuses rather than degrades.
- Fixed the undeclared `ElementsOptions` type.

Source: https://docs.merchantservicedepot.com/changelog/2026-08-11-charge-modifiers/
