cancel
Showing results for 
Search instead for 
Did you mean: 

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.

intersoft
Member
2 REPLIES 2

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>
RichardH
Administrator Administrator
Administrator

Aeiforia Construction Pvt. Ltd. is Noida based Interior turnkey contracting company,
established in 2011. One of the applauded & trendsetters in Interior contracting industry.
Our unique way of ‘giving ideas to quality work’ has helped Aeiforia make quantifiable value delivery in Projects.
We have trained carpenters, specialized skill set personals expertise and work style, to the site engineers that
represent us and to the managerial team that forms the core of the company-Aeiforia is constantly evolving.

 

Aeiforia Architects - Top Architects / Firm