> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # PayAction > Action handle for an active payment collection operation. [call-pay]: /docs/server-sdks/reference/python/relay/call/pay [base-action-interface]: /docs/server-sdks/reference/python/relay/actions [stop]: /docs/server-sdks/reference/python/relay/actions/pay-action/stop Returned from [`call.pay()`][call-pay]. Tracks an active payment collection operation. Terminal states: `finished`, `error`. Inherits all properties and methods from the [base Action interface][base-action-interface] (`control_id`, `is_done`, `completed`, `result`, `wait()`). ## **Properties** No additional properties beyond the [base Action interface][base-action-interface]. ## **Methods** #### [stop](/docs/server-sdks/reference/python/relay/actions/pay-action/stop) Stop payment collection. ## **Example** ```python from signalwire.relay import RelayClient client = RelayClient( project="your-project-id", token="your-api-token", 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", ) event = await action.wait() print(f"Payment state: {event.params.get('state')}") client.run() ``` > Action handle for an active payment collection operation. ## Docs - [stop](https://signalwire.com/docs/server-sdks/reference/python/relay/actions/pay-action/stop.md): Stop payment collection.