Prepare Payment

Store Device Update

post/api/v1/prepayment/storedeviceupdate

Request body

application_keystring required

It is the key of your application on our environment

store_codestring required

Store Code

device_idinteger required

Physical POS Device unique id

is_activeboolean required

Is Physical POS Device Active

languagestring

The language which you want to see the response description

Example request

{
  "application_key": "6e3cdaa3-65df-4eff-aed2-9d74387701dd",
  "store_code": "M0001",
  "device_id": 5,
  "language": "tr"
}

Response

Successful Response

response_codestring

You will get 00 for successful response, otherwise another response code for the error. You can reach the list of error codes on the Error Codes Api

messagestring

Here is the explanation of response code

Example response

{
  "response_code": "00",
  "message": "Successful",
  "device": {
    "id": 5,
    "fiscal_id": "FT30022014",
    "name": "Caddebostan - 2",
    "is_active": true,
    "device_owner": "Pavo"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.