Skip to main content
POST
Switch BW Guarantee

Switch BW Guarantee

Switches the BW Guarantee of an active or paused package on or off — once in 3 minutes per package.
  • On: the BW fee (bw_fee_per_transfer from Get Tiers) for every transfer left (remaining) is charged from the balance — the same as buying the package with the guarantee. Bandwidth reaches the address within a minute; a paused package gets it when resumed.
  • Off: what was paid for the guarantee of the transfers left (bw_fee_per_transfer of the package) is refunded to the balance, and the bandwidth is withdrawn.
Asking for the state the package already has changes nothing and moves no money (changed: false) — a retry is safe.
number
required
Package ID from List Packages

Request body

boolean
required
true — switch on, false — switch off

Response

changed, charged_trx, refunded_trx and package — the package after the call.

Errors

Example

Response