Payment Methods (payment_methods)

Will return a list payment methods available for the given country. If the request is authenticated the client’s residence country will be used.

payment_methods(country: Optional[str] = None, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int
Parameters:
  • country (Optional[str]) – [Optional] 2-letter country code (ISO standard).
  • 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.payment_methods(
    country='id'
)