Getting Transaction Details of a Customer

Description

Gets a Customer's Transactions along with their details.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
transaction-ids Array of Integer Required Transaction Ids of the Transactions whose details are to be fetched

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/billing/customer-transactions.json?auth-userid=0&api-key=key&transaction-ids=0&transaction-ids=1

Response

Returns a hash map of the Customer's Transactions containing the below details:

  • Transaction Id (transid)

  • Order Id (orderid)

  • Transaction Key (transactionkey)

  • Transaction Date (transactiondate)

  • Transaction Type (type)

  • Transaction Description (description)

  • Product Key (key)

  • Transaction Settlement Date (timestamp)

  • Whether Total Receipts is updated due to the Transaction (totalreceiptupdated)

  • Transaction Cancellation Date - Applicable to Invoices (invoicecancellationdate)

  • Payment Reminder Days (paymentreminderdays)

  • Last Reminder Sent Date (lastreminder)

  • Whether Transaction is Greedy (greedy)

  • Whether the Transaction Description can be modified (isDescriptionModifiable)

  • Customer Id Associated with the Transaction (customerid)

  • Reseller Chain by RID (parentkey)

  • Customer Details (customer_name, customer_company, customer_address1, customer_city, customer_state, customer_country, customer_zip, customer_telnocc, customer_telno)

  • Reseller Id of the Customer's Parent Reseller (resellerid)

  • Parent Reseller Details (reseller_name,reseller_company, brandname, reseller_address1, reseller_city, reseller_state, reseller_country, reseller_zip, reseller_telnocc, reseller_telno)

  • Selling Currency Symbol of the Parent Reseller (sellingcurrencysymbol)

  • Transaction Amount in the Selling Currency (sellingamount)

  • Applicable Tax Amount in the Selling Currency (sellingtaxamount)

  • Transaction Amount without Tax in the Selling Currency (sellingamountwithouttax)

  • Unutilised Transaction Amount in the Selling Currency (unutilisedsellingamount)

  • Accounting Currency Symbol of the Parent Reseller (accountingcurrencysymbol)

  • Transaction Amount in the Accounting Currency (accountingamount)

  • Applicable Tax Amount in the Accounting Currency (accountingtaxamount)

  • Transaction Amount without Tax in the Accounting Currency (accountingamountwithouttax)

  • Unutilised Transaction Amount in the Accounting Currency (unutilisedaccountingamount)

  • Applicable Tax Rule Id (taxruleid)

  • Foreign Exchange Difference (forexdiff)

  • Whether Transaction Notification is to be sent to the Customer (sendcustomernotification)

  • Whether Transaction Notification is to be sent to the Parent Reseller (sendresellernotification)

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.