- A cashier wypłaca klientowi pieniądze
- PC application sends query confirmCashout to confirm end of money withdrawal
- Billon API confirm receiving request
HTTP request must be sent POST method to https://billon.io/moneykey/confirmCashout
Query confirmCashout – finalizacja wypłaty pieniędzy
Parameter | Data type | Description |
Timestamp | String | GMT time of the request in YYYYMMDDhhmmss format – for example 20171031104530. API returns error 13 in the event that Timestamp has been already used. |
Sale_Point_ID | String | ID of given punktu usługowego |
Cashier_Login | String | Given cashier’s login |
Code | String | A one-time code given by customer |
Hash | String | See a article ‘Security’ for a description of a method that calculates this value |
Odpowiedź:
Parameter | Data type | Description |
Code | String | Earlier provided one-time code |
Status | String | “OK” in the case of confirmation, “LOCKED” when code has been already temporary unblocked for another cashier or “ERROR” in the case of error |
Amount | String | Value of given one-time code. Format: 10.00 |
Currency | String | Three-letter currency code consistent with norm ISO 4217 Currency Codes (for example PLN) |
Unique_Response_ID | String | Unique serial number of response |
ERR_Code | String | Error code (the parameter is blank in the event of success) |
ERR_Description | String | Description of the error code (the parameter is blank in the event of success) |
Hash | String | See a article ‘Security’ for a description of a method that verifies correctness of this value |