***

title: stop
slug: /reference/python/relay/actions/pay-action/stop
description: Stop payment collection.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Stop payment collection.

## **Returns**

`dict` -- Server acknowledgment.

## **Example**

```python {20}
from signalwire.relay import RelayClient

client = RelayClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
    contexts=["default"],
)

@client.on_call
async def handle_call(call):
    await call.answer()
    action = await call.pay(
        payment_connector_url="https://example.com/payment-connector",
        charge_amount="29.99",
        currency="USD",
    )

    # Stop payment collection
    await action.stop()

client.run()
```