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.
- confirmType: boolean · Confirmrequired
Whether the cardholder accepted the surcharge.
trueprocesses the payment with surcharge applied;falsecancels the transaction. - amountType: integer | null · Amount
Optional override of the total transaction amount in cents. If not provided, the original calculated amount (including surcharge) is used.
- breakdownType: object · Breakdown (with Surcharge) nullable
Optional updated breakdown with surcharge details.
- subtotalType: integer · Subtotalrequired
Subtotal amount in cents before tax, tip, and surcharge.
- surchargeType: object · Surcharge nullable
Surcharge configuration. When provided, surcharge is calculated and applied to the transaction total.
- taxType: integer | null · Taxamount
Amount Tax amount in cents.
- taxType: number | null · Taxrate
Rate Tax rate as a float (e.g., 8.75 for 8.75%). Integer values >= 100 are auto-divided by 100 for backward compatibility.
- tipType: integer | null · Tipamount
Amount Tip amount in cents.
- tipType: number | null · Tiprate
Rate Tip rate as a float (e.g., 15.0 for 15%). Integer values >= 100 are auto-divided by 100 for backward compatibility.
- tipType: string | null · Tiptype
Type Tip calculation method. One of:
fixed,percentage.
- eventType: string | null · Event Id
_id Idempotency key for this confirmation event. If not provided, one is generated server-side.

