Showing results for 
Search instead for 
Did you mean: 

How Many ways to pass transaction data in authorize.Net API?

Hi Guys,


Can you suggest me How Many ways to pass transaction data in authorize.Net API

One way I knew that isto pass transaction data in name/value pairs.

If any another way then please share with me ASAP....




I am using  AIM API 


Right now I am using AIM integration funcionality.I have used wcf  service . My service is working fine & get  Proper response  when I am  sending the request on  test URL "" 


Right now I am  sending a request in name value   pair format  LIke :


Now My question is that  Is there  any another way to send request except name value pair?


Is there any option to send request in xml format or using any encryption on request format?


Please share asap............


Thanks in Advance




There are 2 ways for AIM, name/value or XML.


Both documentation is here

The fact that you are calling a URL with https means the transaction is being transferred securely. GET tends to be less secure than POST on the server side, however, because servers often log the URL's and anyone with access to the server can then look at the logs. Given, they could just as easily insert code to send a copy of the data to them separately, so I suppose that doesn't matter much.



I appriciate your answer,


But , can you share the sample application with the xml request, then its good for me..


I have checked out your sample application that is in name value pair .


or How can I send the xml request on your test url  for one transaction type like Authorize_capture ASAP......

They don't have sample code for AIM in XML. But they do have it for ARB in XML for php.



Its very helpfull..


Now clear me one thing


Have you encoded the request data before sedd it to testurl or in a name value pair or xml  format like :




or in xml 


<?xml version="1.0" encoding="utf-8"?>
<ARBCreateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<name>Sample subscription</name>


now my question is that what is the format of both name value and xml request data before sending it to test url


I'll be highly thankfull to you for this help...............................................






I am sending xml request in this format






I am getting this response  after sending request on ""



<?xml version="1.0" encoding="utf-8"?><ErrorResponse xmlns:xsi="" xmlns:xsd="" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Error</resultCode><message><code>E00045</code><text>The root node does not reference a valid XML namespace.</text></message></messages></ErrorResponse>


just tell me what parameter I need to add where is the error?