diff --git a/cryptobot/_sync/client.py b/cryptobot/_sync/client.py index ac5e73c..581ec22 100644 --- a/cryptobot/_sync/client.py +++ b/cryptobot/_sync/client.py @@ -65,6 +65,7 @@ def create_invoice( allow_comments: bool = None, allow_anonymous: bool = None, expires_in: int = None, + swap_to: str = None, ) -> Invoice: """Create a new invoice""" data = { @@ -77,6 +78,7 @@ def create_invoice( "allow_comments": allow_comments, "allow_anonymous": allow_anonymous, "expires_in": expires_in, + "swap_to": swap_to, } # TODO: Check the minimum amount