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

pinondemand

  1. Billon user states the amount of digital cash to be purchases
  2. Billon user pays for a one-time codes
  3. PC applications send request to Billon API
  4. Billon API responds with a one-time code or an error code
  5. PC application prints out a receipt with the one-time code. The cashier hands it to the Billon user.
  6. Billon user uses the code to buy digital cash.

 

In the test environment, every cashier password is being set to 12345678.

The HTTP request should be sent via the POST method to https://billon.io/request/moneykey/pinondemand

 

Request pinondemand – one-time code request

ParametrTyp danychOpis
TimestampStringGMT time in YYYYMMDDhhmmss form – for example 20171031104530. If timestamp has already been used, API will return error 13.
Sale_Point_IDStringSale point ID
Cashier_LoginStringCashier Login
AmountStringAmount in dot notation with two digits after decimal point. Example: 25.00
CurrencyStringThree-letter currency code from ISO 4217 Currency Codes (PLN, GBP, EUR)
HashStringThe method for calculating this parameter is described on ‘Security’ page

 

 

Response: one-time code

ParameterData typeDescription
CodeStringOne-time code. Parameter is empty in case of error
Serial_NoStringSerial number of a one-time code
AmountStringAmount in dot notation with two digits after decimal point. Example: 25.00
Expiry_DateStringExpiry date. Parameter empty if there is no expiry date.
Unique_Response_IDStringUnique ID of Billon API response
ERR_CodeStringError code (parameter is empty in case of success)
ERR_DescriptionStringError description (parameter is empty in case of success)
HashStringThe method for verifying this paramter is decribed on ‘Security’ page

 

Was this article helpful to you? Yes No

How can we help?