Global Internet GI Logo

Getting Transaction Details of a Sub-Reseller

Description

Gets a Sub-Reseller'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/reseller-transactions.json?auth-userid=0&api-key=key&transaction-ids=0&transaction-ids=1

Response

Returns a hash map of Sub-Reseller'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)

  • Last Payment Reminder Sent Date (lastreminder)

  • Whether Transaction is Greedy (greedy)

  • Whether the Transaction Description can be modified (isDescriptionModifiable)

  • Reseller Id Associated with the Transaction (resellerid)

  • Reseller Chain by RID (parentkey)

  • Sub-Reseller Details (reseller_name, reseller_company, reseller_address1, reseller_city, reseller_state, reseller_country, reseller_zip, reseller_telnocc, reseller_telno)

  • Reseller Id of the Sub-Reseller's Parent Reseller (parentid)

  • Parent Reseller Details (parent_name,parent_company, brandname, parent_address1, parent_city, parent_state, parent_country, parent_zip, parent_telnocc, parent_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 Sub-Reseller (sendresellernotification)

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

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