Reply
Highlighted
Member
Posts: 2
Registered: ‎03-15-2019

ECC refund with transaction ID

I am submitting ECC refund with full credit card number and expiration date with no transaction ID. And yet I get a response code 33 with error message "A valid referenced transaction ID is required.".

I am using C# with SDK.

Posts: 2,764
Topics: 57
Kudos: 245
Blog Posts: 67
Registered: ‎12-05-2011

Re: ECC refund with transaction ID

Hello @intersoft 

 

Are you including the transactionID object in your request?  It should be removed, not just set as null

 

<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
	<merchantAuthentication>
		<name>4vzCzTK46uB</name>
		<transactionKey>4eT533qH5xD4v62S</transactionKey>
	</merchantAuthentication>
	<refId>123456</refId>
	<transactionRequest>
		<transactionType>refundTransaction</transactionType>
		<amount>5.00</amount>
		<payment>
			<creditCard>
				<cardNumber>0015</cardNumber>
				<expirationDate>XXXX</expirationDate>
			</creditCard>
		</payment>
		<refTransId>1234567890</refTransId> remove completely
	</transactionRequest>
</createTransactionRequest>

Build modern websites and mobile applications without increasing PCI burden using Authorize.Net Accept


Still using SIM, DPM or AIM? Please check our upgrade guide for details on migrating to our full Authorize.Net API.