P2P Chat Create (p2p_chat_create)

Creates a P2P chat for the specified order.

Auth Scope(s): payments

p2p_chat_create(order_id: str, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int
Parameters:
  • order_id (str) – The unique identifier for the order to create the chat for.
  • passthrough (Optional[Any]) – [Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.
  • req_id (Optional[int]) – [Optional] Used to map request to response.
Returns:

req_id

Return type:

int

Example

binary.api.p2p_chat_create(
    order_id='1234'
)