P2P Advert Information (p2p_advert_info)

Retrieve information about a P2P advert.

Auth Scope(s): payments

p2p_advert_info(id: Optional[str] = None, subscribe: Optional[Union[bool, int]] = None, use_client_limits: Optional[int] = None, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int
Parameters:
  • id (Optional[str]) – [Optional] The unique identifier for this advert. Optional when subscribe is 1. If not provided, all advertiser adverts will be subscribed.
  • subscribe (Optional[Union[bool, int]]) – [Optional] If set to 1, will send updates when changes occur. Optional when id is provided.
  • use_client_limits (Optional[int]) – [Optional] If set to 1, the maximum order amount will be adjusted to the current balance and turnover limits of the account.
  • 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_advert_info(
    id='1234'
)