Payment Request
Payment request model. Wraps card reader data in a structured sub-object and supports the enhanced breakdown with surcharge.
- amountType: integer · Amountrequired
Transaction amount in cents.
- cardType: object · Card Read Data
_reader _data requiredCard reader interaction data from the SDK.
- generalType: string · Generalcarddata
Card Data requiredEncrypted general card data (TLV-encoded).
- idType: string · Idrequired
Unique transaction identifier generated by the client SDK.
- outcomeType: integer · Outcomerequired
Card read outcome code from the NFC/EMV kernel.
- paymentType: string · Paymentcarddata
Card Data requiredEncrypted payment card data (TLV-encoded).
- isType: boolean · Ispinfallback
P I N Fallback Whether the transaction fell back to PIN entry.
- pinType: boolean · Pinbypassed
Bypassed Whether PIN entry was bypassed.
- breakdownType: object · Breakdown (with Surcharge) nullable
Optional payment breakdown with surcharge support.
- 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. Auto-generated if omitted.
- typeType: string | null · Type
Transaction type. One of:
sale,auth.

