Skip to main content

Communication Setup

Most Payter Session Protocol commands are restricted to a number of states. Which state is designated in each command definition. PSP generally however requires the Enabled status for most operational commands. This status is achieved via a number of sequential and optional commands, as shown below:

PSP State DiagramPSP State Diagram

Several commands, not listed above, do NOT result in State changes. These are detailed below.

Commands Without State Changes

Command NameCommand HeaderUsage & Restrictions if applicable
Remove Sessions0x56Only allowed in the Enabled state
Get Status0x26Always allowed
Protocol0x13Only allowed in the Online state
Void Session0x33Only allowed in the Disabled, Enabled, Wait Card & Wait Auth/cancel state
Commit session0x35Only allowed in the Disabled, Enabled, Wait Card & Wait Auth/cancel state
UI Request0x40Only allowed in the Enabled, Wait Card & Wait Auth/cancel state.

In the Wait Card & Wait Auth/cancel state the UI Request will be hidden from view and the last request is shown only after the payment flow releases its claim of the display.
Select Language0x40Always allowed
Get Receipt0x45Only allowed in the Disabled, Enabled, Wait Card & Wait Auth/cancel state