<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic API details for the Items xml format for Returns in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-details-for-the-Items-xml-format-for-Returns/m-p/88942#M56051</link>
    <description>&lt;P&gt;I created an example for returning an order with the items listed into the Sandbox API Reference tool using my sandbox account. I see the reference return Elements and documentation but I can not seem to get it to work.&amp;nbsp; So the first quest is simple.&amp;nbsp; 1) can and should I be capable to process a return with the items returned in the tool. 2) I really can't find any details anywhere on the internet on how to return an item and credit a customer's account.&amp;nbsp; &amp;nbsp;I can do a VOID order and FULL Return minus the items.&amp;nbsp; (Simple).&amp;nbsp; &amp;nbsp;But I really would like to include the items in the process of&amp;nbsp; "Refund a Transaction".&amp;nbsp; &amp;nbsp;Below is the example that I put together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&lt;BR /&gt;&amp;lt;merchantAuthentication&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;XXXXXXXXXX&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;transactionKey&amp;gt;XXXXXXXXXXXXXX&amp;lt;/transactionKey&amp;gt;&lt;BR /&gt;&amp;lt;/merchantAuthentication&amp;gt;&lt;BR /&gt;&amp;lt;refId&amp;gt;8854XX&amp;lt;/refId&amp;gt;&lt;BR /&gt;&amp;lt;transactionRequest&amp;gt;&lt;BR /&gt;&amp;lt;transactionType&amp;gt;refundTransaction&amp;lt;/transactionType&amp;gt;&lt;BR /&gt;&amp;lt;amount&amp;gt;58.30&amp;lt;/amount&amp;gt;&lt;BR /&gt;&amp;lt;payment&amp;gt;&lt;BR /&gt;&amp;lt;creditCard&amp;gt;&lt;BR /&gt;&amp;lt;cardNumber&amp;gt;8888&amp;lt;/cardNumber&amp;gt;&lt;BR /&gt;&amp;lt;expirationDate&amp;gt;XXXX&amp;lt;/expirationDate&amp;gt;&lt;BR /&gt;&amp;lt;/creditCard&amp;gt;&lt;BR /&gt;&amp;lt;/payment&amp;gt;&lt;BR /&gt;&amp;lt;refTransId&amp;gt;80015474393&amp;lt;/refTransId&amp;gt;&lt;BR /&gt;&amp;lt;lineItem&amp;gt;&lt;BR /&gt;&amp;lt;itemId&amp;gt;25774&amp;lt;/itemId&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;VARDAR2324NIKEPRECISIONVIJERSE&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;quanity&amp;gt;1&amp;lt;/quanity&amp;gt;&lt;BR /&gt;&amp;lt;unitPrice&amp;gt;55.00&amp;lt;/unitPrice&amp;gt;&lt;BR /&gt;&amp;lt;taxable&amp;gt;Y&amp;lt;/taxable&amp;gt;&lt;BR /&gt;&amp;lt;/lineItem&amp;gt;&lt;BR /&gt;&amp;lt;tax&amp;gt;&lt;BR /&gt;&amp;lt;amount&amp;gt;3.30&amp;lt;/amount&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;MICHIGAN&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;/tax&amp;gt;&lt;BR /&gt;&amp;lt;/transactionRequest&amp;gt;&lt;BR /&gt;&amp;lt;/createTransactionRequest&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error response:&lt;/P&gt;&lt;PRE&gt;  &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;messages&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;resultCode&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;Error&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;resultCode&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;message&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;code&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;E00003&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;code&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;text&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;The element 'transactionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'lineItem' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'splitTenderId, order, lineItems, tax, duty, shipping, taxExempt, poNumber, customer, billTo, shipTo, customerIP, cardholderAuthentication, retail, employeeId, transactionSettings, userFields, surcharge, merchantDescriptor, subMerchant, tip, processingOptions, subsequentAuthInformation, otherTax, shipFrom, authorizationIndicatorType' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;text&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;message&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;messages&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;ErrorResponse&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 18:16:07 GMT</pubDate>
    <dc:creator>bbolt510</dc:creator>
    <dc:date>2024-03-04T18:16:07Z</dc:date>
    <item>
      <title>API details for the Items xml format for Returns</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-details-for-the-Items-xml-format-for-Returns/m-p/88942#M56051</link>
      <description>&lt;P&gt;I created an example for returning an order with the items listed into the Sandbox API Reference tool using my sandbox account. I see the reference return Elements and documentation but I can not seem to get it to work.&amp;nbsp; So the first quest is simple.&amp;nbsp; 1) can and should I be capable to process a return with the items returned in the tool. 2) I really can't find any details anywhere on the internet on how to return an item and credit a customer's account.&amp;nbsp; &amp;nbsp;I can do a VOID order and FULL Return minus the items.&amp;nbsp; (Simple).&amp;nbsp; &amp;nbsp;But I really would like to include the items in the process of&amp;nbsp; "Refund a Transaction".&amp;nbsp; &amp;nbsp;Below is the example that I put together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&lt;BR /&gt;&amp;lt;merchantAuthentication&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;XXXXXXXXXX&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;transactionKey&amp;gt;XXXXXXXXXXXXXX&amp;lt;/transactionKey&amp;gt;&lt;BR /&gt;&amp;lt;/merchantAuthentication&amp;gt;&lt;BR /&gt;&amp;lt;refId&amp;gt;8854XX&amp;lt;/refId&amp;gt;&lt;BR /&gt;&amp;lt;transactionRequest&amp;gt;&lt;BR /&gt;&amp;lt;transactionType&amp;gt;refundTransaction&amp;lt;/transactionType&amp;gt;&lt;BR /&gt;&amp;lt;amount&amp;gt;58.30&amp;lt;/amount&amp;gt;&lt;BR /&gt;&amp;lt;payment&amp;gt;&lt;BR /&gt;&amp;lt;creditCard&amp;gt;&lt;BR /&gt;&amp;lt;cardNumber&amp;gt;8888&amp;lt;/cardNumber&amp;gt;&lt;BR /&gt;&amp;lt;expirationDate&amp;gt;XXXX&amp;lt;/expirationDate&amp;gt;&lt;BR /&gt;&amp;lt;/creditCard&amp;gt;&lt;BR /&gt;&amp;lt;/payment&amp;gt;&lt;BR /&gt;&amp;lt;refTransId&amp;gt;80015474393&amp;lt;/refTransId&amp;gt;&lt;BR /&gt;&amp;lt;lineItem&amp;gt;&lt;BR /&gt;&amp;lt;itemId&amp;gt;25774&amp;lt;/itemId&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;VARDAR2324NIKEPRECISIONVIJERSE&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;quanity&amp;gt;1&amp;lt;/quanity&amp;gt;&lt;BR /&gt;&amp;lt;unitPrice&amp;gt;55.00&amp;lt;/unitPrice&amp;gt;&lt;BR /&gt;&amp;lt;taxable&amp;gt;Y&amp;lt;/taxable&amp;gt;&lt;BR /&gt;&amp;lt;/lineItem&amp;gt;&lt;BR /&gt;&amp;lt;tax&amp;gt;&lt;BR /&gt;&amp;lt;amount&amp;gt;3.30&amp;lt;/amount&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;MICHIGAN&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;/tax&amp;gt;&lt;BR /&gt;&amp;lt;/transactionRequest&amp;gt;&lt;BR /&gt;&amp;lt;/createTransactionRequest&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error response:&lt;/P&gt;&lt;PRE&gt;  &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;messages&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;resultCode&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;Error&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;resultCode&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;message&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;code&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;E00003&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;code&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;text&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;The element 'transactionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'lineItem' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'splitTenderId, order, lineItems, tax, duty, shipping, taxExempt, poNumber, customer, billTo, shipTo, customerIP, cardholderAuthentication, retail, employeeId, transactionSettings, userFields, surcharge, merchantDescriptor, subMerchant, tip, processingOptions, subsequentAuthInformation, otherTax, shipFrom, authorizationIndicatorType' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;text&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;message&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;messages&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;ErrorResponse&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 18:16:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-details-for-the-Items-xml-format-for-Returns/m-p/88942#M56051</guid>
      <dc:creator>bbolt510</dc:creator>
      <dc:date>2024-03-04T18:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: API details for the Items xml format for Returns</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-details-for-the-Items-xml-format-for-Returns/m-p/88954#M56054</link>
      <description>&lt;P&gt;Fixed it..&lt;/P&gt;&lt;P&gt;&amp;lt;createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&lt;BR /&gt;&amp;lt;merchantAuthentication&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;xxxxxx&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;transactionKey&amp;gt;xxxxxx&amp;lt;/transactionKey&amp;gt;&lt;BR /&gt;&amp;lt;/merchantAuthentication&amp;gt;&lt;BR /&gt;&amp;lt;refId&amp;gt;xxxxx&amp;lt;/refId&amp;gt;&lt;BR /&gt;&amp;lt;transactionRequest&amp;gt;&lt;BR /&gt;&amp;lt;transactionType&amp;gt;refundTransaction&amp;lt;/transactionType&amp;gt;&lt;BR /&gt;&amp;lt;amount&amp;gt;58.30&amp;lt;/amount&amp;gt;&lt;BR /&gt;&amp;lt;payment&amp;gt;&lt;BR /&gt;&amp;lt;creditCard&amp;gt;&lt;BR /&gt;&amp;lt;cardNumber&amp;gt;8888&amp;lt;/cardNumber&amp;gt;&lt;BR /&gt;&amp;lt;expirationDate&amp;gt;XXXX&amp;lt;/expirationDate&amp;gt;&lt;BR /&gt;&amp;lt;/creditCard&amp;gt;&lt;BR /&gt;&amp;lt;/payment&amp;gt;&lt;BR /&gt;&amp;lt;refTransId&amp;gt;80015474393&amp;lt;/refTransId&amp;gt;&lt;BR /&gt;&amp;lt;lineItems&amp;gt;&lt;BR /&gt;&amp;lt;lineItem&amp;gt;&lt;BR /&gt;&amp;lt;itemId&amp;gt;25774&amp;lt;/itemId&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;VARDAR2324NIKEPRECISIONVIJERSE&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;quantity&amp;gt;1&amp;lt;/quantity&amp;gt;&lt;BR /&gt;&amp;lt;unitPrice&amp;gt;55.00&amp;lt;/unitPrice&amp;gt;&lt;BR /&gt;&amp;lt;taxable&amp;gt;true&amp;lt;/taxable&amp;gt;&lt;BR /&gt;&amp;lt;/lineItem&amp;gt;&lt;BR /&gt;&amp;lt;/lineItems&amp;gt;&lt;BR /&gt;&amp;lt;tax&amp;gt;&lt;BR /&gt;&amp;lt;amount&amp;gt;3.30&amp;lt;/amount&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;michigan&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;/tax&amp;gt;&lt;BR /&gt;&amp;lt;/transactionRequest&amp;gt;&lt;BR /&gt;&amp;lt;/createTransactionRequest&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 23:34:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/API-details-for-the-Items-xml-format-for-Returns/m-p/88954#M56054</guid>
      <dc:creator>bbolt510</dc:creator>
      <dc:date>2024-03-05T23:34:47Z</dc:date>
    </item>
  </channel>
</rss>

