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

Parametr Typ danych Opis
Timestamp String GMT time in YYYYMMDDhhmmss form – for example 20171031104530. If timestamp has already been used, API will return error 13.
Sale_Point_ID String Sale point ID
Cashier_Login String Cashier Login
Amount String Amount in dot notation with two digits after decimal point. Example: 25.00
Currency String Three-letter currency code from ISO 4217 Currency Codes (PLN, GBP, EUR)
Hash String The method for calculating this parameter is described on ‘Security’ page

 

 

Response: one-time code

Parameter Data type Description
Code String One-time code. Parameter is empty in case of error
Serial_No String Serial number of a one-time code
Amount String Amount in dot notation with two digits after decimal point. Example: 25.00
Expiry_Date String Expiry date. Parameter empty if there is no expiry date.
Unique_Response_ID String Unique ID of Billon API response
ERR_Code String Error code (parameter is empty in case of success)
ERR_Description String Error description (parameter is empty in case of success)
Hash String The method for verifying this paramter is decribed on ‘Security’ page

 

Was this article helpful to you? Yes No

How can we help?