Pause sending
Changed onStop starting new deliveries (paid or running → paused, pause_reason: tenant). Deliveries already in flight finish. Pausing a paused campaign returns it unchanged; any other status is 409 conflict. The service may also pause a Stars or Premium campaign itself (pause_reason: cost_guard) when the live delivery cost moves more than 5% above the cost locked at confirm (compared in GRAM for a ton campaign, in USD for a usdt_ton one). The locked price never changes, so resuming while the cost is still that high pauses the campaign again within seconds (another campaign.paused): wait for the cost to come back down, or cancel to have the undelivered value returned.
Request
- Base URLhttps://api.mystars.tg
- AuthAPI key in header X-Api-Key
Path parameters
The campaign id (UUID, also the on-chain payment memo).
Response
The paused campaign.
Example response
{
"payment": {
"chain": "ton"
}
}Changes
- info
endpoint added
- info