CAnCEL MAIL

http://api.kopeechka.store/mailbox-cancel?id=$TASK_ID&token=$TOKEN&type=$TYPE&api=2.0

$TASK_ID - ID of the activation to which we should receive the message.

$TYPE - Specify in what form to give the answer (JSON (by default) / TEXT )

$TOKEN - Your API key from kopeechka.store

Answer:

JSON

{"status":"OK"}

TEXT

OK

Possible errors:

  • Invalid token

JSON

{"status":"ERROR","value":"BAD_TOKEN"}

TEXT

ERROR|BAD_TOKEN

  • Аactivation has already been canceled. Order again.

JSON

{"status":"ERROR","value":"ACTIVATION_CANCELED"}

TEXT

ERROR|ACTIVATION_CANCELED

  • Invalid $TASK_ID activation

JSON

{"status":"ERROR","value":"NO_ACTIVATION"}

TEXT

ERROR|NO_ACTIVATION

Have you figured it out? Rather try :)