mozvat / WSPAPIPrototype

Web Services 2.0 prototype work.
1 stars 2 forks source link

"Get" - TransactionID as unique identifier versus InvoiceNumber #8

Open mozvat opened 11 years ago

mozvat commented 11 years ago

When doing a "GET" which is our current CTranDetail() webmethod call.

This method will return all transaction records matching the invoice number supplied. The records contain the data available from Mercury’s merchant web reporting*

Three arguments: CTranDetail(merchantid as string, pw as string, invoice as string)

  1. merchantid is the merchant ID of this account.
  2. password is a string that Mercury assigns for a particular merchant ID.
  3. invoice is a string that specifies the invoice number of the transaction record needed.

Example: s = x.CTranDetail(“595901”,”xyz”,"1234”)

Is the invoice number the same as CustomerID?

Below, I put in a MerchantID as a query noun...

http://mercuryrestapi.azurewebsites.net/api/payments/Transactions?customerid=12345&timestamp=50394852&hash=3a23fb806103fb33d8518c7f505232674976217a&MerchantID=1234

sempf commented 11 years ago

That's probably just an oversight on my part.