Sightline Balance Enquiry

Payment Method Sightline is used in the US.

The following method IDs are covered in this section:

IDNameCredit/Debit StateReversal State
172Sightline DepositDepositedByProvider (29)

Payment method interaction type: Synchronous execution (see Interaction Types).

(Short additional explanation how the method works technically)

Redirect Integration

Currently not supported.

Backend2BackendIntegration

The web service method getPaymentInputData is used to fetch the balance of a memberID and thus to verify if an account exists.

getPaymentInputData

The following parameters should be provided in the details collection of getPaymentInputDataRequest:

key (value type, account type, required)value
MemberID
(keyStringValuePair)
The MemberNumber of a certain Sightline user.

Example getPaymentInputDataRequest:

<getPaymentInputDataRequest xmlns="http://www.cqrpayments.com/PaymentProcessing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<merchantID>YourMerchantID</merchantID>
	<shopID>YourShopID</shopID>
	<user>
		<id>UserID</id>
		<username>username</username>
		<firstname>firstname</ firstname>
		<lastname>lastname</lastname>
		<currencyCode>EUR</currencyCode>
		<languageCode>en</languageCode>
		<email>[email protected]</email>
		<address>
			<street>test street</street>
			<houseName>test houseName</houseName>
			<houseNumber>12</houseNumber>
			<houseNumberExtension>1B</houseNumberExtension>
			<postalCode>1030</postalCode>
			<city>city</city>
			<state>state</state>
			<countryCode2>US</countryCode2>
			<telephoneNumber>9123456789</telephoneNumber>
		</address>
	</user>
	<paymentMethodID>172</paymentMethodID>
	<details>
		<data xsi:type="keyStringValuePair">
			<key>MemberNumber</key>
			<value>7961628163</value>
		</data>
	</details>
</getPaymentInputDataRequest>

Example initiatePaymentResponse - Success:

<getPaymentInputDataResponse
xmlns="http://www.cqrpayments.com/PaymentProcessing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
	<paymentInputData>
		<data xsi:type="keyStringValuePair">
			<key>AuthorizationCode</key>
			<value>c4af371b567c4c7db1003a07b4a524bf</value>
		</data>
		<data xsi:type="keyStringValuePair">
			<key>Balance</key>
			<value>5.0000</value>
		</data>
		<data xsi:type="keyStringValuePair">
			<key>DateTime</key>
			<value>2015-02-16T17:29:14.1267325Z</value>
		</data>
		<data xsi:type="keyStringValuePair">
			<key>IdentityToken</key>
			<value>awBVAHYAKwByAEMAVgBtAHcAeQBnAE</value>
		</data>
		<data xsi:type="keyStringValuePair">
			<key>LCPEncodedTransactionId</key>
			<value>4322143211234</value>
		</data>
		<data xsi:type="keyStringValuePair">
			<key>LCPTransactionId</key>
			<value>43223thre33234</value>
		</data>
		<data xsi:type="keyStringValuePair">
			<key>MerchantTransactionId</key>
			<value>TestTransID</value>
		</data>
		<data xsi:type="keyStringValuePair">
			<key>PaymentProcessorTransactionId</key>
			<value>c4af371b567c4c7db1003a07b4a524bf</value>
		</data>
		<data xsi:type="keyDecimalValuePair">
			<key>TransactionStatus</key>
			<value>Approved</value>
		</data>
	</paymentInputData>
</getPaymentInputDataResponse>

Example initiatePaymentResponse - Failure:

<getPaymentInputDataResponse
xmlns="http://www.cqrpayments.com/PaymentProcessing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
	<paymentInputData>
		<data xsi:type="keyDecimalValuePair">
			<key>TransactionStatus</key>
			<value>Failed</value>
		</data>
		<data xsi:type="keyStringValuePair">
			<key>ErrorCode</key>
			<value>Failed</value>
		</data>
		<data xsi:type="keyStringValuePair">
			<key>ErrorMessage</key>
			<value>Request Failed</value>
		</data>
		<data xsi:type="keyDateTimeValuePair">
			<key>ErrorFriendlyMessage</key>
			<value>IM - Invalid Member Number</value>
		</data>
	</paymentInputData>
</getPaymentInputDataResponse>

The following paymentInputData keys are returned in getPaymentInputDataResponse:

Detail KeyDescription
TransactionStatusThe Status of the Transaction
Status Values: Approved/ Failed/ Declined
ErrorCodePossible ErrorCodes: Failed/ InactiveCard / SuspectedFraud/ ContactIssuingBank/ AcctClosed
ErrorMessagePossible ErrorMessages: Request Failed/ The card is inactive/ Fraud is suspected/ Contact Issuing Bank/ Account Closed
ErrorFriendlyMessagePossible ErrorFriendlyMessages: IM - Invalid Member Number/ SA - Inactive Card/ 59 - Suspected Fraud/ 04 - Pick-Upl/ SD - Account Closed