Payment Request
Payment request model. Wraps card reader data in a structured sub-object and supports the enhanced breakdown with surcharge.
- Type: integer · Amount
amount requiredTransaction amount in cents.
- Type: object · Card Read Data
card _reader _data requiredCard reader interaction data from the SDK.
- Type: string · Generalcarddata
general Card Data requiredEncrypted general card data (TLV-encoded).
- Type: string · Id
id requiredUnique transaction identifier generated by the client SDK.
- Type: integer · Outcome
outcome requiredCard read outcome code from the NFC/EMV kernel.
- Type: string · Paymentcarddata
payment Card Data requiredEncrypted payment card data (TLV-encoded).
- Type: boolean · Ispinfallback
is P I N Fallback Whether the transaction fell back to PIN entry.
- Type: boolean · Pinbypassed
pin Bypassed Whether PIN entry was bypassed.
- 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. Auto-generated if omitted.
- Type: string | null · Type
type Transaction type. One of:
sale,auth.

