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.
- Type: integer · Subtotal
subtotal requiredSubtotal amount in cents before tax, tip, and surcharge.
- Type: object · Surcharge nullable
surcharge Surcharge configuration for a transaction. Only one of
amountorpercentagemay be set. Whenbypassis true, neither amount nor percentage should be provided.- Type: integer | null · Amount
amount Fixed surcharge amount in cents. Mutually exclusive with
percentage. - Type: boolean · Bypass
bypass When true, surcharge calculation is skipped entirely for this transaction. Must be false when amount or percentage is provided.
- Type: number | null · Percentage
percentage Surcharge rate as a decimal (e.g., 3.5 for 3.5%). Mutually exclusive with
amount.
- Type: integer | null · Taxamount
tax Amount Tax amount in cents.
- Type: number | null · Taxrate
tax Rate Tax rate as a float (e.g., 8.75 for 8.75%). Integer values >= 100 are auto-divided by 100 for backward compatibility.
- Type: integer | null · Tipamount
tip Amount Tip amount in cents.
- Type: number | null · Tiprate
tip Rate Tip rate as a float (e.g., 15.0 for 15%). Integer values >= 100 are auto-divided by 100 for backward compatibility.
- Type: string | null · Tiptype
tip Type Tip calculation method. One of:
fixed,percentage.

