Below table describes the fields in the response message.
Field | Description |
---|---|
status | Authorisation status. A indicates an authorised transaction. Any other value indicates that the request could not be processed. |
code | "If the transaction was authorised this contains the authorisation code from" the card issuer. Otherwise it contains a code indicating why the transaction could not be processed. |
message | The authorisation or processing error message. |
tranref | The payment gateway transaction reference allocated to this request. |
cvv | Result of the CVV check: Y = CVV matched OK N = CVV not matched X = CVV not checked "E = Error unable to check CVV" |
avs | Result of the AVS check: Y = AVS matched OK "P = Partial match (for example post-code only)" N = AVS not matched X = AVS not checked "E = Error unable to check AVS" |
The AVS check is currently only available for cards issued in the United Kingdom, United States of America or Canada.
Sample response
<?xml version="1.0" encoding="UTF-8"?>
<remote>
<auth>
<status>A</status>
<code>tst123</code>
<message>Authorised</message>
<tranref>010321000871</tranref>
<cvv>Y</cvv>
<avs>X</avs>
</auth>
</remote>