from urllib.parse import urlencode def payment_uri(validated_address, sats, label): if type(sats) is not int or not 0