def METHOD_NAME(
    _, __, check_payment_balance_mock, staff_api_client, check_payment_balance_input
):
    # given
    check_payment_balance_input["card"]["money"]["currency"] = "ABSTRACT_CURRENCY"
    # when
    response = staff_api_client.post_graphql(
        MUTATION_CHECK_PAYMENT_BALANCE, {"input": check_payment_balance_input}
    )
    # then
    content = get_graphql_content(response)
    errors = content["data"]["paymentCheckBalance"]["errors"]
    assert len(errors) == 1
    assert errors[0]["code"] == PaymentErrorCode.NOT_SUPPORTED_GATEWAY.value.upper()
    assert errors[0]["field"] == "currency"
    assert errors[0]["message"] == (
        "The currency ABSTRACT_CURRENCY is not "
        "available for mirumee.payments.gateway."
    )
    assert check_payment_balance_mock.call_count == 0