P2P Order Information (p2p_order_info)

Retrieves the information about a P2P order.

Auth Scope(s): payments

p2p_order_info(id: str, subscribe: Optional[Union[bool, int]] = None, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int
Parameters:
  • id (str) – The unique identifier for the order.
  • subscribe (Optional[Union[bool, int]]) – [Optional] If set to 1, will send updates whenever there is an update to order
  • 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_order_info(
    id='1234'
)