ResponseAuthSource Property
Auth Source Code from the original authorization response.
Syntax
tsysdetailrecord.getResponseAuthSource([callback]) tsysdetailrecord.setResponseAuthSource( responseAuthSource, [callback])
Default Value
""
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getResponseAuthSource([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setResponseAuthSource([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
This field contains a one character authorization source code used to provide information on the source or origin of the ResponseApprovalCode being settled. If the transaction being settled was network authorized, this field must contain the value returned in the authorization response. If the transaction is a credit, or otherwise processed off-line, this field must contain one of the values below.
6 | POS device generated authorization code. |
9 | Not authorized (includes credits/refunds). |
E | Off-line voice center or chip-approved transaction, manually keyed approval code (ie: referrals). |
Data Type
String