P2P Ping (p2p_ping)¶
Keeps the connection alive and updates the P2P advertiser’s online status. The advertiser will be considered offline 60 seconds after a call is made.
Auth Scope(s): payments
-
p2p_ping
(passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int¶ Parameters: - 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