FINISH_ACTIVATION - add new message
After getting the FINISH_ACTIVATION request with status 3 you can replace the number
Example
axios.post(
'https://__HUB__',
{action: "FINISH_ACTIVATION", activationId: 355, status: 2, key: "APIKEY"},
{headers: {'Content-Type': 'application/json; charset=utf-8'}}
)
Parameters
Parameter name |
Parameter |
Data type |
Description/Value |
action |
required |
TEXT |
FINISH_ACTIVATION |
activationId |
required |
INT |
Operation ID |
status |
required |
TEXT |
Completion status of the operation |
key |
required |
TEXT |
API key |
service |
required |
TEXT |
RENT |
sum |
required |
INT |
Exact amount |
Statuses
Status |
Description/Value |
1 |
This number was not get for the current service |
3 |
Successfully sold |
4 |
Canceled, message was not delivered |
Result
After successful execution of the request you will get the JSON format response like this:
{status: "SUCCESS"}
Result |
Description/Value |
status |
SUCCESS or ERROR |