POS simulator format SPDH HPDH Verifone and custom

Posted on 14th Feb 2022 3431 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 165051 views

ISO8583 Response Codes for Transaction processing 66767 views

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

ISO8583 Message Types for Transaction Processing 31268 views

ISO8583 Processing Codes for Transaction Processing 31261 views

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

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

Run the neaPay ISO8583 simulator 20882 views

ISO8583 payments message format, programmers guide 18394 views

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

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

ISO8583 Message Converter JSON and XML interface specification mapping 13966 views

Cards and Banks Training 13603 views

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

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

Log Files in BASE24 classic 9795 views

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

BASE24 classic vs BASE24-eps 8757 views

BASE24 documentation to read 8603 views

BASE24 classic interview questions 8536 views

Deploy the neaPay ISO8583 simulator - video guide 8491 views

EMV explained for programmers 8176 views

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

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

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

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

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

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

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

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

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

BASE24 classic screens examples explained 6994 views

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

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

Enabling traces in the payments simulator 6951 views

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

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

Altering test cases in Excel for the ISO8583 simulator 6932 views

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

BASE24-eps interview questions 6858 views

Deploy the neaPay HSM simulator in a test environment 6785 views

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

Deploy the Payments Switch Router in a test environment 6528 views

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

Add extra custom fields to the ISO8583 simulator 6126 views

BASE24 classic cards configuration tutorial with Examples 6113 views

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

PCI compliant with neapay switch 5715 views

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

BASE24-EPS ACI DESKTOP tutorial - Getting started 5510 views

BASE24 classic prefix configuration tutorial CPF with examples 4080 views

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

ACI BASE24 classic automatic extract configuration 3638 views

BASE24 classic Institution configuration Tutorial with example 3597 views

BASE24 classic balance file configuration PBF with example 3508 views

POS simulator format SPDH HPDH Verifone and custom 3432 views

First steps with BASE24 Classic 3351 views

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

ISO8583 simulator Visa MasterCard Amex CUP configuration demo video 302 views

SWIFT Common Message Type List with examples 56 views

Swift Message Structure ISO 15022 and ISO 20022 55 views

SWIFT Message types complete list reference 54 views

POS Transaction types explained 47 views

Contact    

Iso8583 - articles


ISO8583 Converter   5658 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   5715 views

PCI compliant with neapay switch


PCI compliant with neapay switch Steps and procedure: Configuration parameters to acheive service PCI DSS compliance   ...
Products   6085 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   6126 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   6528 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   6643 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   6922 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   6932 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   6935 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   6945 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 ...
ISO8583 Simulator   6951 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   6958 views

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


neapay ISO8583 simualtor is designed to Support your project in all stages and has 4 modes are available: RunOne - runs only the selected Test Case; R ...

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