POSTING & RESPONSE PARAMETERS FOR OCT
The data in the table below should be posted to a URL that will be confirmed by LPS.
SCHEDULE B1: Posting Parameters#
| Form Field | Description | Details |
|---|---|---|
| merchant_refund_id# | LPS Provided value. It will be used to process refunds on all sites in your group, so if you have multiple authorisation accounts (merchant_user_id’s) with LPS, then this single merchant_refund_id will be used to process refunds for the entire group. | Mandatory |
| merchant_pwd# | Password used for authenticating the refund account. | Mandatory |
| refund_type# | This field indicates the type of refund. 5 - OCT | Mandatory |
| merchant_ref_number# | Merchant Reference number generated and sent to LPS by merchant. | Mandatory |
| firstname# | Customer First Name | Mandatory |
| lastname# | Customer Last Name | Mandatory |
| phone# | Customer Phone | Optional |
| email# | Customer Email | Optional |
| bill_firstname# | Billing Customer First Name | Mandatory |
| bill_lastname# | Billing Customer Last Name | Mandatory |
| bill_address1# | Billing Customer first line address | Mandatory |
| bill_address2# | Billing Customer second line address | Optional |
| bill_city# | Billing Customer city | Mandatory |
| bill_state# | Billing Customer state | Conditional. Required for CA |
| bill_zip# | Billing Customer zip | Mandatory |
| bill_country# | Billing customer country in ISO 2-digit alpha format. | Mandatory |
| pan# | Card Number | Mandatory |
| pan_expmo# | Card expiry month in format mm | Mandatory |
| pan_expyr# | Card expiry year in format yyyy | Mandatory |
| pan_startmo# | Card start month in format mm | Optional |
| pan_startyr# | Card start year in format yyyy | Optional |
| pan_type# | Card type should contain one of the following values: VISA MAST SWITCH SOLO DELTA AMEX MAESTRO (Case sensitive, upper case only) | Mandatory |
| pan_issue# | Card issue number. | Optional |
| refund_currency# | Transaction Currency in ISO 3-digit alpha format | Mandatory |
| refund_amount# | Transaction amount with two decimal places only | Mandatory |
| scsscheck# | Unique card details identifier from LPS SCSS system | S SCSS systemConditional*** (if scsscheck is set to D) ***If this field is not sent and scsscheck is set to D, a 9010-errorcode will occur |
| crdstrg_token# | Unique card details identifier from LPS SCSS system | Conditional*** (if scsscheck is set to D) ***If this field is not sent and scsscheck is set to D, a 9010-error code will occur. |
SCHEDULE B2: Response Parameters#
| Form Field | Description |
|---|---|
| LPSReply_pwd# | Password provided by merchant to LPS to authenticate return post fields. |
| Request_Id# | Request Id generated for the recredit request. |
| LPS_refund_id# | Refund Id generated for the recredit request. |
| RefundSubmit_status# | The submitted status of payback in LPS. Please refer schedule E1. |
| Bank_status# | The settlement status of payback in LPS |
SCHEDULE B3: Bank Status#
*** Depending upon how your recredit account is configured, the “Bank_status” may also be returned empty instead of any of the above values. In that scenario, if “Refund Submit_status” is 0 and “Bank_Status” is empty, then it implies request accepted by LPS but pending submission to bank. If “Refund Submit_status” is NOT 0, then “Bank_status” will always be empty, implying that the request has failed LPS checks.
Sample Request for OCT
merchant_refund_id=Test_Payback&Merchant_pwd=test&merchant_ref_number=lpstest123_Jun29_3&Firstname=TestName&Bill_Zip=SE1&PAN=420000######0000&refund_type=5&bill_FirstName=TestName&Bill_City=London&LPS_transaction_id=&Phone=123&PAN_expyr=2022&PAN_Issue=&Lastname=TestName&bill_address1=SouthBankHouse&Bill_address2=&bill_LastName=TestName&CrdStrg_Token=&Bill _Country=GB&PAN_expmo=11&Bill_State=GreaterLondon&PAN_cvc=&refund_amount=0.10&Email=dss@digisource.co.in&PAN_StartMo=&PAN_StartYr=&PAN_TYPE=VISA&refund_currency=GBP
Sample Response for OCT
LPSReply_pwd=Test&LPS_refund_id=2827767&Request_Id=2619331&RefundSubmit_status=0&Bank_status=
SCHEDULE B4: ADDITIONAL RESPONSE PARAMETERS#
Depending on the merchant’s account setup status, LPS Recredits API gateway can respond additional fields in addition to the fields specified in the “schedule B2” 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 gateway 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 merchants wish to get these fields returned, they will need to contact LPS to get their accounts configured.