from typing import Dict


def pay_invoice(self,
                currency: str,
                order_id: str) -> Dict:
    """
    Enables authenticated users to pay the invoice order
    :param currency: (required) currency name
    :param order_id: (required) invoice order ID
    :return: Dict
    """
    method = 'POST'
    api_url = '/api/v1/invoice/pay'
    path = self._host + api_url

    params = {
        "currency": currency,
        "order_id": order_id
    }

    signature = self._make_signature(method, api_url, params)

    return self._make_request(method, path, signature, params=params)