Class ReceiptData.AuthorisationData
Data relating to the authorisation part of the transaction
Inheritance
Inherited Members
Namespace: Westpay.Epas
Assembly: EpasClientLibrary.dll
Syntax
public class AuthorisationData
Properties
View SourceApprovalCode
If the transaction was approved, this is the approval code issued by the authorising entity.
Declaration
public string ApprovalCode { get; }
Property Value
Type | Description |
---|---|
System.String |
CardholderVerificationMethod
The cardholder verification method used
Declaration
public VerificationMethod CardholderVerificationMethod { get; }
Property Value
Type | Description |
---|---|
VerificationMethod |
Remarks
Note that there are specific receipt guidelines around the ConsumerDevice method. Swedbank Contactless Bulletin v1.0 R5 says that if the cardholder verification is done in the device then the receipt should indicate that offline PIN was used.
Channel
The authorisation channel used
Declaration
public AuthorisationChannel Channel { get; }
Property Value
Type | Description |
---|---|
AuthorisationChannel |
FinancialInstitution
The three-letter financial institution code.
Declaration
public string FinancialInstitution { get; }
Property Value
Type | Description |
---|---|
System.String |
Responder
The authorisation method used
Declaration
public AuthorisingEntity Responder { get; }
Property Value
Type | Description |
---|---|
AuthorisingEntity |
ResponseCode
The authorisation response code
Declaration
public string ResponseCode { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This is the code that was returned from the authorisation process to indicate the result of the authorisation. The code is documented in the CHAOI specification, section 8.1.6.
VerifiedByDevice
Indicates that the cardholder verification was performed in a separate device
Declaration
public bool VerifiedByDevice { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Examples of these are ApplePay, GooglePay, etc., where the cardholder verification does not involve the terminal.
Methods
View SourcePinUsed()
Returns true if the verification method indicates that a PIN was used
Declaration
public bool PinUsed()
Returns
Type | Description |
---|---|
System.Boolean | True if PIN was used, false otherwise |
Remarks
The receipt guidelines indicate that “PIN USED” should be included in the receipt in these cases.
SignatureRequired()
Returns true if the verification method indicates that a signature is required
Declaration
public bool SignatureRequired()
Returns
Type | Description |
---|---|
System.Boolean | True if signature is required, false otherwise |
Remarks
In these cases the merchant receipt should include a space for the signature to be written.