UserHistory-GetHistory-v2

From Barion Documentation
Revision as of 12:39, 11 November 2022 by Penteki (talk | contribs) (Created page with "{{PageTitle|title=Barion API: transaction history}} {{TableOfContents}} {{api_callmethod |method=GET |uri=/v2/UserHistory/GetHistory }} The <code>/v2/UserHistory/GetHistory...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Barion API: transaction history

GET /v2/UserHistory/GetHistory

The /v2/UserHistory/GetHistory API endpoint is used to query the transaction history from the Barion system.

Input properties

The input properties should be defined in the query string.

Property name Property type Limitations and constraints Description
LastVisibleItemId Guid
  • Optional

The identifier of the most recent transaction.

LastRequestTime DateTime
  • Optional
  • Universal Time Coordinated (UTC)

The exact time of the last request.

Limit number
  • Optional
  • If not defined the default value is 20
  • If the defined value is greater than 20 the default value will be used

The expected number of transactions in the response.

Currency string
  • Optional
  • Required length: 3 characters

Accepted values:

  • "CZK" (Czech crown)
  • "EUR" (Euro)
  • "HUF" (Hungarian forint)
  • "USD" (U.S. dollar)
The currency of the payment. Must be supplied in ISO 4217 format. This affects all transactions included in the payment; it is not possible to define multiple transactions in different currencies.


Output properties

Property name Property type Description
Id
Type
HappenedAtUtc
ConcurrencyOrder
SourceAccount
TargetAccount
Amount
Currency
Description
IsInProgress