Breakdown (with Surcharge)

Enhanced payment amount breakdown with surcharge support. Rates can be sent as integers (old SDK format, e.g., 875 = 8.75%) or floats (new SDK format, e.g., 8.75). Values >= 100 are auto-converted from basis points.

  • Subtotal amount in cents before tax, tip, and surcharge.

  • Surcharge configuration. When provided, surcharge is calculated and applied to the transaction total.

    Properties: 3
  • Tax amount in cents.

  • Tax rate as a float (e.g., 8.75 for 8.75%). Integer values >= 100 are auto-divided by 100 for backward compatibility.

  • Tip amount in cents.

  • Tip rate as a float (e.g., 15.0 for 15%). Integer values >= 100 are auto-divided by 100 for backward compatibility.

  • Tip calculation method. One of: fixed, percentage.