Secure Card Storage Services (SCSS)
The SCSS system can be used as a standalone system wherein merchants can add cards and generate mapped tokens independently to transactions. Alternatively, the SCSS is also linked with both authorisation & credit systems of LPS payment gateway wherein the merchants have the option to store the card number and generate token at the point of transaction processing.
SCSS As A Standalone System#
INTRODUCTION
Lateral Payment Solutions provide an online credit card/debit card processing solution for e‐commerce businesses. We provide a highly sophisticated fraud screening process to reduce the risk posed to online merchants in the ‘card not present’ environment. We provide a 256‐bit SSL interface for secure transmission of data over the internet. A secure reporting and administration system to provide real time information is also made available to the merchant. This document explains the technical integration requirements and procedures. It is of a technical nature and should be read as such.
SECURE CARD STORAGE SERVICES (SCSS)
The SCSS system can be used as a standalone system wherein merchants can add cards and generate mapped tokens independently to transactions. Alternatively, the SCSS is also linked with both authorisation & credit systems of LPS payment gateway wherein the merchants have the option to store the card number and generate token at the point of transaction processing.
SCSS AS A STANDALONE SYSTEM:
In the case of a standalone system, the merchants can send customer billing details with card number to generate a token.The system will store the details and will generate a unique token corresponding to the customer details linked specifically to the merchant.
The generated token can then be used in a transaction authorisation or OCT request by passing the token details and specifically setting a flag to indicate to the LPS payment gateway that a card token is used.
If a generated token details needs to be modified or to be validated again, the manage SCSS system can be used.
Once a token is generated the system flow will be as follows:
a. Merchant sends normal authorisation request with SCSS flag set to D (implying already done).
b. If SCSS flag is set to D, then instead of card number, the SCSS token should be posted.
SCSS AS A MODULE TO AUTH/CREDIT SYSTEM:
LPS Authorisation API system is also linked with “Secure Card Storage Services (SCSS)” system which will help merchants to comply with PCI DSS audit requirements by removing the necessity to store card details in their system.
LPS standard integration post fields provides an option to flag a transaction to be part of SCSS and it automatically stores the card details and a corresponding token is returned on the response. In addition to storing the card details, SCSS system also keeps references of billing details. Hence card details and billing details need not be posted when sending a transactions request for authorisation using a previously generated card store token. SCSS system will automatically extract the card details and its corresponding billing details and will use it for authorisation request.
MANAGE SCSS SYSTEM:
In the event the billing details or card details needs to be updated, then merchants can make use of manage SCSS subsystem API to update or delete the card details.
The way the system works is as follows:
- Merchants send normal authorisation request with SCSS flag set to Y.
- A unique identifier is generated and returned along with the authorisation response.
- The unique identifier acts as the reference for all subsequent transactions
- The identifier also references complete billing details of the card holder. Hence apart from the card The identifier also references complete billing details of the card holder. Hence apart from the card
Once a token is generated the system flow will be as follows:
- Merchant sends normal authorisation request with SCSS flag set to D (implying already done).
- If SCSS flag is set to D, then instead of card number, the SCSS token should be posted.
Points to note when posting token with SCSS flag set to D:
- When posting with SCSS flag set to D, the token must always be posted or else the transactions will be rejected with a prescreening code.
- If card number is also sent along with SCSS flag set to D and token also present, card number will be ignored.
- If billing details as well as other card details are posted along with token, the details posted in the request will take precedence over the details stored in SCSS for that token. Hence the posted values will be utilised for authorisation processing. However, note that the details stored in SCSS will not have been updated. If it should be updated, then a separate update request on manage SCSS system API should be sent.
The unique identifier is of no value to anyone who attempts to steal sensitive information because the secure credit card information can never be obtained by using the identifier. Technically, the identifier is a hash pointer reference to a token value which is then referenced to the card holder data in our data store. Hence our SCSS system provides robust security in protecting card holder information.
SCSS system comprises of four main building blocks:
a. Card Token Generation:
This phase consists of the generation of unique identifier for the card holder data. The unique identifier is linked to the merchant account issued by LPS. In case of standalone SCSS system, if the card number already exists on the system then the system will reject, and new token generation will fail. However, in case of SCSS linked to authorisation, if an existing card number is used, then the same identifier will be returned if the card details has been previously posted by the client and an identifier generated previously.
b. Card Token Details Update:
This phase consists of an independent API which will enable merchants to be in control of their secure card data. In the event the card details need updating, for example if the expire dates have changed due to card renewal or the customer’s address details have changed. The merchants can send the token as well the new details which will be automatically updated into the SCSS system. All the usual process of validating the credentials will be necessary before the details can be updated.
c. Card Token Details Query:
This phase is similar to “Token Update” phase, except that it will just return the details stored for that token rather than altering any information. This will be useful if the merchants wish to recheck the details stored in our SCSS system before posting transactions.
d. Card Token Delete:
If customer details are to be removed due to various reasons such as customer has closed their account or audit retention policy or customer deemed fraudulent etc, merchants can send the “Token Delete” request and the card details will be completely removed and cannot be used further.
APPENDIX A: NEW CARD TOKEN GENERATION
A1. POSTING PARAMETERS
| Form Field | Description | Details |
|---|---|---|
| Merchant_id# | LPS Provided value. | Mandatory |
| merchantpwd# | Password used for authenticating the refund account. | Mandatory |
| AccountType# | Type of account. Valid values are: a.A:Auth account(default); b.R:Recredit account; | Mandatory |
| RequestType# | SCSS manage card token request type. It should be one of the following: SCSS_A : Adding card details; | Mandatory |
| Customer_ccno# | Customer card number. | Mandatory |
| Bill_firstname# | Billing customer first name. | Mandatory |
| Bill_lastname# | Last name of the card holder. | Mandatory |
| Bill_address1# | First line of street address for billing the CC. | Mandatory |
| Bill_address2# | Second line of street address for billing the CC. | Optional *** |
| Bill_city# | City for the billing the credit card. | Mandatory |
| Bill_state# | State for the billing the credit card. | Optional *** NOTE: If Bill_country is US or CA,Bill_state must be sent as well. |
| Bill_country# | Country for the billing the credit card, (2‐digit ISO country Code). | Mandatory |
| Bill_zip# | Postal code for the billing the credit card. | Mandatory |
| Customer_cc_type# | Credit Card type of the customer either VISA, MAST, SWITCH, SOLO, DELTA, AMEX, MAESTRO (Case Sensitive, upper case only) | Mandatory |
| Customer_cc_expmo# | Expiration month(mm) of the credit card. | Mandatory |
| Customer_cc_expyr# | Expiration year(yyyy) of the credit card. | Mandatory |
| Customer_dc_startmo# | Debit card start month or valid from month (mm). | Optional ***** NOTE: If this value is sent then Customer_cc_startyr must be sent as well. |
| Customer_dc_startyr# | Debit card start year or valid from year (yyyy). | Optional ***** NOTE: If this value is sent then Customer_cc_startmo must be sent as well. |
| Customer_dc_issue# | Debit card issue number. | Optional *** |
A2. RESPONSE PARAMETERS
| Form Field | Description |
|---|---|
| ResponseType# | Response type code. See C1 below |
| RequestType# | Unique code for the request process |
| Requestid# | Unique Identifier for the request generated by LPS |
| CrdStrg_Token# | SCSS system unique card identifier sent in request |
| Bill_firstname# | First name of the card holder stored for the unique identifier sent. |
| Bill_lastname# | Last name of the card holder stored for the unique identifier sent. |
| Bill_address1# | Billing customer first line of address stored for the unique identifier sent |
| Bill_address2# | Billing customer second line of address stored for the unique identifier sent |
| Bill_city# | Billing customer city stored for the unique identifier sent. |
| Bill_state# | Billing customer state stored for the unique identifier sent. |
| Bill_country# | Billing customer country code stored for the unique identifier sent. |
| Bill_zip# | Billing customer postal code / zip code stored for the unique identifier sent. |
| CardBin# | Bin number of the card stored for the unique identifier sent. |
| CardLast4# | Last 4 digit of the card number stored for the unique identifier sent. |
| Customer_cc_type# | Credit Card type stored for the unique identifier sent. |
| Customer_cc_expmo# | Expiration month(mm) of the credit card stored for the unique identifier sent. |
| Customer_cc_expyr# | Expiration year(yyyy) of the credit card stored for the unique identifier sent. |
| Customer_dc_startmo# | Debit card start month or valid from month (mm) stored for the unique identifier sent. |
| Customer_dc_startyr# | Debit card start year or valid from year (yyyy) stored for the unique identifier sent |
| Customer_dc_issue# | Debit card issue number stored for the unique identifier sent. |
| Status# | Status code to indicate the request status. See C2 below |
Note:
The fields in blue will always be returned.
The fields in green will be returned if request is successful, i.e., Status=0
APPENDIX B: MANAGING CARD TOKENS FROM LPS SCSS SYSTEM
When merchants process recredits using SCSS system and generate card tokens corresponding to the customer card details, they can use the token as the reference for all subsequent transactions for that customer. The SCSS system provides two layers of encapsulation and hence it will not be possible to derive card details from token in anyway. To provide options for merchants to manage the details of card tokens, LPS SCSS system provides API which will enable merchants to automatically manage their card tokens. For example, if the expiry dates need to be changed due to card renewal it will not be necessary to post the whole details, but just the new changed details to the manage SCSS API functionality which will selectively update required information.
Currently LPS SCSS manage API provides three functionalities:
- Querying of card details linked to a token;
- Updating of card details linked to a token;
- Deletion of a token;
B1. POSTING PARAMETERS
| Form Field | Description | Details |
|---|---|---|
| Merchant_id# | LPS Provided value | Mandatory |
| merchantpwd# | Password used for authenticating the refund account. | Mandatory |
| AccountType# | Type of account. Valid values are: a. A: Auth account (default); b. R: Recredit account; | Mandatory |
| RequestType# | SCSS manage card token request type. It should be one of the following: SCSS_Q: Querying card token details; SCSS_U: Update card token details; SCSS_D: Delete card token details; | Mandatory |
| CrdStrg_Token# | Unique card details identifier from LPS SCSS system | Mandatory |
| Bill_firstname# | Billing customer first name | Optional *** To be sent only for RequestType SCSS_U and if value need to be updated. |
| Bill_lastname# | Last name of the card holder | Optional *** To be sent only for RequestType SCSS_U and if value need to be updated. |
| Bill_address1# | First line of street address for billing the CC | Optional *** To be sent only for RequestType SCSS_U and if value need to be updated. |
| Bill_address2# | Second line of street address for billing the CC | Optional *** To be sent only for RequestType SCSS_U and if value need to be updated. |
| Bill_city# | City for the billing the credit card | Optional *** To be sent only for RequestType SCSS_U and if value need to be updated. |
| Bill_state# | State for the billing the credit card | Optional *** To be sent only for RequestType SCSS_U and if value need to be updated. |
| Customer_cc_type# | Credit Card type of the customer either VISA, MAST, SWITCH, SOLO, DELTA, AMEX, MAESTRO (Case Sensitive, upper case only) | Optional *** To be sent only for RequestType SCSS_U and if value need to be updated. |
| Customer_cc_expmo# | Expiration month(mm) of the credit card | Optional *** To be sent only for RequestType SCSS_U and if value need to be updated. NOTE: If this value is sent then Customer_cc_expyr must be sent as well |
| Customer_cc_expyr# | Expiration year(yyyy) of the credit card | Optional *** To be sent only for RequestType SCSS_U and if value need to be updated. NOTE: If this value is sent then Customer_cc_expmo must be sent as well. |
| Customer_dc_startmo# | Debit card start month or valid from month(mm) | Optional *** To be sent only for RequestType SCSS_U and if value need to be updated. NOTE: If this value is sent then Customer_cc_startyr must be sent as well. |
| Customer_dc_issue# | Debit card issue number | Optional *** To be sent only for RequestType SCSS_U and if value need to be updated |
B2. RESPONSE PARAMETERS
| Form Field | Description |
|---|---|
| ResponseType# | Response type code. See C1 below. |
| RequestType# | Unique code for the request process |
| Requestid# | Unique Identifier for the request generated by LPS |
| CrdStrg_Token# | SCSS system unique card identifier sent in request |
| Bill_firstname# | First name of the card holder stored for the unique identifier sent. |
| Bill_lastname# | Last name of the card holder stored for the unique identifier sent |
| Bill_address1# | Billing customer first line of address stored for the unique identifier sent. |
| Bill_address2# | Billing customer second line of address stored for the unique identifier sent. |
| Bill_city# | Billing customer city stored for the unique identifier sent. |
| Bill_state# | Billing customer state stored for the unique identifier sent. |
| Bill_country# | Billing customer country code stored for the unique identifier sent. |
| Bill_zip# | Billing customer postal code / zip code stored for the unique identifier sent. |
| CardBin# | Bin number of the card stored for the unique identifier sent. |
| CardLast4# | Last 4 digit of the card number stored for the unique identifier sent |
| Customer_cc_type# | Credit Card type stored for the unique identifier sent. |
| Customer_cc_expmo# | Expiration month(mm) of the credit card stored for the unique identifier sent. |
| Customer_cc_expyr# | Expiration year(yyyy) of the credit card stored for the unique identifier sent. |
| Customer_dc_startmo# | Debit card start month or valid from month (mm) stored for the unique identifier sent. |
| Customer_dc_startyr# | Debit card start year or valid from year (yyyy) stored for the unique identifier sent |
| Customer_dc_issue# | Debit card issue number stored for the unique identifier sent. |
| Status# | Status code to indicate the request status. See C2 below. |
Note: The fields in blue will always be returned. The fields in green will be returned if request is successful, i.e., Status=0
APPENDIX C: RESPONSE CODES
C1. RESPONSETYPE CODE
| Description | Code |
|---|---|
| SCSS manage card token API response# | 7 |
C2. STATUS CODE
| Description | Code |
|---|---|
| 0# | Request completed successfully |
| 1001# | User authentication failed, or account not enabled for SCSS manage card token processing |
| 1002# | Merchant account inactive. |
| 9000# | Unexpected system error |
| 9001# | Mandatory field missing |
| 9009# | Merchant account not enabled for SCSS |
| 9010# | SCSS unique identifier incorrect or not found. |
| 9011# | Token creation failed as card number already exists in SCSS. |
Examples return response
1. sample response for querying existing the card token details.
ResponseType=7&RequestType=SCSS_Q&Requestid=1003&Bill_firstname=Ian&Bill_lastname=Vidamour&Bill_address1=34,Millersstreet&Bill_address2=Northlaneroad&Bill_city=London&Bill_state=Manchester&Bill_country=GB&Bill_zip=SE1&CardBin=420000&CardLast4=0000&Customer_cc_type=VISA&Customer_cc_expmo=11&Customer_cc_expyr=2011&Customer_dc_startmo=&Customer_dc_startyr=&Customer_dc_issue=&CrdStrg_Token=0x1375bb33612cd9cb18c52f33e748f4db&Status=0
APPENDIX D: SECURE CARD DATA SFTP TRANSFER
As an alternative option to generate card tokens, merchants can also use our secure card data SFTP transfer facility, wherein they will be able to bulk import customer card details. The generated tokens corresponding to the imported data will be appended to the file and returned through the same channel. On the outbound file, the original full details will be stripped out for security.
This feature provides a convenient way to securely generate tokens for existing payment instructions already present in another secure system and where API call additional development is an overhead.
The preferred format of file import will be csv and the column header and values are as follows.
| Form Field | Description | Details |
|---|---|---|
| Customer_ccno# | Customer card number. | Mandatory |
| Bill_firstname# | Billing customer first name | Mandatory |
| Bill_lastname# | Last name of the card holder | Mandatory |
| Bill_address1# | First line of street address for billing the CC | Mandatory |
| Bill_address2# | Second line of street address for billing the CC | Optional |
| Bill_city# | City for the billing the credit card | Mandatory |
| Bill_state# | State for the billing the credit card | Optional *** NOTE: If Bill_country is US or CA,Bill_state must be sent as well |
| Bill_country# | Country for the billing the credit card, (2 digit ISO country Code) | Mandatory |
| Bill_zip# | Postal code for the billing the credit card | Mandatory |
| Customer_cc_type# | Credit Card type VISA, MAST, DELTA, MAESTRO (Case Sensitive, upper case only) | Mandatory |
| Customer_cc_expmo# | Expiration month(mm) of the credit card | Mandatory |
| Customer_cc_expyr# | Expiration year(yyyy) of the credit card | Mandatory |
| UniqueIdentifier# | Unique identifier for the row | Mandatory Note: Must be unique per file |
| Custom1# | Additional custom parameter | Optional |
| Custom2# | Additional custom parameter | Optional |
SCSS As A Module To Auth/Credit System#
INTRODUCTION
The purpose of this technical specification is to give an in‐depth description of the Lateral Payment Solutions (LPS) Enterprise Payment Gateway – Card Processing API. LPS Card Gateway is a proprietary platform for processing payments online. It exposes multiple API’s for performing various types of online financial transactions. This specific document explains the Card Processing API which enables payments online using debit and credits cards.
The platform data exchange is a secure and yet simple name/value pair data format based on HTML POST form‐URL encoded data. The API operates on a securely authenticated request / response method where an authorised client instructs the gateway to perform an operation and the gateway replies back with the status of the operation.
TRANSACTION FLOW DIAGRAM
A simple transaction process flow is depicted in fig‐1 below.
-
CUSTOMER TO MERCHANTS WEBSITE
Customer confirms payment request in a client app or browser securely submitted back to merchant web server;
-
MERCHANTS SERVER TO LPS SERVER
Opens web request containing all the necessary card data and card holder details submitted over secure encrypted SSL;
-
LPS SERVER TO MERCHANTS SERVER
LPS gateway performs data, velocity and fraud checks. If any fail, the transaction process is stopped and a failure code is returned;
-
LPS SERVER TO BANK
The transaction after risk/fraud screening is sent from the LPS gateway to the bank and receives the response back from bank;
-
LPS TO MERCHANTS SERVER
LPS sends the bank response details to merchant server;
-
MERCHANT SERVER TO END USER
Merchant updates database and notifies customer of success or failure of the transaction;
-
LPS SERVER TO END USER
LPS can send an e‐mail receipt to customers where the transaction is successful. Merchant can receive a copy of the e‐mail for customer support or account management purposes;
Image unavailable: lps_integration.jpg
Card Gateway – API
The LPS Enterprise Payment Gateway – Card Processing API provides a real‐time, synchronous interface to execute debit / credit card transactions. Transaction requests are sent online, in real‐time,using HTTPS (Hypertext Transfer Protocol Secure).
Addresses
Integration Endpoint URL:
- Note: This will be issued along with account credentials after approval.
Production Endpoint URL:
- Note: This will be issued along with account credentials after approval.
HTTP Specification
- Protocol: https
- Method: POST
- Content‐Type: [application/www‐form‐urlencoded] or [application/x‐www‐formurlencoded]
Security/Authentication
All HTTP requests must be sent over SSL, a secure channel should be used. The LPS Payment Gateway does not authenticate the SSL session using a certificate from the client, thus a non‐authenticated SSL session is used. Instead the client is first authenticated using source IP plus a secondary authentication check using the account credentials verification which is sent in the request payload is used to verify before processing.
Integration Steps
Overview
The merchant’s server makes a request through a HTTP POST over a secure SSL connection and receives the result of the processing request as the response to the POST request. The request payload carries the necessary details for processing the payment request and the response contains parameters whose values represent the result of the payment request.
MERCHANT SERVER TO LPS SERVER
To process a payment, request all mandatory fields found in Schedule 2A need to be posted via SSL to LPS payment gateway URL which will be provided by LPS. All communication between LPS and the merchant is via SSL only. The merchant server makes a request through an HTTP POST to the LPS server, LPS receives the payment request, performs fraud screening and returns to the merchant a result of either fraudscreening (failed) or the bank response (if passed fraud screening).
Points to note about the POST to LPS
- LPS provide the merchant_user_id and merchantpwd
- Replace spaces in the user details with +. You do not however have to do a full URL‐encode of the request string.
- Post amounts as 2 decimal places only. Applies to amount field. i.e. 125.03
- A payment request will not be accepted for processing if the mandatory fields in Schedule 2A are missing.
- If a payment request does not contain all the mandatory fields then the system will return the fraudscreening_status value of 9001 and an LPS_Transaction_id of –1.
LPS SERVER BACK TO MERCHANT SERVER
Using the synchronous method your server opens an SSL protected connection to the LPS server and awaits a HTTP response from the server. If the data is sent successfully (HTTP Status 200) you need to retrieve the Response to the payment request. This will be returned as a query string with the variables described in Schedule 2B. Two response types may be returned; either fraud screening failed or bank transaction status.
Points to note about the LPS return POST
- LPS generates a unique transaction id for each transaction. This is returned to the merchant’s server along with the merchant reference number.
- Merchants must use the LPS_transaction_id for any transaction enquiries with LPS
- LPS response includes an id and password in the string for merchant server authentication purposes; this is the user name & password you supply to LPS and is different from the LPS supplied pair in the original post to Schedule 2A.
- If mandatory fields are missing then the system will not accept the transaction for processing. The details will be logged and the system will return a Fraudscreening_status of 9001 & an LPS_transaction_id of –1.
LPS TO END USER
LPS send an e‐mail receipt to the customer for each authorised payment request. The receipt contains all transaction details and an email address for customer enquiries. The email is sent from the merchants chosen address and not from LPS e.g. support@merchant.com. The merchant can receive a copy of the receipt sent to the customer.
Account Setup Process
Once the necessary due diligence has been completed on your application by the LPS compliance team, a test MID will be approved. To setup the test MID, merchants will be asked to provide a set of details which are required by the LPS technical team. This will be communicated at the time of MID setup
Testing & QA
As part of integration verification, merchants will be required to perform a set of test transactions as listed out by the LPS integrations verification team and submit the results. This will be validated and if any tests are not found to be satisfactory, the merchants will be requested to perform the test cases again until all outstanding issues are cleared. Once the integration is signed off, a live production MID approval will need to be obtained.
Going Live
On approval from bank, the live MID will be loaded into LPS payment gateway by LPS tech team and connectivity tests performed to ensure the transactions are processed correctly. A new production account will be issued to merchant which they can seamlessly swap their test account credentials for and initiate live tests. The merchants will need to submit live tests using real card details before they can switch their production traffic to LPS payment gateway.
Technical Support
At any stage during the integration process or beyond, merchants will be able to contact the LPS tech team using a dedicated support email. This email is automatically linked to a ticket queuing system which will generate a support ticket on merchant’s behalf and assigned to LPS Level 1 support team.
APPENDIX A: AUTHORISATION POST FIELDS & RESPONSES Schedule 2A – LPS POST Specification for Payment Request using CARD
| Field | Description | Required/ Optional | Data Type | Len |
|---|---|---|---|---|
| merchant_User_Id# | Merchant’s user id provided by LPS | Required | String | 50 |
| merchantpwd# | Merchant’s PWD provided by LPS | Required | String | 50 |
| merchant_ipaddress# | Static IP address of the Merchant server | Required, as provided by merchant | ||
| customer_firstname# | First name of the customer | Required | String | 50 |
| customer_lastname# | Last name of the customer | Required | String | 50 |
| customer_phone# | Telephone number of the customer | Required | String | 50 |
| customer_email# | Email address of the customer | Required | String | 50 |
| customer_ipaddress# | IP address of the customer | Required | String | 50 |
| bill_firstname# | First name of the card holder | Required | String | 50 |
| bill_lastname# | Last name of the card holder | Required | String | 50 |
| bill_address1# | Cardholder first line address as registered in card | Required | String | 100 |
| bill_address2# | Cardholder second line address as registered in card | Required | String | 100 |
| bill_city# | Cardholder city as registered in card | Required | String | 50 |
| bill_country# | Cardholder country as registered in card,specified in 2‐digit ISO country code | Required | See ISO Codes | |
| bill_state# | Cardholder city as registered in card | Optional | See ISO Codes | |
| bill_zip# | Cardholder zip / postcode as registered in card | Required | String | 50 |
| dateregistered# | Customer registered date with merchant | Optional | String | 50 |
| customer_cc_expmo# | Card expiration month (mm) | Required | numeric | 2 |
| customer_cc_expyr# | Card expiration year (yyyy) | Required | numeric | 50 |
| customer_cc_number# | Card number / PAN | Required | numeric | 19 |
| customer_cc_type# | Card type /card schemes.Allowed values:VISA,MAST,SWITCH,SOLO,DELTA,AMEX,MAESTRO (Case Sensitive, upper case only) | Required | numeric | 10 |
| customer_cc_cvc# | Card verification code (CVC/CVV) | Required | numeric | 3 |
| customer_bank_name# | Name of issuing bank of customer card | Optional | ||
| ship_to_address1# | First line of the street address to ship the order | Optional | String | 50 |
| ship_to_address2# | Second line of the street address to ship the order | Optional | String | 50 |
| ship_to_city# | City to which the ship the order | Optional | String | 50 |
| ship_to_country# | Country to which the ship the order,specified in 2‐digit ISO country code | Optional | String | 2 |
| ship_to_phone# | Telephone number of shipping destination | Optional | String | 50 |
| ship_to_state# | State or province to which the ship the product | Optional | String | 50 |
| ship_to_zip# | Zip / Postal code to which to the ship the product | Optional | String | 50 |
| ship_to_method# | Shipping method | Optional | String | 50 |
| merchant_ref_number# | Merchant generated reference number,ideally to be unique | Required | String | 50 |
| currencydesc# | Transaction processing currency,specified as 3‐digit ISO Currency code | Required | See ISO Codes | |
| amount# | Purchase Amount – 2 decimal places only | Required | 2 decimal places | |
| fees# | Merchant processing fee | Optional | 2 decimal places | |
| currencydesc# | Transaction processing currency,specified as 3‐digit ISO Currency code | Required | See ISO Codes | |
| scsscheck# | Flag to indicate if SCSS is required. Values: Y, N Y: Yes; N: No; [default if not sent] | Conditional (Only if SCSS options are required). | String | 1 |
| RecurringCheck# | Flag to indicate if transaction to be processed as recurring. Values: Y, N Y: Yes; N: No; [default if not sent] | Conditional (Only if recurring). | String | 1 |
| motocheck# | Flag to indicate if transaction to be processed as MOTO. Values: Y, N Y: Yes; N: No; [default if not sent] | Conditional (Only if MOTO). | String | 1 |
SAMPLE REQUEST STRING
Merchant_User_Id=test_merchant_account&merchantpwd=te****s!&merchant_ipaddress=1.1.1.1&customer_firstname=Thirlok&customer_lastname=shankar&customer_phone=1236798848&customer_email=testuser%40lateralpaymentsolutions.com&customer_ipaddress=2.2.2.2&bill_firstname=Thirlok&bill_lastname=Shankar&Bill_address1=34%2c+Millers+street&bill_address2=North+lane+road&bill_city=London&bill_country=GB&bill_state=Manchester&bill_zip=SE1&customer_cc_expmo=11&customer_cc_expyr=2018&customer_cc_number=420000######0000&customer_cc_type=VISA&customer_cc_cvc=000&merchant_ref_number=lpstest123¤cydesc=GBP&amount=0.10
Schedule 2A (T)– LPS POST Specification for Payment Request using CARD TOKEN
| Field | Description | Required/ Optional | **Data Type | Len** |
|---|---|---|---|---|
| merchant_User_Id# | Merchant’s user id provided by LPS | Required | String | 50 |
| merchantpwd# | Merchant’s PWD provided by LPS | Required | String | 50 |
| merchant_ipaddress# | Static IP address of the Merchant server | Required, as provided by merchant | ||
| customer_firstname# | First name of the customer | Required | String | 50 |
| customer_lastname# | Last name of the customer | Required | String | 50 |
| customer_phone# | Telephone number of the customer | Required | String | 50 |
| customer_email# | Email address of the customer | Required | String | 50 |
| customer_ipaddress# | IP address of the customer | Required | String | 50 |
| bill_firstname# | First name of the card holder | Required | String | 50 |
| bill_lastname# | Last name of the card holder | Required | String | 50 |
| bill_address1# | Cardholder first line address as registered in card | Required | String | 50 |
| bill_address2# | Cardholder second line address as registered in card | Optional | String | 100 |
| bill_city# | Cardholder city as registered in card | Required | String | 50 |
| bill_country# | Cardholder country as registered in card,specified in 2‐digit ISO country code | Required | See ISO Codes | |
| bill_state# | Cardholder state as registered in card,if applicable | Optional | See ISO Codes | |
| bill_zip# | Cardholder zip / postcode as registered in card | Required | String | 50 |
| dateregistered# | Customer registered date with merchant | Optional | String | 50 |
| CrdStrg_Token# | Unique card details identifier from LPS SCSS system | Required | String | 100 |
| customer_cc_cvc# | Card security code / CVN / CVV2 | Required | numeric | 3 |
| ship_to_address1# | First line of the street address to ship the order | Optional | String | 50 |
| ship_to_address2# | Second line of the street address to ship the order | Optional | String | 50 |
| ship_to_city# | City to which the ship the order | Optional | String | 50 |
| ship_to_country# | Country to which the ship the order,specified in 2‐digit ISO country code | Optional | String | 2 |
| ship_to_phone# | Telephone number of shipping destination | Optional | String | 50 |
| ship_to_state# | State or province to which the ship the product | Optional | String | 50 |
| ship_to_zip# | Zip / Postal code to which to the ship the product | Optional | String | 50 |
| ship_to_method# | Shipping method | Optional | String | 50 |
| merchant_ref_number# | Merchant generated reference number,ideally to be unique | Required | String | 50 |
| currencydesc# | Transaction processing currency,specified as 3‐digit ISO Currency code (for e.g. USD,GBP etc) | Required | See LPS Standard Codes | |
| amount# | Purchase Amount – 2 decimal places only | Required | 2 decimal places | |
| fees# | Merchant processing fee | optional | 2 decimal places | |
| scsscheck# | Flag to indicate if SCSS is required. Values: Y, N Y: Yes; N: No; [default if not sent] | Conditional (Only if SCSS options are required). | String | 1 |
| RecurringCheck# | Flag to indicate if transaction to be processed as recurring. | Conditional (Only if recurring) | String | 1 |
| Values:Y,N Y: Yes; N: No; [default if not sent] | ||||
| motocheck# | Flag to indicate if transaction to be processed as MOTO. Values: Y, N Y: Yes; N: No; [default if not sent] | Conditional (Only if MOTO) | String | 1 |
SAMPLE REQUEST STRING
Merchant_User_Id=lps_Account&merchantpwd=***&merchant_ipaddress=1.1.1.1&customer_ firstname=Thirlok&customer_lastname=Shankar&customer_phone=1236798848&customer_email= testuser%40lateralpaymentsolutions.com&customer_ipaddress=2.2.2.2&bill_firstname=Thirlok&bill _lastname=Shankar&Bill_address1=Southbank+house&bill_address2=Balck+Prince+road&bill_city=L ondon&bill_country=GB&bill_state=Greater+London&bill_zip=SE1&customer_cc_expmo=11&custo mer_cc_expyr=&customer_cc_cvc=000&merchant_ref_number=lpstest123¤cydesc=GBP &amount=0.10&scsscheck=D&CrdStrg_Token=0xda749cc60382e4af0cfb7e4dbb2ab33139840443
Schedule 2B – LPS POST Specification for Payment Response
| Field | Description | Datatype | Length |
|---|---|---|---|
| ResponseType# | Transaction response type | Numeric | 2 |
| LPS_transaction_id# | Unique Identifier for the transaction generated by LPS | Numeric | 10 |
| Merchant_ref_number# | Merchant reference number generated for the order | String | 50 |
| Lpsid# | Response authentication id, as provided by merchant | String | 50 |
| Lpspwd# | Response authentication password, as provided by merchant | String | 50 |
| Fraudscreening_status# | Fraud screening response code from LPS | Numeric | 4 |
| Bank_status# | Status of the transaction at the bank | Numeric | 4 |
| Amount# | Transaction amount | 2 decimal places | |
| Currency# | Transaction currency as per ISO code | String | 4 |
| Bank_transaction_no# | Unique Bank ID | String | 50 |
| Bank_authorisation_no# | Bank authorization number, save for your records | String | 50 |
| Bank_date# | Transaction date | String | 50 |
| Bank_time# | Transaction time | String | 50 |
| Bank_original_code# | Original Bank code (currently unused, always empty) | String | 255 |
Note
- The entire Schedule 2B is always returned regardless of the transaction status.
- The variables highlighted above in blue are always returned with values regardless of the ResponseType.
- With a ResponseType=0 (indicating it’s a fraudscreening response) then the variables in green will be blank. With a ResponseType=1 (indicating it’s a bank response) then all variables will be returned with appropriate values.
SAMPLE RESPONSE STRINGS
Result of fraudscreening failed response (ResponseType=0)
ResponseType=0&LPS_merchant_account=67392733&Merchant_ref_number=*******&Lpsid=test &Lpspwd=test&Fraudscreening_status=1003&Bank_status=&Amount=2&Currency=USD&Bank_tran saction_no=&Bank_authorisation_no=&Bank_date=12/05/2017&Bank_time=14:06&Bank_original_c ode=
Result of bank transaction response (ResponseType=1)
Accepted Sample
ResponseType=1&LPS_transaction_id=67392741&Merchant_ref_number=lpstest123&Lpsid=test&L pspwd=test&Fraudscreening_status=0&Bank_status=00&Amount=2&Currency=GBP&Bank_transacti on_no=67392741&Bank_authorisation_no=test&Bank_date=12/05/2017&Bank_time=14:06&Bank_ original_code=
Rejected Sample
ResponseType=1&LPS_transaction_id=40473433&Merchant_ref_number=lpstest123&Lpsid=test&L pspwd=test&Fraudscreening_status=0&Bank_status=05&Amount=0.1&Currency=GBP&Bank_transa ction_no=678691488&Bank_authorisation_no=&Bank_date=11/06/2012&Bank_time=12:08&Bank_ original_code=&AVS_Result=0&ZIP_Result=1&CVN_Result=0&CardBin=420000&CardLast4=2345
APPENDIX B: ADDITIONAL POST RESPONSE FIELDS
Depending on the merchant’s account setup status, LPS enterprise payment gateway can respond with extra fields in addition to the fields specified in the “schedule 2B”, which is the response to confirm the results of the transaction. These fields will NOT be enabled by default and cannot be guaranteed to be returned even if enabled. Depending on the outcome of the transaction and on the Acquiring bank on which the merchant is setup, these fields can be returned. LPS will continue to add these additional response fields as required in future releases/upgrades of the gateway. If a merchant would like to receive these additional fields they should contact LPS.
| Field | Description | Data type | Length |
|---|---|---|---|
| AVS_Result# | Customer Address verification result for the address line1, refer codes for possible values | Numeric | 4 |
| ZIP_Result# | Customer Zip code verification result for the bill_zip value posted,refer codes for possible values | Numeric | 4 |
| CVN_Result# | Result of CVC entered by customer, refet codes for possible values | Numeric | 4 |
| CardBin# | First 6 digit of customer card | Numeric | 6 |
| CardLast4# | Last 4 digit of customer card | Numeric | 4 |
| CardType# | Card Type of customer card, refer codes below | String | 10 |
| CardIssuingCountry# | Country code of the Card Issuing country, in 2‐digit ISO format | String | 2 |
| CardIssuer# | Card Issuer name | String | 100 |
| BankIdentifier# | Bank through which transaction was processed | String | 10 |
| bank_code# | Common LPS unique bank code indicating reason for transaction decline | String | 10 |
| bank_message# | Bank code description | String | 100 |
APPENDIX C: LPS RESPONSE CODES
"ResponseType" response Codes
“Fraudscreening_status” response codes
| Code | Description | Reason |
|---|---|---|
| 0# | Fraudscreening passed | |
| 1001# | Authentication failed for Merchant | Wrong id, password or IP supplied |
| 1002# | Merchant account inactive | Merchant account inactive |
| 1003# | Transaction amount exceeds the per Transaction Limit. | Transaction is greater than the allowed value for the day |
| 1004# | Customer has exceeded allowed transactions number for 24 hours | TVelocity control on purchases per day reached |
| 1005# | Purchase amount check *** | Repeated amounts being purchased |
| 1006# | Invalid credit card number. | Incorrect digit length for card type |
| 1007# | Invalid credit card expiry details. | Card expiry invalid |
| 1008# | Luhn’s modulus check failed. | CC number is invalid for card type |
| 1009# | PO Box error *** | Bill address contains a PO Box address |
| 1010# | Failed Country lookup | Bill country is on a negative country list |
| 1011# | Failed IP lookup | Customer IP is on a negative IP list |
| 1012# | Failed BIN lookup | Card BIN is on a negative list |
| 1013# | Customer card no.exceeded bank rejection limit | Card rejection limit reached |
| 1014# | Customer blocked | Customer is temporarily blocked pending investigation |
| 1015# | Minimum purchase check | Purchase amount is below a specified level |
| 1016# | Failed IP check. *** | Customer IP not in allowed list of IPs’. |
| 1020# | MOTO block | MOTO not enabled. |
| 1021# | Recurring block | Recurring not enabled. |
| 9000# | Unexpected error | System / Unknown Error. |
| 9001# | Missing required field. | Customer IP not in allowed list of IPs’. |
| 9002# | Mastercard transactions blocked *** | MOTO not enabled. |
| 9003# | Currency Block*** | Currency NOT enabled. |
| 9004# | Bank gateway not enabled. | Bank gateway not enabled. |
*** These codes may not be active for your account(s)
“Bank_status” response codes
CVN/AVS/ZIP (“CVN_Result”, “AVS_Result” & “ZIP_Result”) response codes
NB. The CVN/AVS/ZIP result fields above can also be returned blank or empty which should be treated as “Not verified by bank”
BankIdentifier codes (“BankIdentifier”)
This will be confirmed at the time of going live after MID approval with the respective acquiring bank.
Unique Bank code and Message (“bank_code” & “bank_message”)
| LPS Unique Bank Code | Description |
|---|---|
| N7# | Decline for CVV2 failure |
| R1# | Revocation of Authorization Order |
| 00# | Approved |
| 01# | Issuer Declined |
| 02# | Refer to Issuer |
| 03# | Invalid merchant or service provider |
| 04# | Retain Card |
| 05# | Do not honor |
| 06# | False Transaction |
| 07# | Pickup card, special condition (other than lost/stolen card) |
| 08# | Honour with Identification |
| 12# | Invalid transaction |
| 13# | Invalid amount (currency conversion field overflow) or amount exceeds maximum for card program |
| 14# | Invalid account number (no such number) |
| 15# | No such issuer |
| 21# | No action taken |
| 22# | Suspected Malfunction |
| 30# | Format Error |
| 34# | Suspected fraud, capture |
| 40# | Requested function not supported |
| 41# | Lost Card |
| 43# | Stolen Card |
| 51# | Insufficient funds |
| 54# | Expired card |
| 55# | Incorrect PIN |
| 57# | Transaction not permitted to cardholder |
| 58# | Transaction not allowed at terminal |
| 59# | Suspected Fraud |
| 61# | Activity amount limit exceeded |
| 62# | Restricted card (for example, in Country Exclusion table) |
| 63# | Security violation |
| 65# | Activity count limit exceeded |
| 75# | Allowable number of PIN‐entry tries exceeded |
| 76# | Unable to locate previous message (no match on Retrieval Reference number) |
| 83# | Unable to verify PIN |
| 91# | Issuer unavailable |
| 92# | Financial institution or intermediate network unknown for routing |
| 93# | Transaction cannot be completed, violation of law |
| 94# | Duplicate Transmission |
| 96# | System malfunction, System malfunction or certain field error conditions |
| 104# | Billing country blocked |
| 105# | Issuing country of card bin blocked |
| 106# | Vendor is not registered for currency |
| 201# | Bank account configuration error |
| 105# | Host timeout |
| 106# | Insufficient terminals |
| 301# | Declined by Acquirer |
APPENDIX D: TRANSACTION STATUS CHECK API
LPS Payment Gateway – card processing provides an API call to check the status of transactions sent for authorisation. This API call can be used in the event of communication failures. The API provides the option to query the status soon after the transaction is submitted. Due to security reasons, there is a threshold of ten minutes within which the same transaction should not be queried, or else a prescreening code will be returned.
Schedule 2G – LPS POST Specification for Status Check Request
| Field | Description | Required | Data type | Length |
|---|---|---|---|---|
| merchant_user_id# | Merchant user id provided by LPS | Required | String | 50 |
| merchantpwd# | Merchant password provided by LPS | Required | String | 50 |
| merchant_ipaddress# | Static IP address of the Merchant server | Required | ||
| merchant_ref_number# | Original merchant reference of transaction being checked | Required | String | 50 |
| currencydesc# | Currency of transaction being checked, in 2‐digit ISO code format | Required | String | 3 |
| amount# | Purchase Amount of transaction being checked – 2 decimal places only | Required | numeric | |
| lps_transaction_id# | Original transaction unique identifier generated by LPS | Optional | Numeric | 10 |
| realtime# | Flag to indicate if transaction processed within last 60 mins. Values: Y, N Y: Yes; (recent transactions within last 60 mins) N: No; [past transactions processed 1 hour before, if not provided this will be the default] | Optional | String | 1 |
Schedule 2H – LPS POST Specification for Status Check Response
| Field | Description | Data type | Length |
|---|---|---|---|
| responsetype# | Transaction response type, see codes below | Numeric | 4 |
| authstatuscheck_id# | Unique Identifier for the Status check request generated by LPS | ||
| merchant_ref_number# | Merchant reference number sent along with status check request | String | 50 |
| amount# | Transaction amount of transaction being checked | numeric | |
| currency# | Transaction currency of transaction being checked,in 2‐digit ISO code format | String | 4 |
| authstatuscheck_status# | Pre‐screening response code, see codes below | Numeric | 4 |
| lps_transaction_id# | Unique LPS transaction id of the transaction being checked | Numeric | 4 |
| transaction_status# | Transaction status code – see codes below | Numeric | 4 |
| bank_transaction_no# | Unique Bank ID | String | 50 |
| bank_authorisation_no# | Bank authorization number, save for your records | String | 50 |
| transactiondate# | Date and time of transaction processed | String | 255 |
| crdstrg_token***# | Unique card token generated for the card posted | String | 100 |
*** Only returned if transaction being checked is a token transaction
Status Check “responsetype” response codes
Status Check “authstatuscheck_status” response codes
| Code | Description | Reason |
|---|---|---|
| 0# | Prescreening passed | |
| 1001# | Authentication failed for Merchant | Wrong id, password or IP supplied |
| 1002# | Merchant account inactive | Merchant account inactive |
| 6003# | Merchant account inactive | Specified fields merchant ref number / currency /amount not matched or transactions not found. |
| 6009# | Repeated request within 10 mins | Repeated status check query request (within 10minutes) |
| 9000# | Unexpected error. | Incorrect data types, unknown error |
| 9001# | Missing required field. | A LPS_AuthStatusCheck_Id of –1 will also be returned |
Status Check “transaction_status” response codes
| Code | Description | Reason |
|---|---|---|
| 00# | Bank Accepted | |
| 05# | Bank Rejected | |
| 90# | Communication Failure (Pending) | Communication failure between LPS & bank,pending investigation and status update |
| 91# | Communication Failure | Communication failure, transaction not processed by bank |
| 1003# | Transaction amount exceeds the per Transaction Limit. | Transaction is greater than the allowed value for the day |
| 1004# | Customer has exceeded allowed transactions number for 24 hours | Velocity control on purchases per day reached |
| 1005# | Purchase amount check *** | Repeated amounts being purchased |
| 1006# | Invalid credit card number. | Incorrect digit length for card type |
| 1007# | Invalid credit card expiry details | |
| 1008# | Luhn’s modulus check failed | CC number is invalid for card type |
| 1009# | PO Box error *** | Bill address contains a PO Box address |
| 1010# | Failed Country lookup | Bill country is on a negative country list |
| 1011# | Failed IP lookup | Customer IP is on a negative IP list |
| 1012# | Failed BIN lookup | Customer CC BIN is on a negative list |
| 1013# | Customer card no. exceeded bank rejection limit | Customer credit card has reached its |
| 1014# | Customer blocked | Customer is temporarily blocked pending investigation |
| 1015# | Minimum purchase check | Purchase amount is below a specified level |
| 1016# | Failed IP check. *** | Customer IP not in allowed list of IPs |
| 1020# | MOTO block | MOTO not enabled |
| 1021# | Recurring block | Recurring not enabled. |
| 5001# | 3D SECURE Authentication Failed | Customer card enrolled for 3D SECURE but 3D |
| 5002# | Intermediate 3d Secure Response code | Returned in schedule 2C Response if card is enrolled for 3d Secure |
| 5003# | Intermediate 3d Secure Response code** | Internal to LPS, indicating customer has completed authentication in ACS URL and landed back to LPS server |
| 5004# | Intermediate 3d Secure Response code** | Internal to LPS, indicating merchant has sent PARES to LPS Server |
| 9000# | Unexpected error | Incorrect data types, unknown error |
| 9001# | Missing required field. | A transaction id of –1 will also be returned |
| 9002# | Mastercard transactions blocked *** | CC number is invalid for card type |
| 9003# | Currency Block*** | Currency NOT enabled. |
| 9004# | Bank gateway not enabled. | Bank gateway not enabled. |
| 9009# | SCSS service not enabled | Account not enabled for SCSS. |
| 9010# | SCSS unique identifier error | SCSS token not found or error. |
*** These codes may not be active for your account(s).
APPENDIX E: MANAGE CARD TOKENS
When merchants process recredits using SCSS system and generate card tokens corresponding to the customer card details, they can use the token as the reference for all subsequent transactions for that customer. The SCSS system provides two layers of encapsulation and hence it will not be possible to derive card details from token in anyway. To provide options for merchants to manage the details of card tokens, LPS SCSS system provides API which will enable merchants to automatically manage their card tokens. For example, if the expiry dates need to be changed due to card renewal it will not be necessary to post the whole details, but just the new changed details to the manage SCSS API functionality which will selectively update required information. Currently LPS SCSS manage API provides three functionalities:
a. Querying of card details linked to a token;
b. Updating of card details linked to a token;
c. Deletion of a token;
Schedule 2I – LPS POST Specification for Manage Tokens Request
| Field | Description | Required / Optional |
|---|---|---|
| Merchant_id# | LPS Provided value. | Required |
| merchantpwd# | Password used for authenticating the refund account | Required |
| AccountType# | Type of account. Valid values are: a. A: Auth account (default); b. R: Recredit account; | Required |
| RequestType# | SCSS manage card token request type. It should be one of the following: SCSS_Q: Querying card token details; SCSS_U: Update card token details; SCSS_D: Delete card token details; | Required |
| CrdStrg_Token# | Unique card details identifier from LPS SCSS system | Required |
| Bill_firstname# | Card holder first name | Optional *** |
| Bill_lastname# | Card holder last name | Optional *** |
| Bill_address1# | Card holder address line 1 | Optional *** |
| Bill_address2# | Card holder address line 2 | Optional *** |
| Bill_city# | Card holder address city | Optional *** |
| Bill_country# | Card holder address country | Optional *** |
| Bill_zip# | Card holder address zip / postal code | Optional *** |
| Customer_cc_type# | Card scheme name. Valid values: VISA, MAST, MAESTRO (Case Sensitive, upper case only) | Optional *** |
| Customer_cc_expmo# | Expiration month(mm) of the credit / debit card | Optional *** NOTE: If this value is sent then Customer_cc_expyr must be sent as well. |
| Customer_cc_expyr# | Expiration year(yyyy) of the credit / debit card | Optional *** NOTE: If this value is sent then Customer_cc_expmo must be sent as well. |
*** Optional – To be sent only when the updating the corresponding field value stored in LPS Token System.
Schedule 2J – LPS POST Specification for Manage Tokens Response
| Field | Description | Data type | Length |
|---|---|---|---|
| ResponseType# | Response type code | Numeric | 2 |
| RequestType# | Unique code for the request process | String | 10 |
| Requestid# | Unique Identifier for the request generated by LPS | Numeric | 10 |
| CrdStrg_Token# | SCSS system unique card identifier sent in request | String | 100 |
| Bill_firstname# | First name of the card holder stored for the unique identifier sent | String | 50 |
| Bill_lastname# | Last name of the card holder stored for the unique identifier sent | String | 50 |
| Bill_address1# | Billing customer first line of address stored for the unique identifier sent | String | 100 |
| Bill_address2# | Billing customer first line of address stored for the unique identifier sent | String | 100 |
| Bill_city# | Billing customer city stored for the unique identifier sent | String | 50 |
| Bill_state# | Billing customer state stored for the unique identifier sent | String | 50 |
| Bill_country# | Billing customer country code stored for the unique identifier sent (in ISO 2 digit format) | String | 2 |
| Bill_zip# | Billing customer postal code / zip code stored for the unique identifier sent | String | 100 |
| CardBin# | Bin number of the card stored for the unique identifier sent | Numeric | 6 |
| CardLast4# | Last 4 digits of the card number stored for the unique identifier sent | Numeric | 4 |
| Customer_cc_type# | Card type stored for the unique identifier sent | String | 10 |
| Customer_cc_expmo# | Expiration month(mm) of the card stored for the unique identifier sent | Numeric | 2 |
| Customer_cc_expyr# | Expiration year(yyyy) of the card stored for the unique identifier sent | Numeric | 4 |
| Status# | Status code to indicate the request status | Numeric | 10 |
Manage Tokens “ResponseType” response codes
| Description | Code |
|---|---|
| Manage Token Response# | 7 |
Manage Tokens “Status” response codes
Manage SCSS System#
In the event the billing details or card details needs to be updated, then merchants can make use of manage SCSS subsystem API to update or delete the card details.
The way the system works is as follows:
- Merchants send normal authorisation request with SCSS flag set to Y.
- A unique identifier is generated and returned along with the authorisation response.
- The unique identifier acts as the reference for all subsequent transactions.
- The identifier also references complete billing details of the card holder. Hence apart from the card details, billing details also will not be necessary when posting the identifier.
Once a token is generated the system flow will be as follows:#
- Merchant sends normal authorisation request with SCSS flag set to D (implying already done).
- If SCSS flag is set to D, then instead of card number, the SCSS token should be posted.
Points to note when posting token with SCSS flag set to D:#
- When posting with SCSS flag set to D, the token must always be posted or else the transactions will be rejected with a prescreening code.
- If card number is also sent along with SCSS flag set to D and token also present, card number will be ignored.
- If billing details as well as other card details are posted along with token, the details posted in the request will take precedence over the details stored in SCSS for that token. Hence the posted values will be utilised for authorisation processing. However, note that the details stored in SCSS will not have been updated. If it should be updated, then a separate update request on manage SCSS system API should be sent.
The unique identifier is of no value to anyone who attempts to steal sensitive information because the secure credit card information can never be obtained by using the identifier. Technically, the identifier is a hash pointer reference to a token value which is then referenced to the card holder data in our data store. Hence our SCSS system provides robust security in protecting card holder information.
SCSS system comprises of four main building blocks:#
a. Card Token Generation:
This phase consists of the generation of unique identifier for the card holder data. The unique identifier is linked to the merchant account issued by LPS. In case of standalone SCSS system, if the card number already exists on the system then the system will reject and new token generation will fail. However, in case of SCSS linked to authorisation, if an existing card number is used, then the same identifier will be returned if the card details has been previously posted by the client and an identifier generated previously.
b. Card Token Details Update:
This phase consists of an independent API which will enable merchants to be in control of their secure card data. In the event the card details need updating, for example if the expire dates have changed due to card renewal or the customer’s address details have changed. The merchants can send the token as well the new details which will be automatically updated into the SCSS system. All the usual process of validating the credentials will be necessary before the details can be updated.
c. Card Token Details Query:
This phase is similar to “Token Update” phase, except that it will just return the details stored for that token rather than altering any information. This will be useful if the merchants wish to recheck the details stored in our SCSS system before posting transactions.
d. Card Token Delete:
If customer details are to be removed due to various reasons such as customer has closed their account or audit retention policy or customer deemed fraudulent etc, merchants can send the “Token Delete” request and the card details will be completely removed and cannot be used further.