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

checkCode

  1. Billon’s user give a one-time code w punkcie doładowań
  2. PC app sends query to Billon API about checking status of the one-time code (query checkCode)
  3. Billon API returns status of the one-time code

 

HTTP request must be sent method POST to https://billon.io/moneykey/checkCode

 

Query checkCode – query about status of the one-time code

ParametrTyp danychOpis
TimestampStringGMT time in YYYYMMDDhhmmss format – eg. 20171031104530. API will return error 13 in the event that given Timestamp has already be used.
Sale_Point_IDStringID of given punktu doładowań
Cashier_LoginStringGiven cashier’s login
CodeStringOne-time code given by the user
HashStringSee Security page for a description of a method that calculates this value

 

 

Response:

ParametrTyp danychDescription
CodeStringPodany wcześniej one-time code
StatusStringPossible statuses: “READY”, “LOCKED”, “INVALID”
AmountStringValue of given one-time code. Format: 10.00
CurrencyStringThree-letter currency code consistent with norm ISO 4217 Currency Codes (for example PLN)
Unique_Response_IDStringUnique serial number of the response
ERR_CodeStringError code (the parameter is blank in the event of success)
ERR_DescriptionStringDescription of code error (parameter is blank in the event of success)
HashStringSee ‘Security’ article for a description of method that verifies correctness of the value.
Was this article helpful to you? Yes No

How can we help?