Confirm Request
Request body for confirming or declining a surcharge-pending transaction. After a payment returns surcharge_pending status, the client must present the surcharge to the cardholder and call confirm with the result.
- Type: boolean · Confirm
confirm requiredWhether the cardholder accepted the surcharge.
trueprocesses the payment with surcharge applied;falsecancels the transaction. - Type: integer | null · Amount
amount Optional override of the total transaction amount in cents. If not provided, the original calculated amount (including surcharge) is used.
- Type: object · Breakdown (with Surcharge) nullable
breakdown 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 · 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.
- Type: string | null · Event Id
event _id Idempotency key for this confirmation event. If not provided, one is generated server-side.

