cancel
Showing results for 
Search instead for 
Did you mean: 

How to Pass invoiceNumber using JSON / cUrl

I get an error  "code" : "E00003"when submitting the following JSON.

{
   "createTransactionRequest":{
      "merchantAuthentication":{
         "name":"",
         "transactionKey":""
      },
      "refId":"Driver 1",
      "transactionRequest":{
         "transactionType":"authCaptureTransaction",
         "amount":"100.00",
         "payment":{
            "creditCard":{
               "cardNumber":"4111111111111111",
               "expirationDate":"05/25",
               "cardCode":"111"
            }
         },
         "order":{
            "description":"In Home Rug Cleaning",
            "invoiceNumber":"1233"
         },
         "userFields":{
            "userField":{
               "name":"Order ID",
               "value":"DDF72A74-68EB-4565-B41C-A9BA453A851D test"
            }
         }
      }
   }
}

 

Doug__H
Member
1 ACCEPTED SOLUTION

Accepted Solutions

I caught the error - the items in the "order" element were out of order. 1) invoiceNumber 2) description 

View solution in original post

Doug__H
Member
1 REPLY 1

I caught the error - the items in the "order" element were out of order. 1) invoiceNumber 2) description 

Doug__H
Member