Standard Authorisation
Payment Request#
Schedule 2A – LPS Common Post Specification for Payment Request#
| Field | Description | Mandatory | Data Type | Length |
|---|---|---|---|---|
| merchant_id# | Merchant account user id provided by LPS | Required | String | 50 |
| merchant_pwd# | Merchant account password provided by LPS | Required | String | 50 |
| merchant_ref_number# | Merchant generated reference number | Required | alphanumeric | 50 |
| merchant_ip# | Static IP address of the merchant server | Required, as provided by merchant | ||
| customer_phone# | Telephone number of the customer | Optional | Numeric | 20 |
| customer_email# | Email address of the customer | Optional | String | 50 |
| currencydesc# | The 3 digit ISO currency code (e.g. EUR) | Required | String | 3 |
| amount# | Purchase amount – 2 decimal places | Required | Numeric | 8 |
| countrycode# | The 2 digit ISO country code (e.g. DE) | Required | String | 2 |
| servicecode# | Service Code for which service needed.Refer code on Appendix C | Required | Numeric, as provided by LPS | |
| preferredlanguage# | The 2 digit language code (e.g. de) that is preferred when presenting payment pages to the customer | Optional | String | 2 |
| accountholdername# | The account holder name | Required | String | 100 |
| sellingpoint# | Point of sale (for merchant use) | Optional | String | 50 |
| soldservice# | Service sold to the customer (for merchant use) | Optional | String | 50 |
| merchantredirecturl_id# | The url identifier of URL to which customer will be redirected after authentication | Required | String | 50 |
| merchanterrorurl_id# | The url identifier of URL to which customer will be redirected in case of a fatal error or unable to process request | Required | String | 50 |
| notificationurl_id# | The url identifier of URL to which LPS should send transaction notification. Refer notification process in document | Required | String | 50 |
Payment Response#
Schedule 2B – LPS Common Post Specification for Payment Response#
This response will be returned back to the merchant if the payment service processed the transaction synchronously and transaction status immediately available. This response will also be returned if transaction is processed asynchronously and transaction status is still pending (final_status = 2) and no customer authentication is needed. The transaction status will be notified using notification process as explained in Section 5. The responsetype will be either 0 or 1.
| Field | Description | Data Type | Length |
|---|---|---|---|
| responsetype# | Transaction response type (refer Appendix B Section A) | Numeric | 4 |
| lps_apid# | Unique Identifier for the transaction generated by LPS | Numeric | 8 |
| merchant_ref_number# | Merchant reference number generated for the order | String | 50 |
| replypwd# | SHA1 hash value of reply_password provided by Merchant to LPS during account setup, to validate response | String | 100 |
| currencycode# | Transaction currency as per ISO code | String | 3 |
| amount# | Transaction amount | Numeric | 8 |
| process_status# | Status of the service process (refer Appendix B Section B) | Numeric | 4 |
| final_status# | Final status of the transactions (refer Appendix B Section C) | Numeric | 4 |
| bankreference# | Unique bank reference number | String | 4 |
| transactiondate# | Date of bank transaction | String | 50 |
| error_code# | Error code if errors occurred | String | 50 |
Schedule 2B – Payment Response
responsetype=1&lps_apid=10545&merchant_ref_number=lpstest123&replypwd=d802b9d79fadd6cbd1d830
3619739b3ed124ef22¤cycode=EUR&amount=1.00&process_status=0&final_status=0&bankreference
=24307494&transactiondate=&error_code=Enrolment Response#
Schedule 2C – LPS POST Specification for Enrolment Response#
This response will be returned if the request payment service requires customer authentication. The responsetype will be 2. The customer must be redirect to the url specified in “redirecturl” post field.
| Field | Description | Data Type | Length |
|---|---|---|---|
| responsetype# | Transaction response type (refer Appendix B Section A) | Numeric | 4 |
| lps_apid# | Unique Identifier for the transaction generated by LPS | Numeric | 4 |
| merchant_ref_number# | Merchant reference number generated for the order | String | 50 |
| replypwd# | SHA1 hash value of reply_password provided by Merchant to LPS during account setup, to validate response | String | 100 |
| redirecturl# | URL to redirect the customer to only available in PENDING asynchronous transactions | String | 255 |
Schedule 2C – Payment Response
responsetype=2&lps_apid=10544&merchant_ref_number=lpstest123&replypwd=d802b9d79fadd6cbd1d8303
619739b3ed124ef22&redirecturl=https://trusted.girogate.de/ti/dumbdummy?tx=24307484&rs=JCb3h0cL
S6FgTm8WC8sPqkHpzDR44ZCk&cs=dddc8a95b1bda86153f14df2bab82c975a31b7508cc2569115c09d3677
31f967ACS Redirect Request#
Schedule 2D – LPS POST Specification for ACS Redirect Request#
On receiving Schedule 2C response (responstype=2) from LPS AP Gateway, merchants must redirect customer to the “redirecturl” along with the following “hidden” fields. Note that all fields are mandatory.
ACS Redirect Response#
Schedule 2E – LPS POST Specification for ACS Redirect Response#
This response will be returned back to the URL assigned to merchantredirecturl_id which merchant had posted on the original transaction request (Schedule 2A). The responsetype is 3. The customer is also transferred along with this response back to merchant site.
| Field | Description | Data Type | Length |
|---|---|---|---|
| responsetype# | Transaction response type (refer Appendix B Section A) | Numeric | 4 |
| lps_apid# | Unique Identifier for the transaction generated by LPS | Numeric | 8 |
| merchant_ref_number# | Merchant reference number generated for the order | String | 50 |
| replypwd# | SHA1 hash value of reply_password provided by Merchant to LPS during account setup, to validate response | String | 100 |
| currencycode# | Transaction currency as per ISO code | String | 3 |
| amount# | Transaction amount | Numeric | 8 |
| process_status# | Status of the service process (refer Appendix B Section B) | Numeric | 4 |
| final_status# | Final StatusFinal StatusDefinition: Final StatusGo to definition → of the transactions (refer Appendix B Section C) | Numeric | 4 |
| bankreference# | Unique Bank reference number | String | 4 |
| transactiondate# | Date of bank transaction | String | 50 |
| error_code# | Error code if errors occurred | String | 50 |
Auth Request#
Schedule 2F – LPS POST Specification for Auth Request#
After receiving customer back on Schedule 2E, if the transaction status is still pending, merchants can check for transaction status by opening synchronous connection post with following fields.
| Field | Description | Data Type | Length |
|---|---|---|---|
| merchant_id# | Merchant account user id provided by LPS | String | 50 |
| merchant_pwd# | Merchant account password provided by LPS | String | 50 |
| merchant_ip# | Static IP address of the merchant server | As provided by merchant | |
| lps_apid# | Unique Identifier for the transaction generated by LPS | Numeric | 4 |
| merchant_ref_number# | Merchant reference number generated for the order | String | 50 |
~~~ The response for this request will be Schedule 2B with a responsetype of either 0 or 5. ~~~