POS simulator format SPDH HPDH Verifone and custom

Posted on 14th Feb 2022 3468 views

Terminal Interface For POS transactions

POS simulation is necessary even when you have a real POS device to test with. POS simulation allows you to use many cards, even those you cannot issue, to run regressions and Load Tests.

 

The SPDH (Standard POS Device Handler) message format is not exactly ISO 8583-like, but it shares some similarities. Let me break it down for you:

  1. ISO 8583:

    • Definition: ISO 8583 is an international standard for financial transaction card originated interchange messaging.
    • Purpose: It defines a message format and communication flow so that different systems can exchange transaction requests and responses.
    • Usage: Most card-based transactions (such as payments in stores or ATMs) use ISO 8583 at some point in the communication chain.
    • Fields: ISO 8583 defines standard fields (data elements) that remain consistent across systems, with additional fields for network-specific details.
    • Examples: Mastercard, Visa, and Verve networks base their authorization communications on ISO 8583.
  2. SPDH:

    • Definition: SPDH is used in point-of-sale (POS) systems for handling card-based transactions.
    • Message Format: SPDH messages are not strictly ISO 8583-like. They use specific field separators to delimit data elements.
    • Parser: SPDH messages are parsed within specific environments (like iso8583.info) with top-level descriptions.
    • Market-Specific Subfields: Some market-specific subfields are not fully defined in SPDH messages.
    • Use Cases: SPDH supports transfers for airlines, lodging, auto rental, healthcare, and mobile services.

 

SPDH Standard Header Description

SPDH Header Position: 1-2; Name: Device Type; Format: ascii(2); Contents: “9.”

SPDH Header Position: 3-4 ; Name: Transmission Number; Format: numeric(2); Contents: “00” (If message subtype = 'S'), “01” –“99”(otherwise)

SPDH Header Position: 5-20 ; Name: Terminal ID; Format: ascii(16); Contents:  Unique terminal ID
 
SPDH Header Position: 21-26 ; Name: SPDH Version Number; Format: ascii(6); Contents:  Version Number
 
SPDH Header Position: 27-32 ; Name: Current Date; Format: numeric(6); Contents:  Senderdate YYMMDD
 
SPDH Header Position: 33-38 ; Name: Current time; Format: numeric(6); Contents: Sender time HHMMSS
 
SPDH Header Position: 39; Name: Message Type; Format: numeric(6); ascii(1)'F' (Financial)‘A’ (Administrative)
 
SPDH Header Position: 40; Name: Message Subtype; Format: ascii(1); Contents: 'O': online, for normal trans'S': Store & Forward. 'F': Forced
 
SPDH Header Position: 41-42; Name: Transaction Code; Format:numeric(2); Contents: A Code defining the message
 
SPDH Header Position: 43; Name: Processing Flag 1; Format: ascii(1); Contents: '0' or '1'
 
SPDH Header Position: 44; Name: Processing Flag 2; Format: ascii(1); Contents: '5'in request‘0’ in response
 
SPDH Header Position: 45; Name: Processing Flag 3; Format: ascii(1); Contents: '0'
 
SPDH Header Position: 46-48; Name: Response Code; Format: numeric(3); Contents: '000'in request ;A code in response.
 
 

SPDH FID List

In addition to the header, an SPDH message may contain additional fields called Fids
 
FID
NAME
USED
B
Amount 1
For all financial types
C
Amount 2
Only used for adjustment
D
Account Type
For all
financial types
F
Approval Code
For all financial types
G
MAC
For all types
P
Draft Capture Flag
For all financial types
Q
Echo Data
For all types
a
User Defined Data
For
all financial types and Close
Batch
b
PIN
-
block
Only if online PIN
d
Retailer ID
For all financial types
e
POS
Condition Code
For all financial types
f
PIN length
Only if online PIN
h
Sequence Number
For all financial types
i
Sequence Number
Original
Only adjustment
l
Totals Batch
Only if Draft Capture is used
q
Track2
For all financ
ial types
6B
Manual Card Verification
For all financial types
 
6E
Point Of Services Entry Mode
For all financial types
6F
Electronic Commerce Flag
For all financial types
6H
Card Verification Digits Presence
Indicator
And Result
For all financial types
6I
Transaction Currency Code
For all financial types
6L
XID/Trans Stain
Only in Visa electronic commerce
transactions using the 3D
-
Secure
method
6O
Smart Card Request Data
For all financial types
6P
Smart Card Additional Request
Data
For all financial types
6Q
Smart Card Response Data
For all financial types
6R
Smart Card Additional Response
Data
For all financial types
6T
Key Serial Number and
Descriptor
For all types
6V
Authentication Collection
Indicator
Only in electronic commerce
transactions using the 3D
-
Secure
method
6W
CAVV/AAV result Code
Only in electronic commerce
transactions using the 3D
-
Secure
method
6X
Point Of Service Data
Conditional
used if required by the
DPC. For all financial types
6Y
Authentication Data
Only in MasterCard electronic
commerce transactions using the
3D
-
Secure method
6e
Interchange Compliance Data
Only if interchange compliance
data was received in the
authorization
response to the DPC
9A
Authorizing
Entity
For all financial types
9C
POS Capability Code
For all financial types
9D
Retrieval Reference Number
For all financial types
9I
Merchant Category Code
For all financial types
9K
Credit Length Map
For all financial types
9L
Acquirer Information
For all financial types
9N
Update Information
For all financial types
9P
EMV Terminal Capability
Only if the terminal is EMV capable
9Q
Additional Terminal Capabilities
For all financial types
9R
Point of Service Indicator
For all financial types
9S
Merchant Name and Location
For all financial types
9o
Downlo
ad Indicator
For all types
99
Security Information
For all types
9q
Reserved for customer internal
use
9r
Reserved for customer internal
use
9s
Reserved for customer internal
use
9t
Reserved
for customer internal
use
9u
Reserved for customer internal
use
9v
Reserved for customer internal
use
9w
Reserved for customer internal
use
9x
Reserved for customer internal
use
9y
Reserved for customer internal
use
9z
Reserved for customer
internal
use
 
 


LinkedIn

Docs Home ISO8583 Simulator Simulator Tutorials ISO8583 Converter Cards Issuer BASE24 Base24-eps Reference Guide ISO8583 Switch HSM Simulator POS Simulator Products


Top Read Articles


BIN List & Range for MasterCard, Visa, Amex, Diners, Discover, JCB, CUP 165516 views

ISO8583 Response Codes for Transaction processing 67179 views

Read smart card chip data with APDU commands ISO 7816 63805 views

ISO8583 Processing Codes for Transaction Processing 31376 views

ISO8583 Message Types for Transaction Processing 31363 views

Deploy, run and generate with neaPay Card Data Generator 21438 views

MCC Codes - Merchant Category Codes to use in ISO8583 Field 18 20980 views

Run the neaPay ISO8583 simulator 20907 views

ISO8583 payments message format, programmers guide 18430 views

ISO8583 message: The list of ISO 4217 currency codes for data elements 49 and 52 17578 views

ISO8583 ATM POS Crypto API integration with exchanges like Coinbase or Binance 17060 views

ISO8583 Message Converter JSON and XML interface specification mapping 14004 views

Cards and Banks Training 13626 views

Java version for neapay products Simulator Converter Switch Authorization Cards Issuer 10692 views

Support for the neaPay products: Authorization, Switch, Converter, Simulator, Issuer 10118 views

Log Files in BASE24 classic 9819 views

Create a new test case in the neaPay ISO8583 simulator Video guide 9092 views

BASE24 classic vs BASE24-eps 8784 views

BASE24 documentation to read 8629 views

BASE24 classic interview questions 8559 views

Deploy the neaPay ISO8583 simulator - video guide 8499 views

EMV explained for programmers 8189 views

ISO8583 Simulator neapay- Performance testing at 500, 1000 and 1500 Transactions per second 8114 views

ISO8583 converter to JSON XML SQL to HTTP host - message flow - video guide - Part.2 7773 views

ISO8583 converter to JSON XML SQL to HTTP Host - host unavailable - video guide- Part.3 7298 views

Adding your own card to the Payments simulator to test your system 7146 views

ISO8583 converter to JSON XML SQL to HTTP host - start& run - video guide - Part.1 7142 views

Card readers supported by neaPay payments simulator, CHIP and NFC 7073 views

Changing fields definitions in the ISO8583 simulator and message converter 7055 views

Connect the neaPay ISO8583 Acquirer simulator to your own host or Issuer 7031 views

Run the neaPay ISO8583 converter to JSON, XML, SQL, in a test environment 7028 views

BASE24 classic screens examples explained 7021 views

Run One, Run Scenario, Run All, Run Load in the neaPay ISO8583 Simulator - Use guide 6975 views

Load Test enabling and performance testing at 1TPS and 100TPS 6973 views

Sample Recommended design for an Acquirer test cases suite, Scenarios and Regression 6965 views

Enabling traces in the payments simulator 6959 views

How the fingerprint reader works in the ISO8583 payments simulator 6951 views

Altering test cases in Excel for the ISO8583 simulator 6942 views

Deploy the neaPay ISO8583 Payments converter in a test environment 6938 views

BASE24-eps interview questions 6878 views

Deploy the neaPay HSM simulator in a test environment 6797 views

Regression Testing in 1 click with instant Analytics and CSV report 6656 views

Deploy the Payments Switch Router in a test environment 6538 views

BASE24 classic ATM configuration Tutorial in ATD and XPNET with examples 6242 views

Add extra custom fields to the ISO8583 simulator 6148 views

BASE24 classic cards configuration tutorial with Examples 6139 views

Trace configuration in neaPay Simulator, Converter, Switch, Authorization and Cards Issuer 6117 views

PCI compliant with neapay switch 5728 views

ISO8583 Message Converter to XML SQL CSV interface specification mapping 5691 views

BASE24-EPS ACI DESKTOP tutorial - Getting started 5525 views

BASE24 classic prefix configuration tutorial CPF with examples 4091 views

BASE24 classic tracing of transactions. Audits, configuration, enabling and opening 3950 views

ACI BASE24 classic automatic extract configuration 3644 views

BASE24 classic Institution configuration Tutorial with example 3608 views

BASE24 classic balance file configuration PBF with example 3522 views

POS simulator format SPDH HPDH Verifone and custom 3469 views

First steps with BASE24 Classic 3369 views

Getting started with using Prognosis for BASE24 and BASE24-eps 3087 views

ISO8583 simulator Visa MasterCard Amex CUP configuration demo video 315 views

Swift Message Structure ISO 15022 and ISO 20022 72 views

SWIFT Message types complete list reference 72 views

ISO8583 simulator scheduling tasks and test regressions 69 views

POS Transaction types explained 66 views

SWIFT Common Message Type List with examples 64 views

Contact    

Iso8583 - articles


ISO8583 Simulator   69 views

ISO8583 simulator scheduling tasks and test regressions


The neaPay ISO8583 simulator improves automated testing with full capabilities for scheduling minutely message exchanges, duration tests, nightly or w ...
ISO8583 Converter   5691 views

ISO8583 Message Converter to XML SQL CSV interface specification mapping


ISO8583 Converter creating an XML,  SQL and CSV object from an incoming TCP/IP ISO8583 binary message, and then sending it to a HTTP host as ...
ISO8583 Switch   5728 views

PCI compliant with neapay switch


PCI compliant with neapay switch Steps and procedure: Configuration parameters to acheive service PCI DSS compliance   ...
Products   6117 views

Trace configuration in neaPay Simulator, Converter, Switch, Authorization and Cards Issuer


Trace configuration in neaPay Simulator, Converter, Switch, Authorization and Cards Issuer ...
ISO8583 Simulator   6148 views

Add extra custom fields to the ISO8583 simulator


Adding extra, custom fields to the ISO8583 simulator in 3 simple steps is as easy as running the tests: Edit the spreadsheet and save it; Edit th ...
ISO8583 Switch   6538 views

Deploy the Payments Switch Router in a test environment


Deploy then neaPay Payments switch router to easily route transactions based on BIN/prefix, amount, merchant, originating or destination insytitution, ...
ISO8583 Simulator   6656 views

Regression Testing in 1 click with instant Analytics and CSV report


The neaPay Payments simulator is designed from the start to follow the life of a project, and therefore, after all testing has been completed, we need ...
ISO8583 Converter   6938 views

Deploy the neaPay ISO8583 Payments converter in a test environment


When you receive a delivery from neaPay for an iso8583 convertor, you will get 1 zip file.  This step by step guide will guide you through ...
ISO8583 Simulator   6942 views

Altering test cases in Excel for the ISO8583 simulator


When you need to customize your own test case, you need to follow some simple steps all the time.In order to obtain this, you need to alter test data ...
ISO8583 Simulator   6951 views

How the fingerprint reader works in the ISO8583 payments simulator


Step by step guide to enable and disable fingerprint reading, enrollment and verification with the neapay Simulator is pretty straight forward and ass ...
ISO8583 Simulator   6959 views

Enabling traces in the payments simulator


Enabling traces in the ISO8583 Payments Simulator, just like the ISO8583 message converter and the ISO8583 Host, is a call to the system core to write ...
ISO8583 Simulator   6965 views

Sample Recommended design for an Acquirer test cases suite, Scenarios and Regression


A test suit is composed of different scenarios which follow in a functional (or another) way in order to cover the full, or as much as possible, of th ...

Choose the product you need



ISO8583 Converter

Convert ISO8583 to JSON XML SQL


ISO8583 Interface

ISO8583 Interface Handler


ISO20022 Converter

Convert ISO20022 to ISO8583 ...


ISO8583 Builder

Build ISO8583 from scratch


ISO8583 Switch

ISO8583 Router by criteria


ISO8583 Authorization

Authorize cards and ledger


Payments Acquirer

Acquiring host from devices


Cards Issuing

Generate and issue cards


ISO8583 Simulator

ISO8583 HISO98 HISO87 simulator


ISO20022 Simulator

ISO20022 & SWIFT simulator


POS Simulator

POS protocols simulator


Web Api Simulator

Web API tester Performance

 

Get a free quote, Ask for details
Get help

Contact us

Try the software yourself
Download

Download software

Read Documentation and Start guides

Documentation

Online Tools Overview

Online Tools