Set payment mode

https://api.sciener.com/v3/waterMeter/updatePayMode

To set up a paid mode using the gateway, if Bluetooth operation is required, please refer to the corresponding APP's SDK.

1 Request example

POST, ContentType:application/x-www-form-urlencoded

2 Request parameters

NameTypeRequiredDescription
clientIdStringYAssigned client_id from created application
accessTokenStringYAccess token, obtain by calling get access token API
dateLongYCurrent time (timestamp, in milliseconds)
waterMeterIdStringYWater Meter ID
payModeIntY0 - Energy Metering 1 - Prepaid
priceDoubleNUnit price, required under prepaid model

3 Response and example

NameTypeDescription
errcodeIntError code
errmsgStringError message
descriptionStringError Description