1. Home
  2. Web services
  3. One-time codes
  4. getReport


  1. PC app can download the list of cash withdrawal on the basis of used one-time codes from last x days (query getReport)
  2. Billon API returns JSON with array of the withdrawals from last x days


HTTP query must be sent POST method with parameter na address:



Query getReport
Name of the field”Data typeDescription
TimestampStringGMT time w format YYYYMMDDhhmmss – for example 20171031104530. API will return error 13 in the event that given Timestamp has been already used.
Sale_Point_IDStringID of given top-up point
DaysStringNumber of last days, for which the list of the payments must be returned. The first day is current day (since 00:00:00)



The response: Billon API sends JSON with an array of objects in response to query. Each object relates to one top-up, and attributes of the object are as follows:

ParameterData typeDescription
CodeStringOne-time code
CurrencyStringThree-letter currency code consistent with ISO 4217 Currency Codes (for example PLN)
AmountStringAmount of the withdrawal in 10.00 format
DatetimeStringDate and time of the withdrawal. Format: YYYY-MM-DD hh:mm:ss



Example JSON object returned in response to query, which was sent on 23rd December 2016 at 5:00 p.m., with parameter “Days”, which equals “2”:

    Transactions: [
            Code: "ABCDEFGH123456",
            Currency: "PLN",
            Amount: "13.50",
            Datetime: "2016-12-23 16:42:13"
            Code: "HGFEDCBA123456",
            Currency: "PLN",
            Amount: "200.00",
            Datetime: "2016-12-22 07:32:10"



Was this article helpful to you? Yes No

How can we help?