P2P Advertiser Update (p2p_advertiser_update)¶
Update the information of the P2P advertiser for the current account. Can only be used by an approved P2P advertiser.
Auth Scope(s): payments
-
p2p_advertiser_update
(contact_info: Optional[str] = None, default_advert_description: Optional[str] = None, is_listed: Optional[int] = None, payment_info: Optional[str] = None, show_name: Optional[int] = None, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int¶ Parameters: - contact_info (Optional[str]) – [Optional] Advertiser’s contact information, to be used as a default for new sell adverts.
- default_advert_description (Optional[str]) – [Optional] Default description that can be used every time an advert is created.
- is_listed (Optional[int]) – [Optional] Used to set if the advertiser’s adverts could be listed. When 0, adverts won’t be listed regardless of they are active or not. This doesn’t change the is_active of each individual advert.
- payment_info (Optional[str]) – [Optional] Advertiser’s payment information, to be used as a default for new sell adverts.
- show_name (Optional[int]) – [Optional] When 1, the advertiser’s real name will be displayed on to other users on adverts and orders.
- 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_advertiser_update(
is_listed=0
)