Generate an executeToken that can be used for top-ups.

https://api.sciener.com/v3/electricMeter/createExecuteToken

Before both gateway top-up and APP SDK Bluetooth top-up, you need to request this interface to obtain the executeToken.

Then, pass the obtained executeToken as a parameter to either the gateway top-up or the APP SDK Bluetooth top-up.

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)
electricMeterIdStringYElectricity meter ID
rechargeKwhDoubleYRecharge amount
rechargeAmountStringYRecharge amount

3 Response and example

NameTypeDescription
executeTokenStringexecuteToken