cancel
Showing results for 
Search instead for 
Did you mean: 

Refund API with last 4 digits of credit card number

Hi Team,

According to https://developer.authorize.net/api/reference/index.html#payment-transactions-refund-a-transaction

We use last 4 digits of cc number and refTransId in refund API but cannot submit the refund request successfully. 

 

When provided with the full credit number, everything worked as expected. 

We confirmed that we are not in TEST mode. This happened to production ENV as well.

API Response:

{
    "transactionResponse": {
        "responseCode": "3",
        "authCode": "",
        "avsResultCode": "P",
        "cvvResultCode": "",
        "cavvResultCode": "",
        "transId": "0",
        "refTransID": "",
        "transHash": "",
        "testRequest": "0",
        "accountNumber": "XXXX5605",
        "accountType": "",
        "errors": [
            {
                "errorCode": "6",
                "errorText": "The credit card number is invalid."
            }
        ],
        "transHashSha2": "4973F3.....A6DADA",
        "SupplementalDataQualificationIndicator": 0
    },
    "refId": "XXXXXXXXXX",
    "messages": {
        "resultCode": "Error",
        "message": [
            {
                "code": "E00027",
                "text": "The transaction was unsuccessful."
            }
        ]
    }
}

 

rmavcc
New Member
0 REPLIES 0