Need help?

Response

Below table describes the fields in the response message.

FieldDescription
statusAuthorisation 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.
messageThe authorisation or processing error message.
tranrefThe payment gateway transaction reference allocated to this request.
cvvResult of the CVV check:
Y = CVV matched OK
N = CVV not matched
X = CVV not checked
"E = Error unable to check CVV"
avsResult 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"
networktranidPayment network transaction id
cartidUnique cartid value which will be passed in request
rrnRetrieval reference rumber

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>213807</code>
        <message>Authorised</message>
        <tranref>042525252525</tranref>
        <cvv>Y</cvv>
        <avs>X</avs>
        <networktranid>123456789</networktranid>
        <cartid>abc123</cartid>
        <rrn>123456</rrn>
        <trace>4001/1092034/669028e9</trace>
    </auth>
    <payment>
        <code>VC</code>
        <description>Visa Credit ending 0008</description>
        <card_end>0008</card_end>
        <card_bin>123456</card_bin>
        <card_country>AE</card_country>
    </payment>
</remote>