> For the complete documentation index, see [llms.txt](https://docs.tradeflows.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tradeflows.io/guides/getting-started/payment-streams/pause.md).

# Pause

Full control of the payment stream

The payer can at any time pause the flow of tokens from the escrow account to the seller.

```javascript
let tokenId = toUint256WithFelts("0")

await account0.invoke(
    txEscrowContract, 
    'pause', 
    { 
        tokenId: tokenId, 
        paused: 1 
    }, 
    { maxFee: FEE}
  )
```

The key variable is here is in line 9. Pause = 1 pauses all streams linked to a trade, while Pause = 0 unpauses them.

Next we will discuss escrows.
