Tenant recharge

https://api.sciener.com/v3/waterMeterUser/recharge

This interface doesn't require accessToken

Tenants use the gateway to top up their accounts; if Bluetooth operation is required, please refer to the SDK for the corresponding application.

Upon successful top-up, you must actively invoke the meter-reading interface to save the latest data to the server.

1 Request example

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

2 Request parameters

NameTypeRequiredDescription
clientIdStringYAssigned client_id from created application
executeTokenStringYToken used by tenants when recharge
dateLongYCurrent time (timestamp, in milliseconds)
waterMeterIdStringYWater Meter ID
typeIntY2- Through the gateway
rechargeAmountDoubleYRecharge amount

3 Response and example

NameTypeDescription
errcodeIntError code
errmsgStringError message
descriptionStringError Description