3.25 Add Cash Register Amount
Connection URL
TEST URL | http://nap.dev.icash.bg/clientapi/v1/add-cash-register-amount |
( AL ) PRODUCTION URL | https://v1.icash.al/clientapi/v1/ add-cash-register-amount |
( BG ) PRODUCTION URL | https://v5.icash.bg/clientapi/v1/ add-cash-register-amount |
POST REQUEST
Param | Description | Field type | Required |
api_key | API Key | String | YES |
nonce | Nonce | Integer | YES |
signature | Signature | String | YES |
ses | Session indentificator | String | YES |
ServiceIssuedSumSum | Amount | float | YES |
ServiceIssuedSumType | Type (Credit,Balance,Debit) | Integer | YES |
CashRegisterID | Cash register ID | integer | YES |
JSON response on success
Param | Description | Field type | Required |
nonce | Nonce from request | Integer | YES |
status | Request status | Integer
1 – successful |
YES |
data | Operation ID | Integer | YES |
Example:
{ „nonce“: „1553078075“, „status“: 1, „data“: 56074 } |
JSON response on unsuccess
Param | Description | Field type | Required |
nonce | Nonce from request | Integer | YES |
status | Request status | Integer
0 – unsuccess request |
YES |
error_message | Error Description | String | YES |
Example:
{ „nonce“: „1553077168“, „status“: 0, „error_message“: „Wrong value for OperationID“ } |