Returns a list of transactions for a given publisher
  • 16 Jul 2024
  • Dark
    Light

Returns a list of transactions for a given publisher

  • Dark
    Light

Article summary

Get
/publishers/{publisherId}/transactions/

GET transactions (list)

Publishers can pull individual transactions, check the status of the transactions, create their reports, and pull additional information that can be shared between publishers and advertisers via clickref (from publisher to advertiser) and orderRef and custom parameters (from advertiser to publisher)


Who can use it

Publishers

Header parameters
Authorization
string

accessToken

Path parameters
publisherId
integer (int64) Required

publisher id

Default"123456"
Query parameters
accessToken
stringRequired

access token

advertiserId.present
boolean
advertiserIds
string
dateType
string

date type, if not set - 'transaction' is the default

Valid values[ "\"transaction\"", "\"validation\"" ]
Default"transaction"
endDate
string (date-time) Required

end date

Default"2021-03-15T01:59:59Z"
publisherId.present
boolean
publisherIds
string
showBasketProducts
boolean

show basket products

Default"False"
startDate
string (date-time) Required

start date

Default"2021-01-01T12:00:00Z"
status
string

transaction status

Valid values[ "\"pending\"", "\"approved\"", "\"declined\"", "\"deleted\"" ]
timezone
string

time zone in short or default format

Default"UTC"

Further information on the query parameters

Please note: the maximum date range between startDate and endDate currently supported is 31 days.

parameterformatmandatory/optional
startDateyyyy-MM-ddThh:mm:ssmandatory
endDateyyyy-MM-ddThh:mm:ssmandatory
dateTypetransaction

validation

optional (falls back to "transaction" if not set)
timezoneEurope/Berlin

Europe/Paris Europe/London Europe/Dublin Canada/Eastern Canada/Central Canada/Mountain Canada/Pacific US/Eastern US/Central US/Mountain US/Pacific UTC

mandatory
publisherId12345 or 12345,67890 for multiple onesoptional, available for advertisers
advertiserId12345 or 12345,67890 for multiple onesoptional, available for publishers
statuspending

approved declined deleted

optional
showBasketProductsJSON arrayoptional 
Responses
200

OK

Note that the field "lapseTime" is the conversion time in seconds


Basket Products

If &showBasketProducts=true then products sent via Product Level Tracking matched to the transaction can be viewed (please see "Conditional data fields" below for restrictions that might apply)


Conditional data fields

Some data fields are only available to publishers and depending on additional settings.

datafieldavailable for publishers
orderRefyes, if the publisher is activated to see it
clickRefyes
clickRef2 - clickRef6yes
customParametersyes, if the advertiser shares them with his publishers
basketProductsyes, if the advertiser shares them with his publishers
networkFeeno


Response values for "type"

Sale, Lead, Bonus, 2nd Tier, Commission group transaction, PPC, TQS, Mobile Sale, Mobile Lead, Mobile App Install, Mobile App Purchase, Compensation, 


Was this article helpful?